python-substack 0.3.0__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_substack-0.3.0.dist-info → python_substack-0.5.0.dist-info}/METADATA +3 -2
- python_substack-0.5.0.dist-info/RECORD +13 -0
- substack/__init__.py +13 -13
- substack/api.py +835 -792
- substack/cli.py +7 -1
- substack/exceptions.py +44 -32
- substack_mcp/mcp_server.py +137 -44
- python_substack-0.3.0.dist-info/RECORD +0 -13
- {python_substack-0.3.0.dist-info → python_substack-0.5.0.dist-info}/WHEEL +0 -0
- {python_substack-0.3.0.dist-info → python_substack-0.5.0.dist-info}/entry_points.txt +0 -0
- {python_substack-0.3.0.dist-info → python_substack-0.5.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-substack
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -23,7 +23,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
23
23
|
Provides-Extra: mcp
|
|
24
24
|
Requires-Dist: PyYAML (>=6.0,<7.0)
|
|
25
25
|
Requires-Dist: fastmcp (>=3.1.1,<4.0.0) ; extra == "mcp"
|
|
26
|
-
Requires-Dist: markdown-it-py (>=3
|
|
26
|
+
Requires-Dist: markdown-it-py (>=3,<5)
|
|
27
27
|
Requires-Dist: mdit-py-plugins (>=0.5,<0.7)
|
|
28
28
|
Requires-Dist: python-dotenv (>=1.2.1,<2.0.0)
|
|
29
29
|
Requires-Dist: requests (>=2.32.0,<3.0.0)
|
|
@@ -263,6 +263,7 @@ See [MCP server](docs/mcp.md) for the tool list and safety notes.
|
|
|
263
263
|
- [Low-level Python API](docs/low-level-api.md)
|
|
264
264
|
- [YAML drafts](docs/yaml.md)
|
|
265
265
|
- [MCP server](docs/mcp.md)
|
|
266
|
+
- [Gemini CLI with Vertex AI](docs/gemini-vertex-ai.md)
|
|
266
267
|
- [Safety and publishing behavior](docs/safety.md)
|
|
267
268
|
- [Troubleshooting](docs/troubleshooting.md)
|
|
268
269
|
- [Compatibility policy](docs/compatibility.md)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
substack/__init__.py,sha256=Oxk42oZ21mPiUksl55Jvn5vafvZnZXImKFWsRJRUyX0,450
|
|
2
|
+
substack/api.py,sha256=PCYcawxzWuM3fcNeNPm1G2eXGc22gv0AbEf1AamebH4,25695
|
|
3
|
+
substack/cli.py,sha256=OInYh7-yT-KFWlQxWIkKnbWMlyqoj-UxsMOtrll3NYs,21922
|
|
4
|
+
substack/exceptions.py,sha256=Y61XSPyxDxXPbVlioFvKhb94MRY0tpD389F5YdL1rGM,1390
|
|
5
|
+
substack/mdrender.py,sha256=QGJkdp1isFmhVyTRMogIabAK8OO2xQh9CrjnXZvFTY4,9308
|
|
6
|
+
substack/nodes.py,sha256=fTsGO0-lTztcXiloIjXrHVnJes9EcltGcrX-mEV2ceQ,5004
|
|
7
|
+
substack/post.py,sha256=qDXu-xzO3nRXtahc-yG2EhxKAXB2hG_Z1nLa55UMBGg,19697
|
|
8
|
+
substack_mcp/mcp_server.py,sha256=3VTSSsiAmr4btImWpfoEl7irpTgqI-FH4q5r9r3u3w8,10949
|
|
9
|
+
python_substack-0.5.0.dist-info/METADATA,sha256=7aOwGDGY64ph9ss1SnlXgMoxijkYpbOIZPFq1PORt2c,8401
|
|
10
|
+
python_substack-0.5.0.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
11
|
+
python_substack-0.5.0.dist-info/entry_points.txt,sha256=MKPjaBUd-0PtvxsBviStsVq1c0h8JZ_qUoYEsBK1xJc,236
|
|
12
|
+
python_substack-0.5.0.dist-info/licenses/LICENSE,sha256=L6jk148I5HhhVbfUvkO3EO7eAoU5zToLio4-ApkCkxg,1062
|
|
13
|
+
python_substack-0.5.0.dist-info/RECORD,,
|
substack/__init__.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"""A library that provides a Python interface to the Substack API."""
|
|
2
|
-
|
|
3
|
-
__author__ = "Paolo Mazza"
|
|
4
|
-
__email__ = "mazzapaolo2019@gmail.com"
|
|
5
|
-
__license__ = "MIT License"
|
|
6
|
-
__version__ = "0.
|
|
7
|
-
__url__ = "https://github.com/ma2za/python-substack"
|
|
8
|
-
__download_url__ = "https://pypi.python.org/pypi/python-substack"
|
|
9
|
-
__description__ = (
|
|
10
|
-
"Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP."
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
from .api import Api
|
|
1
|
+
"""A library that provides a Python interface to the Substack API."""
|
|
2
|
+
|
|
3
|
+
__author__ = "Paolo Mazza"
|
|
4
|
+
__email__ = "mazzapaolo2019@gmail.com"
|
|
5
|
+
__license__ = "MIT License"
|
|
6
|
+
__version__ = "0.5.0"
|
|
7
|
+
__url__ = "https://github.com/ma2za/python-substack"
|
|
8
|
+
__download_url__ = "https://pypi.python.org/pypi/python-substack"
|
|
9
|
+
__description__ = (
|
|
10
|
+
"Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP."
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
from .api import Api
|