Pretty Notebook package
Version 0.12.0 requires Python 3.14+. See the dependency migration for the upstream package changes.
Pretty Notebook is a Python library and command-line interface for interconnected Markdown notebooks. A notebook is an existing directory of Markdown files; a note is one source file. Wiki links, tags, code blocks and URLs have explicit models, while ordinary Markdown remains the authoritative content.
Choose a version
The 0.12 release is pretty-notebook==0.12.0 on Python 3.14 or newer.
It supplies canonical pretty_notebook imports, compatible pnbp imports,
and the pnbp executable.
python -m pip uninstall pnbp
python -m pip install pretty-notebook==0.12.0
pnbp --help
Uninstall the old distribution before installing the release to preserve the
compatibility modules. See package migration and
0.12 release notes. The historical package is
pnbp==0.9.0; its versioned release notes retain that contract.
For source development, install the checkout with
python -m pip install --editable ..
First notebook and existing notebooks
Follow the notebook workflow tutorial for a temporary notebook, initialization, pending edits, checked renames, search and navigation. Its local examples are executed by the documentation build.
from pretty_notebook import Notebook
nb = Notebook.open("~/notes", settings={"NOTE_NESTED": "recurs"})
note = nb.get("guides/overview", fuzzy=False)
The path must already exist. Opening reads files without prompting or creating
configuration. Initialize deliberately with pnbp init PATH; see the canonical
settings and profile guide for precedence, migration and credentials.
Notebook() continues to use NOTE_PATH for existing environment-based setups.
Continue by topic
- Note commands and pending edits: add/edit, empty bodies, saves and recovery drafts.
- Models and methods and generated API reference: public imports and signatures.
- Local search, navigation and links: read-only projections and explicit traversal.
- Stable identities and publication routes: identity, source paths and URLs remain separate.
- Checked publishing: dry-run plans, ETags, retries and explicit pruning.
- Web deployment: separate application, bootstrap, durable state and the supported local-host worker profile.
The macOS URL handlers are unsupported. The FastAPI app and its
optional dependencies are absent from the canonical wheel; pnbp is metadata only.
Metadata
Release files for pretty-notebook 0.12.0
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 |
|---|---|---|---|---|
| pretty_notebook-0.12.0.tar.gz | 188.4 kB | With provenance | Details for pretty_notebook-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pretty_notebook-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for pretty_notebook-0.12.0-py3-none-any.whl |
Total release size: 329.9 kB
Release files / pretty_notebook-0.12.0.tar.gz
| Download URL | pretty_notebook-0.12.0.tar.gz |
|---|---|
| Size | 188.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf102af413dc3208d9bd36731b97c5d531adc849170aca2535799027afae8bf2
|
|
BLAKE2b-256 checksum How to use checksums |
6f3e8c938af47bcbae1502d929adcb6531474a1762b92e023a78f9604d373149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 17, 2026.
Transparency logRelease files / pretty_notebook-0.12.0-py3-none-any.whl
| Download URL | pretty_notebook-0.12.0-py3-none-any.whl |
|---|---|
| Size | 141.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a33ababe815be6b3f826de36408e7517c62dbde48a73179fa2ac4dbda8be1f12
|
|
BLAKE2b-256 checksum How to use checksums |
6288f1c035e15047e64fa8cccc8fe86c01e08ffe7eb168eca4e0e9e56b031d2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 17, 2026.
Transparency logSecurity for pretty-notebook 0.12.0
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 pretty_notebook-0.12.0.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 Nov 17, 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.