aceparse
An argument parser that wraps python's built-in argparse, allowing it to parse command lines into
dataclasses.
Advantages over argparse:
- you get a dataclass so you can use an IDE to find out where your command line options are used
- nicer specification of default values
- can be combined with pydantic dataclasses to type check arguments
Examples
from dataclasses import dataclass
from aceparse import AceParser, AceArg
@dataclass
class Arguments:
hello: str = AceArg(help="Name of thing to say hello to")
a = AceParser(Arguments)
args = a.parse_args_into_dataclasses(["--hello=name"])
print(f"Hello {args.hello}")
Metadata
Release files for aceparse 0.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 | |
|---|---|---|---|---|
| aceparse-0.2.2.tar.gz | 21.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aceparse-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.7 kB
Release files / aceparse-0.2.2.tar.gz
| Download URL | aceparse-0.2.2.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebcdb03ca2c054cc2b0ebf3e1d26c3b56cef228c3866bc79375096de0a6aa30a
|
|
BLAKE2b-256 checksum How to use checksums |
4f7332bd0f091baca94fa88b1cc9861efc0664629013e55870e941b2d47bcf05
|
| 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 Jul 8, 2025.
Transparency logRelease files / aceparse-0.2.2-py3-none-any.whl
| Download URL | aceparse-0.2.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4b0aa36eb425b6c64db6c01e86ae77cbe53bfa54f0a186ea161879acd075d22
|
|
BLAKE2b-256 checksum How to use checksums |
9f9adc6293e8eb8be99e3135f4af2543803bf5725218faa57e20bbf9efe0704a
|
| 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 Jul 8, 2025.
Transparency logSecurity for aceparse 0.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for aceparse-0.2.2.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 Jul 8, 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.