theoworks-sphinx-build
The TheoWorks Sphinx extension that emits
theoworks-schema.json and the optional diagram-image and
computed-directive-result manifests. It runs inside a
sphinx-needs build and emits exactly
the artifacts that genuinely require an in-build render:
theoworks-schema.json— the RESOLVEDneeds_*metamodel, captured after every extension'ssetup()has run (so an extension-registered metamodel, e.g. a bundle bringing its ownneeds_types, is recoverable even though it never appears as aconf.pyliteral).theoworks-directive-images.json— the needuml/needsequence diagram-image location manifest (only when PlantUML rendered one).theoworks-directive-results.json— the computed needtable/needlist/ needextract/needbar/needpie result manifest (only when a computed directive occurs).
Install
pip install theoworks-sphinx-build
Usage
Add the extension to your project's conf.py (after sphinx_needs) — note
the importable module name stays theoworks_sphinx, even though the
PyPI distribution is theoworks-sphinx-build (so an existing
extensions = [..., "theoworks_sphinx"], including anything TheoWorks has
already scaffolded for you, keeps working unchanged):
extensions = ["sphinx_needs", "theoworks_sphinx"]
Then build as usual:
sphinx-build -b html docs public
If the package is not installed, a TheoWorks-scaffolded conf.py degrades
gracefully — the build still succeeds and still produces needs.json (the
floor); you only lose the richer previews above.
Metadata
Release files for theoworks-sphinx-build 0.1.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 |
|---|---|---|---|---|
| theoworks_sphinx_build-0.1.1.tar.gz | 51.7 kB | Without provenance | Details for theoworks_sphinx_build-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| theoworks_sphinx_build-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for theoworks_sphinx_build-0.1.1-py3-none-any.whl |
Total release size: 100.2 kB
Release files / theoworks_sphinx_build-0.1.1.tar.gz
| Download URL | theoworks_sphinx_build-0.1.1.tar.gz |
|---|---|
| Size | 51.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4583ed2f269f113b8a3b0a4fcb5495cb0b0ebbb1f022e6aca8d3284375f45f2
|
|
BLAKE2b-256 checksum How to use checksums |
0a0737490e2210f54757920dbbea5c5a8f5b942da9e5dd3874eaa0207f325646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / theoworks_sphinx_build-0.1.1-py3-none-any.whl
| Download URL | theoworks_sphinx_build-0.1.1-py3-none-any.whl |
|---|---|
| Size | 48.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f342f1274b9617733de278bc65479ecd2e967516b4af0c127f3b3392dc3eb697
|
|
BLAKE2b-256 checksum How to use checksums |
febd3eac22f77801a51b70b5d91194b02a736d626d36283749c7a8541c2984c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for theoworks-sphinx-build 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.