Skip to main content

Write once with inspection of python objects with type hinting from Python's standard library `typing` to generate a ConfigArgParser.

Project description

No CAP: Typing to ConfigArgParse

Write once with inspection of type hinted python objects from Python's standard library typing to generate a ConfigArgParser. ConfigArgParser is a drop in replacement for python's argparse that adds support for parsing configuration files and environment variables in addition to argparse's command line interface. Type hinting your python objects should be enough to generate a hierarchical ConfigArgParser automtically through inspection.

If you want to generate a ConfigArgParser from your docstrings, see docstr, which will depend upon this project.

Considering using typing_inspect.

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

no-cap-0.0.0rc0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file no-cap-0.0.0rc0.tar.gz.

File metadata

  • Download URL: no-cap-0.0.0rc0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for no-cap-0.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 d7a8aaf7765ca0bfb691a9f514aa34caa8cb3783407974e321b81d5ec3e810e9
MD5 c15e44883600bc6960fda80f709c3b5a
BLAKE2b-256 0262ee3107389c0fde28389a990b5e036d8f7ed950343bfc54deb3345afed410

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