Skip to main content

argparse-extensions

argparse extensions.

Installation

pip install argparse-extensions

Usage

action=argparse_extensions.NegatableStoreTrueAction is a drop-in replacement for action='store_true':

parser = argparse.ArgumentParser()
parser.add_argument(
    '--foo',
    action=argparse_extensions.NegatableStoreTrueAction)

This will handle --no-foo in addition to --foo.

License

MIT License

Metadata

Release files for argparse-extensions 1.0.3

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

Source distribution (sdist)

Source distribution for argparse-extensions 1.0.3
File Size Uploaded Provenance
argparse-extensions-1.0.3.tar.gz 1.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for argparse-extensions 1.0.3
File Interpreter ABI Platform
argparse_extensions-1.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 4.1 kB

Release files / argparse-extensions-1.0.3.tar.gz

Download URL argparse-extensions-1.0.3.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9297ebcb86133c7e359cb7639dbba80a58712797b1fdab974c75053f26b993a7
BLAKE2b-256 checksum
How to use checksums
c7f53f2960d89b6d79486b1777246865475f5c6abaa12fea16c152085b966f8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / argparse_extensions-1.0.3-py2.py3-none-any.whl

Download URL argparse_extensions-1.0.3-py2.py3-none-any.whl
Size 2.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
40412bac635cbe8fca782c3acc0b311f57cc1d80abc7e57fb7186b35e9d892c2
BLAKE2b-256 checksum
How to use checksums
f1e81207c1109e3035882f64edcae1afa9bec531e0bde7723ee7c6177ab3235b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for argparse-extensions 1.0.3

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.

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