afterpython 0.3.12__tar.gz → 0.3.13__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.12 → afterpython-0.3.13}/PKG-INFO +1 -1
- {afterpython-0.3.12 → afterpython-0.3.13}/pyproject.toml +1 -1
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/myst.py +0 -28
- {afterpython-0.3.12 → afterpython-0.3.13}/README.md +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/__init__.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/_io/toml.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/_io/yaml.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/_paths.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/_typing.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/__init__.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/build_pdoc.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/content_json.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/faq_json.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/index_md.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/jupyter_notebook.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/llms_txt.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/marimo_notebook.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/markdown.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/metadata.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/builders/url_md.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/__init__.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/add.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/build.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/bump.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/check.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/clean.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/commit.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/commitizen.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/dev.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/format.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/init.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/init_branch_rules.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/install.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/lock.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/pre_commit.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/preview.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/release.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/remove.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/serve.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/start.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/sync.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/commands/update.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/cli/main.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/const.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/main.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/pcu.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/py.typed +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/ci-workflow-template.yml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/cz-template.toml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/dependabot-template.yml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/deploy-workflow-template.yml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/pdoc/frame.html.jinja2 +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/pre-commit-config-template.yaml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/release-workflow-template.yml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/ruff-template.toml +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/_afterpython.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/_git.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/branch_rules.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/commitizen.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/github_actions.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/pre_commit.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/tools/pyproject.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/utils.py +0 -0
- {afterpython-0.3.12 → afterpython-0.3.13}/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.13
|
|
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
|
|
@@ -152,33 +152,6 @@ def _write_index_file(content_type: tContentType):
|
|
|
152
152
|
return index_file
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
def _write_welcome_file(content_type: tContentType):
|
|
156
|
-
welcome_file = ap.paths.afterpython_path / content_type / "index.md"
|
|
157
|
-
if welcome_file.exists():
|
|
158
|
-
return
|
|
159
|
-
welcome_content = f"""# Welcome to AfterPython
|
|
160
|
-
|
|
161
|
-
Welcome to your project's {content_type}! This is a starter page to help you get started.
|
|
162
|
-
|
|
163
|
-
## Getting Started
|
|
164
|
-
|
|
165
|
-
Replace this placeholder content with your own. Here's what you can do:
|
|
166
|
-
|
|
167
|
-
- Creating new `.md` or `.ipynb` files in the `afterpython/{content_type}/` directory
|
|
168
|
-
- Writing in MyST Markdown format
|
|
169
|
-
- Adding images to the `afterpython/static/` directory and referencing them
|
|
170
|
-
|
|
171
|
-
## Resources
|
|
172
|
-
|
|
173
|
-
- [AfterPython's Project Website](https://afterpython.afterpython.org)
|
|
174
|
-
- [MyST Markdown Guide](https://mystmd.org)
|
|
175
|
-
|
|
176
|
-
Start building your amazing project! 🚀
|
|
177
|
-
"""
|
|
178
|
-
welcome_file.write_text(welcome_content)
|
|
179
|
-
return welcome_file
|
|
180
|
-
|
|
181
|
-
|
|
182
155
|
def ensure_pnpm_11(node_env: NodeEnv) -> None:
|
|
183
156
|
"""Ensure pnpm 11.x is available on `node_env`'s PATH. No-op if already satisfied.
|
|
184
157
|
|
|
@@ -268,5 +241,4 @@ def init_myst():
|
|
|
268
241
|
},
|
|
269
242
|
}
|
|
270
243
|
update_myst_yml(myst_yml_defaults, path, add_comments=True)
|
|
271
|
-
_write_welcome_file(content_type)
|
|
272
244
|
subprocess.run(["ap", "sync"])
|
|
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
|
|
File without changes
|
{afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/ci-workflow-template.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/deploy-workflow-template.yml
RENAMED
|
File without changes
|
|
File without changes
|
{afterpython-0.3.12 → afterpython-0.3.13}/src/afterpython/templates/pre-commit-config-template.yaml
RENAMED
|
File without changes
|
{afterpython-0.3.12 → afterpython-0.3.13}/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
|