Skip to main content

A small argument parser for dedicated environments with support for env and file based arguments

Project description

Pargs

[!WARNING] This is not yet production ready, please wait for the 1.0.0 release

A small python extensible argument system.

Supported sources

Native supported sources are command arguments, file (json and toml) and environment variables. You can glue them together with the MultiParser and give them priorities, to control which arguments may overwrite each other.

Roadmap

In the near future, a parsing of a (data)class as a configuration object, which is then collected via all three native collectors.

Comparison

Compared to the argparse module provided in the standard library, this provides much fewer features. This allows for a very small runtime-footprint (>10x faster).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pargs_sfe-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pargs_sfe-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pargs_sfe-0.1.0.tar.gz.

File metadata

  • Download URL: pargs_sfe-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pargs_sfe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 80e988390aca94316459fb87613224ad67eb35d451d9b27d0dabb06385ffa111
MD5 523782a4bd40bfe00b957d21eca7ff42
BLAKE2b-256 f8ecfd016269ef5e46552df61aba138a5276eedbdf757154a036df38ed88b8a1

See more details on using hashes here.

File details

Details for the file pargs_sfe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pargs_sfe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pargs_sfe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 060b3fcc035cf7e6586250340fb430e1323cfa06f069863746f5e0fb3a2274d5
MD5 fef2a94d2561b1b5c016b08a781bb5fa
BLAKE2b-256 0a20c6cd6e0aaf2896a212ea4e4ce6ddca9ce8b8530472af2f046062f8d15709

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page