Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

docstub

docstub is a command-line tool to generate Python stub files. It extracts necessary type information from NumPyDoc style docstrings.

Many packages in the scientific Python ecosystem already describe expected parameter and return types in their docstrings. Docstub aims to take advantage of these and help with the adoption of type annotations. It does so by supporting widely used readable conventions such as array of dtype or iterable of int(s) which are translated into valid type annotations.

Specific guides:

Our release notes (latest) are in docs/release_notes/.

Our project follows Scientific Python's Code of Conduct.

Acknowledgements

Thanks to docs2stubs by which this project was heavily inspired and influenced.

And thanks to CZI for supporting this work with an EOSS grant.

Metadata

Release files for docstub 0.7.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docstub 0.7.0rc1
File Size Uploaded Provenance Actions
docstub-0.7.0rc1.tar.gz 115.2 kB With provenance Details for docstub-0.7.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docstub 0.7.0rc1
File Interpreter ABI Platform Actions
docstub-0.7.0rc1-py3-none-any.whl Python 3 none any Details for docstub-0.7.0rc1-py3-none-any.whl

Total release size: 194.5 kB

Release files / docstub-0.7.0rc1.tar.gz

Download URL docstub-0.7.0rc1.tar.gz
Size 115.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd685782b6d5ccd19293f9e2d248a3270eded72c3d289d869d33818643b96e2f
BLAKE2b-256 checksum
How to use checksums
d6b21f81f81300fc4d3e5693f7f986622c1ea8694190485a8f3c5d75470a5270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

Release files / docstub-0.7.0rc1-py3-none-any.whl

Download URL docstub-0.7.0rc1-py3-none-any.whl
Size 79.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fee2d21023d5ffe5839f08d997fd4324f6ab084a307d7ff52151748d9aa20e2
BLAKE2b-256 checksum
How to use checksums
ea2963122e404ba06b15412dddbe8fcfe2db726a05ee8d9c4c4957a98ae9a8f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

Security for docstub 0.7.0rc1

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.

Select from 2 files

Attestation for docstub-0.7.0rc1.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 7, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page