This project has been archived by its maintainers, and is no longer receiving any updates.
flags
flags is a Python flag parsing library for humans, not robots.
Why?
Argparse is complicated. Plac remedies most of its issues. However, sometimes you just need a really simple POSIX-style flag parser. You can use getopt, but it makes you write all the help screens yourself, which can easily go out-of-sync with the program source. flags aims at filling this void by providing a simple, practical API that’s truly easy to use and doesn’t suck.
Example
Since README examples always go out of sync with the source, included at examples/grep.py is flags parser for POSIX grep’s arguments.
Metadata
Release files for pyflags 0.1
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 |
|---|---|---|---|---|
| pyflags-0.1.tar.gz | 3.4 kB | Without provenance | Details for pyflags-0.1.tar.gz |
Release files / pyflags-0.1.tar.gz
| Download URL | pyflags-0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4f79d2ab773a8c279c496cf035f63727f3098f1d0f9418a4af586ccebe53dbe
|
|
BLAKE2b-256 checksum How to use checksums |
b6d796bae3e472a5b1beb781092994188ccc8446a022b5fab4f5a356331e0c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyflags 0.1
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.