reStructuredText’s custom roles and role builder kit for package registries of any languages.
Installation
pip install rst-package-refs
Usage
Command line test
$ echo ':npm:`react`' | python -m rst_package_refs
<document source="<stdin>">
<paragraph>
<reference refuri="https://www.npmjs.com/package/react">
react
With Sphinx
extensions = [
"rst_package_refs.sphinx",
]
This uses :npm:`react`.
Set up for local development
Pre-requirements
Git
Set up
git clone https://github.com/attakei/rst-package-refs.git
cd /path/to/rst-package-refs
rye run setup
Metadata
Release files for rst-package-refs 0.2.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 | |
|---|---|---|---|
| rst_package_refs-0.2.0.tar.gz | 89.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rst_package_refs-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.4 kB
Release files / rst_package_refs-0.2.0.tar.gz
| Download URL | rst_package_refs-0.2.0.tar.gz |
|---|---|
| Size | 89.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3c9d117713bfc9c4ace42ee55c3700da9c8c845f2b5a0af5c8e0390d4a23c65
|
|
BLAKE2b-256 checksum How to use checksums |
b894ac01d3023b63609048c26d4fb654f442f7fd090902d02ffcd285f816095c
|
| 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 24, 2025.
Transparency logRelease files / rst_package_refs-0.2.0-py3-none-any.whl
| Download URL | rst_package_refs-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0648e20af35b49eafaf5af63661452ba285db4c59e10247767eacd80f7a76aba
|
|
BLAKE2b-256 checksum How to use checksums |
6623f796a49fcd25c93929a68226a43eb14e96ecacec987ab365c19a375d4a76
|
| 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 24, 2025.
Transparency log