docspec
This Python packages provides
- A library to (de-) serialize Docspec conformat JSON payloads
- A CLI to validate and introspect such payloads
Example:
import docspec, sys
for module in docspec.load_modules(sys.stdin):
module.members = [member for member in module.members if member.docstring]
docspec.dump_module(sys.stdout)
$ docspec module.json --dump-tree
module docspec
| class Location
| | data filename
| | data lineno
| class Decoration
| | data name
# ...
The docspec Python module requires Python 3.5 or newer.
Copyright © 2020, Niklas Rosenstein
Metadata
Release files for docspec 2.2.2
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 |
|---|---|---|---|---|
| docspec-2.2.2.tar.gz | 14.1 kB | Without provenance | Details for docspec-2.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docspec-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for docspec-2.2.2-py3-none-any.whl |
Total release size: 23.8 kB
Release files / docspec-2.2.2.tar.gz
| Download URL | docspec-2.2.2.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c772c6facfce839176b647701082c7a22b3d22d872d392552cf5d65e0348c919
|
|
BLAKE2b-256 checksum How to use checksums |
8bfe1ad244d0ca186b5386050ec30dfd59bd3dbeea5baec33ca861dd43b922e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / docspec-2.2.2-py3-none-any.whl
| Download URL | docspec-2.2.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
854d25401e7ec2d155b0c1e001e25819d16b6df3a7575212a7f340ae8b00122e
|
|
BLAKE2b-256 checksum How to use checksums |
38571011f2e88743a818cced9a95d54200ba6a05decaf43fd91d8c6ed9f6470d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for docspec 2.2.2
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.