afterpython 0.3.18__tar.gz → 0.3.19__tar.gz
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.
- {afterpython-0.3.18 → afterpython-0.3.19}/PKG-INFO +1 -1
- afterpython-0.3.19/pyproject.toml +72 -0
- afterpython-0.3.18/pyproject.toml → afterpython-0.3.19/pyproject.toml.orig +1 -1
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/pcu.py +5 -4
- {afterpython-0.3.18 → afterpython-0.3.19}/README.md +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/__init__.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/_io/toml.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/_io/yaml.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/_paths.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/_typing.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/__init__.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/build_pdoc.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/content_json.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/faq_json.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/index_md.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/jupyter_notebook.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/llms_txt.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/marimo_notebook.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/markdown.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/metadata.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/builders/url_md.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/__init__.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/add.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/build.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/bump.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/check.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/clean.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/commit.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/commitizen.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/dev.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/format.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/init.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/init_branch_rules.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/install.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/lock.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/pre_commit.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/preview.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/release.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/remove.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/serve.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/start.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/sync.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/commands/update.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/cli/main.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/const.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/main.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/py.typed +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/ci-workflow-template.yml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/cz-template.toml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/dependabot-template.yml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/deploy-workflow-template.yml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/pdoc/frame.html.jinja2 +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/pre-commit-config-template.yaml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/release-workflow-template.yml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/ruff-template.toml +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/_afterpython.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/_git.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/branch_rules.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/commitizen.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/github_actions.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/myst.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/pre_commit.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/tools/pyproject.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/utils.py +0 -0
- {afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: afterpython
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.19
|
|
4
4
|
Summary: CLI tool to streamline Python package maintenance and generate a dedicated project website
|
|
5
5
|
Keywords: package-maintenance,project-website,static-site-generator,developer-tools,documentation,cli-tool,ci/cd,mystmd,semantic-release,python-packaging
|
|
6
6
|
Author: Stephen Yau
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "afterpython"
|
|
3
|
+
version = "0.3.19"
|
|
4
|
+
description = "CLI tool to streamline Python package maintenance and generate a dedicated project website"
|
|
5
|
+
license = "Apache-2.0"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
keywords = [
|
|
8
|
+
"package-maintenance",
|
|
9
|
+
"project-website",
|
|
10
|
+
"static-site-generator",
|
|
11
|
+
"developer-tools",
|
|
12
|
+
"documentation",
|
|
13
|
+
"cli-tool",
|
|
14
|
+
"ci/cd",
|
|
15
|
+
"mystmd",
|
|
16
|
+
"semantic-release",
|
|
17
|
+
"python-packaging",
|
|
18
|
+
]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Topic :: Software Development :: Build Tools",
|
|
23
|
+
"Topic :: Software Development :: Documentation",
|
|
24
|
+
"Typing :: Typed",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Programming Language :: Python :: 3.13",
|
|
28
|
+
]
|
|
29
|
+
requires-python = ">=3.11"
|
|
30
|
+
dependencies = [
|
|
31
|
+
"click>=8.1.8",
|
|
32
|
+
"trogon>=0.6.0",
|
|
33
|
+
"httpx2>=2.5.0",
|
|
34
|
+
"tomlkit>=0.15.0",
|
|
35
|
+
"ruamel-yaml>=0.19.1",
|
|
36
|
+
"gitpython>=3.1.50",
|
|
37
|
+
"python-dotenv>=1.2.2",
|
|
38
|
+
"pyproject-metadata>=0.11.0",
|
|
39
|
+
"jupytext>=1.19.4",
|
|
40
|
+
"mystmd>=1.10.1",
|
|
41
|
+
"pdoc>=16.0.0",
|
|
42
|
+
"ruff>=0.15.21",
|
|
43
|
+
"pre-commit>=4.6.0",
|
|
44
|
+
"commitizen>=4.16.4",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[[project.authors]]
|
|
48
|
+
name = "Stephen Yau"
|
|
49
|
+
email = "softwareentrepreneer+afterpython@gmail.com"
|
|
50
|
+
|
|
51
|
+
[project.urls]
|
|
52
|
+
homepage = "https://afterpython.afterpython.org"
|
|
53
|
+
repository = "https://github.com/AfterPythonOrg/afterpython"
|
|
54
|
+
documentation = "https://afterpython.afterpython.org/doc"
|
|
55
|
+
|
|
56
|
+
[project.scripts]
|
|
57
|
+
ap = "afterpython.main:run_cli"
|
|
58
|
+
pcu = "afterpython.main:run_pcu"
|
|
59
|
+
|
|
60
|
+
[build-system]
|
|
61
|
+
requires = ["uv_build>=0.11.28,<0.12.0"]
|
|
62
|
+
build-backend = "uv_build"
|
|
63
|
+
|
|
64
|
+
[tool.uv]
|
|
65
|
+
exclude-newer = "14 days"
|
|
66
|
+
|
|
67
|
+
[tool.uv.build-backend]
|
|
68
|
+
module-name = "afterpython"
|
|
69
|
+
module-root = "src"
|
|
70
|
+
|
|
71
|
+
[tool.pyright]
|
|
72
|
+
typeCheckingMode = "basic"
|
|
@@ -157,10 +157,11 @@ def update_dependencies(dependencies: Dependencies):
|
|
|
157
157
|
and latest_ver
|
|
158
158
|
and min_ver in package
|
|
159
159
|
):
|
|
160
|
-
doc_deps[i] = package
|
|
160
|
+
doc_deps[i] = package
|
|
161
|
+
# Update this first because latest_ver may equal max_ver.
|
|
161
162
|
if max_ver and dep.latest_version not in req.specifier:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
next_max_ver = str(dep.latest_version.next_breaking())
|
|
164
|
+
doc_deps[i] = doc_deps[i].replace(max_ver, next_max_ver, 1)
|
|
165
|
+
doc_deps[i] = doc_deps[i].replace(min_ver, latest_ver, 1)
|
|
165
166
|
|
|
166
167
|
write_pyproject(doc)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/ci-workflow-template.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/deploy-workflow-template.yml
RENAMED
|
File without changes
|
|
File without changes
|
{afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/pre-commit-config-template.yaml
RENAMED
|
File without changes
|
{afterpython-0.3.18 → afterpython-0.3.19}/src/afterpython/templates/release-workflow-template.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|