tidypress (Python)
Optional Python companion for TidyPress.
A publishing framework for Git-native authorship.
The Python package provides native notebook conversion and source extraction. It is not a second site renderer or a replacement for the npm package. Rendering uses the Node.js CLI and Astro engine; Node.js 22.12 or newer is required for site commands.
Install
pip install tidypress
That is sufficient for convert and extract-docs. To run site commands from
the Python entrypoint, install the Node CLI separately in the project or globally:
npm install tidypress
# or: npm install --global tidypress
For site commands, the wrapper resolves the Node CLI in this order:
TIDYPRESS_CLI_JS- local
node_modules/tidypress tidypressonPATH
It does not download or invoke packages through npx by default.
Site commands
These commands are delegated to the Node CLI — same surface as npx tidypress:
tidypress init [--preset lab|blog|persona|docs-writing|body-of-work|body-of-work-docs|custom]
tidypress dev
tidypress build
tidypress preview
tidypress clean
tidypress deploy
tidypress import devto <url-or-slug> # real fetch; other providers write scaffolds
tidypress doctor
tidypress migrate-sections
tidypress add-version <label>
tidypress domain setup [domain] --platform <platform>
tidypress release-check
Every tidypress build writes build/llms.txt.
Experimental Node commands (editor, export, ai) are also forwarded when enabled in config.
Python-native commands
convert turns a notebook into MDX:
tidypress convert analysis.ipynb --output site/src/content/docs/analysis.mdx
It preserves frontmatter, markdown cells, code cells, text output, and PNG image outputs.
extract-docs writes simple API notes from source comments:
tidypress extract-docs src/ --lang py
tidypress extract-docs src/ --lang ts
tidypress extract-docs src/ --lang go
Help and init presets
tidypress --help
tidypress init --help
The Python wrapper prints init preset summaries (lab, blog, persona,
docs-writing, body-of-work, body-of-work-docs, and custom) from the same
metadata as @tidypress/config. default aliases lab.
Streaming build and deploy
build and deploy use an async subprocess with live stdout/stderr. Pass --sync to use the blocking path instead.
YAML bridge
tidypress.yaml is validated against the shared JSON Schema shipped with @tidypress/config (bundled in this package under tidypress/schemas/).
The wrapper supports reading tidypress.yaml / tidypress.yml and bridging command-scoped args from:
python:
convert:
input_path: analysis.ipynb
output_path: site/src/content/docs/analysis.mdx
watch: true
Use an explicit config when needed:
tidypress convert --config ./tidypress.yaml
Full docs: https://tidypress.pages.dev/docs/python
Metadata
Release files for tidypress 1.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tidypress-1.0.19.tar.gz | 20.4 kB | With provenance | Details for tidypress-1.0.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tidypress-1.0.19-py3-none-any.whl | Python 3 | none | any | Details for tidypress-1.0.19-py3-none-any.whl |
Total release size: 37.7 kB
Release files / tidypress-1.0.19.tar.gz
| Download URL | tidypress-1.0.19.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4c7e426a554d48458a874bdc78bfe9934c23de126c680bf78b98aaa2e87b1d3
|
|
BLAKE2b-256 checksum How to use checksums |
656ebec50fa87e3d869c1dcad319597708b97460b8690b2f103ced00fea34739
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logRelease files / tidypress-1.0.19-py3-none-any.whl
| Download URL | tidypress-1.0.19-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbf26c37efbc987d19a0773d1e75f19e9223848c9ffa197102171fa7828a94d2
|
|
BLAKE2b-256 checksum How to use checksums |
509ca9777b37470e4388411be1ee9992ae2e109491c96112d679e945c1b53043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logSecurity for tidypress 1.0.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tidypress-1.0.19.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.