|
1 | | -[tool.poetry] |
2 | | -name = "python-substack" |
3 | | -version = "0.4.0" |
4 | | -description = "Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP." |
5 | | -authors = ["Paolo Mazza <mazzapaolo2019@gmail.com>"] |
6 | | -license = "MIT" |
7 | | -packages = [ |
8 | | - { include = "substack" }, |
9 | | - { include = "substack_mcp" } |
10 | | -] |
11 | | - |
12 | | -readme = "README.md" |
13 | | - |
14 | | -repository = "https://github.com/ma2za/python-substack" |
15 | | -homepage = "https://github.com/ma2za/python-substack" |
16 | | - |
17 | | -keywords = ["substack", "substack-api", "cli", "newsletter", "publishing", "automation", "mcp"] |
18 | | -classifiers = [ |
19 | | - "Development Status :: 4 - Beta", |
20 | | - "Intended Audience :: Developers", |
21 | | - "Programming Language :: Python :: 3", |
22 | | - "Programming Language :: Python :: 3.10", |
23 | | - "Programming Language :: Python :: 3.11", |
24 | | - "Programming Language :: Python :: 3.12", |
25 | | - "Programming Language :: Python :: 3.13", |
26 | | - "Topic :: Communications :: Email", |
27 | | - "Topic :: Internet :: WWW/HTTP", |
28 | | - "Topic :: Software Development :: Libraries :: Python Modules" |
29 | | -] |
30 | | - |
31 | | -[tool.poetry.urls] |
32 | | -"Documentation" = "https://ma2za.github.io/python-substack/" |
33 | | -"Changelog" = "https://github.com/ma2za/python-substack/blob/main/CHANGELOG.md" |
34 | | -"Issues" = "https://github.com/ma2za/python-substack/issues" |
35 | | - |
36 | | -[tool.poetry.dependencies] |
37 | | -python = "<4.0,>=3.10" |
38 | | - |
39 | | -requests = "^2.32.0" |
40 | | -python-dotenv = "^1.2.1" |
41 | | -PyYAML = "^6.0" |
42 | | -markdown-it-py = ">=3,<5" |
43 | | -mdit-py-plugins = ">=0.5,<0.7" |
44 | | -fastmcp = { version = "^3.1.1", optional = true } |
45 | | - |
46 | | -[tool.poetry.extras] |
47 | | -mcp = ["fastmcp"] |
48 | | - |
49 | | -[tool.poetry.group.dev.dependencies] |
50 | | -pytest = "^9.1.1" |
51 | | -pre-commit = "^4.6.1" |
52 | | - |
53 | | -[tool.pytest.ini_options] |
54 | | -markers = [ |
55 | | - "live: opt-in tests that call the live Substack service", |
56 | | -] |
57 | | - |
58 | | -[tool.poetry.scripts] |
59 | | -substack = "substack.cli:main" |
60 | | -substack-auth-check = "substack.cli:auth_check" |
61 | | -substack-publish-markdown = "substack.cli:publish_markdown" |
62 | | -substack-publish-yaml = "substack.cli:publish_yaml" |
63 | | -substack-mcp = "substack_mcp.mcp_server:main" |
64 | | - |
65 | | -[build-system] |
66 | | -requires = ["poetry-core>=1.0.0"] |
67 | | -build-backend = "poetry.core.masonry.api" |
| 1 | +[tool.poetry] |
| 2 | +name = "python-substack" |
| 3 | +version = "0.5.0" |
| 4 | +description = "Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP." |
| 5 | +authors = ["Paolo Mazza <mazzapaolo2019@gmail.com>"] |
| 6 | +license = "MIT" |
| 7 | +packages = [ |
| 8 | + { include = "substack" }, |
| 9 | + { include = "substack_mcp" } |
| 10 | +] |
| 11 | + |
| 12 | +readme = "README.md" |
| 13 | + |
| 14 | +repository = "https://github.com/ma2za/python-substack" |
| 15 | +homepage = "https://github.com/ma2za/python-substack" |
| 16 | + |
| 17 | +keywords = ["substack", "substack-api", "cli", "newsletter", "publishing", "automation", "mcp"] |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 4 - Beta", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Programming Language :: Python :: 3.10", |
| 23 | + "Programming Language :: Python :: 3.11", |
| 24 | + "Programming Language :: Python :: 3.12", |
| 25 | + "Programming Language :: Python :: 3.13", |
| 26 | + "Topic :: Communications :: Email", |
| 27 | + "Topic :: Internet :: WWW/HTTP", |
| 28 | + "Topic :: Software Development :: Libraries :: Python Modules" |
| 29 | +] |
| 30 | + |
| 31 | +[tool.poetry.urls] |
| 32 | +"Documentation" = "https://ma2za.github.io/python-substack/" |
| 33 | +"Changelog" = "https://github.com/ma2za/python-substack/blob/main/CHANGELOG.md" |
| 34 | +"Issues" = "https://github.com/ma2za/python-substack/issues" |
| 35 | + |
| 36 | +[tool.poetry.dependencies] |
| 37 | +python = "<4.0,>=3.10" |
| 38 | + |
| 39 | +requests = "^2.32.0" |
| 40 | +python-dotenv = "^1.2.1" |
| 41 | +PyYAML = "^6.0" |
| 42 | +markdown-it-py = ">=3,<5" |
| 43 | +mdit-py-plugins = ">=0.5,<0.7" |
| 44 | +fastmcp = { version = "^3.1.1", optional = true } |
| 45 | + |
| 46 | +[tool.poetry.extras] |
| 47 | +mcp = ["fastmcp"] |
| 48 | + |
| 49 | +[tool.poetry.group.dev.dependencies] |
| 50 | +pytest = "^9.1.1" |
| 51 | +pre-commit = "^4.6.1" |
| 52 | + |
| 53 | +[tool.pytest.ini_options] |
| 54 | +markers = [ |
| 55 | + "live: opt-in tests that call the live Substack service", |
| 56 | +] |
| 57 | + |
| 58 | +[tool.poetry.scripts] |
| 59 | +substack = "substack.cli:main" |
| 60 | +substack-auth-check = "substack.cli:auth_check" |
| 61 | +substack-publish-markdown = "substack.cli:publish_markdown" |
| 62 | +substack-publish-yaml = "substack.cli:publish_yaml" |
| 63 | +substack-mcp = "substack_mcp.mcp_server:main" |
| 64 | + |
| 65 | +[build-system] |
| 66 | +requires = ["poetry-core>=1.0.0"] |
| 67 | +build-backend = "poetry.core.masonry.api" |
0 commit comments