vhrd_zensical
Zensical book kit: code cards, glossary, abbreviations, lexers, build stamp, frame check.
One Python package, vhrd-zensical, carries the Markdown extensions and lexers and the vz command, built from the same Rust workspace. A book pins one version of the kit and gets all of them at that version.
Use in a book
A release publishes prebuilt wheels to PyPI and the GitHub release (CPython 3.12+; Linux x86_64 and aarch64, glibc and musl; macOS x86_64 and arm64 in one universal2 wheel; Windows x86_64). A book pins the wheel, needs no Rust toolchain, and gets the Zensical release the kit is tested against with the zensical extra:
kit := "vhrd-zensical[zensical]==0.1.0"
book:
uv run --with "{{ kit }}" vz --version
The same pin works in a book's pyproject.toml: dependencies = ["vhrd-zensical[zensical]==0.1.0"].
An unreleased commit still installs from git; the first uv run of a new commit builds the Rust part (about 1-2 minutes; needs a Rust toolchain), then uv caches it:
kit := "vhrd-zensical @ git+https://github.com/vhrdtech/vhrd_zensical@<sha>"
Status of each part: FEATURES.md.
Pages copied from other repositories
A book that copies pages from other repositories' checkouts gets their code links resolved against those repositories. Its assembler writes a sources file at every build (not kept in git), and the code link extension names it:
[project.markdown_extensions]
"vhrd_zensical.code_refs" = { crates = ["wire_weaver"], sources = "target/vz/sources.toml" }
format = 1
[[source]]
name = "ww_stdlib" # unique
root = "/home/u/.cache/ww_book/ww_stdlib" # the checkout: git root and cargo workspace root; absolute or relative to the project root
repository = "https://github.com/vhrdtech/ww_stdlib"
commit = "0123456789abcdef0123456789abcdef01234567" # full hash checked out at root
crates = ["ww_logic_analyzer"] # library names; empty or left out: every library
on_crates_io = ["ww_logic_analyzer"] # package names: their cards link to docs.rs
pages = ["std_library/ww_logic_analyzer.md"] # the copies, relative to the docs folder
vz refs(andvz prep) indexes each source's workspace at its commit, beside the book's own, into the one code index.- A link on a copied page resolves against its source's crates and files first, then the book's own; its card links the source's repository at that commit.
- A name found in neither fails the build and names both places:
[`Gone`]: no public item of ww_stdlib's or the book's crates has this name. - An index written before the sources file changed fails until
vz prepruns again; a listed page missing from the docs folder failsvz refs. - The format's reference:
vz_core::sources; its snapshotvz_core/tests/fixtures/sources/ok.toml. Readers ignore keys they do not know.
The book's frame
vz check checks a book's nav and pages against book_checks.toml at the project root:
outside = ["Reference", "Articles"] # top-level nav sections after the ramp; their pages may have any level
[[part]] # the reading ramp, in nav order
title = "Basic" # a top-level nav section
level = "basic" # the level of every page in it: basic, advanced or nomicon
[bare_fences] # pages still holding bare `rust` fences, under the docs folder
"guide/old.md" = 3 # how many it may hold; the count may only go down
It fails:
- a ramp that steps down a level when the reader clicks next, or a page in a part of another level;
- a top-level section that is neither a part nor a shelf in
outside, or a part after a shelf; - a page without
level:in its front matter, a page listed twice, a page not in the docs folder; - a
rustfence that is not an include of a compiled source (--8<-- "path:section"), beyond the page's waived count; a Nomicon page may also show a sketch, markedtitle="sketch: ..."; - a waived count higher than the page's bare fences, so counts only go down; a copied page (one the sources file lists) may hold fewer;
- a file under
<docs>/generated/that no page includes.
Pages are read from the docs folder: a book that copies pages assembles them before vz check. The format's reference: vz_core::frame.
Layout
| Crate | What |
|---|---|
vz_core |
the book formats: types and parsers, no I/O |
vz_refs |
the code index and the code cards' assets |
vz_stamp |
the footer build stamp |
vz_cli |
the vz command |
vz_py |
the extension module vhrd_zensical._vz and the Python package (vz_py/python/vhrd_zensical) |
Licence
Either of LICENSE-MIT or LICENSE-APACHE, at your option.
Metadata
Release files for vhrd-zensical 0.3.1
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 |
|---|---|---|---|---|
| vhrd_zensical-0.3.1.tar.gz | 132.7 kB | With provenance | Details for vhrd_zensical-0.3.1.tar.gz |
Built distributions (wheels)
Total release size: 13.6 MB
Release files / vhrd_zensical-0.3.1.tar.gz
| Download URL | vhrd_zensical-0.3.1.tar.gz |
|---|---|
| Size | 132.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddaf7bf34438ff34f0c9d32f2d215288539598895520f9a6d426f9b0f672f954
|
|
BLAKE2b-256 checksum How to use checksums |
53054f5cb3a2c27e5ec9945740a677ba840f1046a61b4520dbdf103ee926e297
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-win_amd64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cd2b503be262bdce46c31aead9967d8a167efae73a210b8bb9ee65c577fbf853
|
|
BLAKE2b-256 checksum How to use checksums |
0b034825dad955f5143e7bb8d8d30b8e6613b47f2dcbf37db4008da7dbe3a740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-musllinux_1_2_x86_64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a64685f47328276bc32f17aeb5546a81166c6b8759a5ce6e9aa0c20ec8cbdc69
|
|
BLAKE2b-256 checksum How to use checksums |
61ae9bde11902064de65ce57ced69cba4c0c6da61f18e67c6785055baa1658ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-musllinux_1_2_aarch64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.12 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b0018ee3080b2ea5ebe019bc6ac2db03dc2b8221f6604cd78774d0a11ec3ecd2
|
|
BLAKE2b-256 checksum How to use checksums |
46820672ee1580b3b3743728077c1b28310d982b3a775b387891a9527a132048
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4f64efe591b315c55eb0f0c2c7ff1efcb132e18ac97bd5e704c0140e0d88e1fa
|
|
BLAKE2b-256 checksum How to use checksums |
95c0f28f00ac83b16496243155e889fad36f6c7b2b108e37536230df9a1475f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6b28a60f3e414a3a79fe1ab8152a7d9361e62bb526a58a87307e87bdd2b9495b
|
|
BLAKE2b-256 checksum How to use checksums |
dceb8551315e9bbb5178adb0c143032207a5f1a3b296c9aa969728c6d0017030
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logRelease files / vhrd_zensical-0.3.1-cp312-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
| Download URL | vhrd_zensical-0.3.1-cp312-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.12 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
87825a29a7100e38165ba4fbbb09d8527ae3a6d7baa5daed22fb5feacaf09784
|
|
BLAKE2b-256 checksum How to use checksums |
5bb7e25d55e144fbc9df929ecdaa74ea5248ec3fd678975ab44de95e4536df16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 25, 2026.
Transparency logSecurity for vhrd-zensical 0.3.1
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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for vhrd_zensical-0.3.1.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 25, 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.