This release is a pre-release and may not be stable for production use.
defopt-stubs
Typing stubs for the defopt package.
These stubs provide type hints for the runtime library, which does not ship with annotations. Only the minimal API used by typical scripts is covered. Contributions to improve coverage are welcome.
Installation
pip install defopt-stubs
Development
Stubs are located under stubs/defopt-stubs. After installing development
dependencies with uv, validate them by running mypy:
uv sync
mypy
python tests/test_script.py 42 --times 1
uv sync installs the runtime library and tooling required for type
checking. The CI workflow performs the same steps.
Publishing
Releases are automated via GitHub Actions. Create a git tag starting
with v (e.g. v0.1.0) and push it to trigger a PyPI upload. A
PYPI_TOKEN secret must be configured in the repository settings.
Metadata
Release files for defopt-stubs 0.1.0rc2
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 | |
|---|---|---|---|---|
| defopt_stubs-0.1.0rc2.tar.gz | 20.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| defopt_stubs-0.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / defopt_stubs-0.1.0rc2.tar.gz
| Download URL | defopt_stubs-0.1.0rc2.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0229e83b1d5bc13d068497c47b37f6e775c310301927b37f5457b8ea4cb2efde
|
|
BLAKE2b-256 checksum How to use checksums |
9274deb4a4569ce56d5499be7f948ab6327a8907796c89751bdfc07c61022543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Aug 14, 2025.
Transparency logRelease files / defopt_stubs-0.1.0rc2-py3-none-any.whl
| Download URL | defopt_stubs-0.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30587a7bdacbf38309fec49b6482f094e18e299eb44d23a3d59a3b443685178c
|
|
BLAKE2b-256 checksum How to use checksums |
ae29c61d6d09fe8935851bdb933b4aa269cc1c172228dbe64d523cc4078387e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Aug 14, 2025.
Transparency logSecurity for defopt-stubs 0.1.0rc2
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 2 files in this release have been uploaded with provenance metadata.
Attestation for defopt_stubs-0.1.0rc2.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 Aug 14, 2025.
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.