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

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 supports the parsing of 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.

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

typing-to-configargparse-0.0.0rc0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

typing_to_configargparse-0.0.0rc0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file typing-to-configargparse-0.0.0rc0.tar.gz.

File metadata

File hashes

Hashes for typing-to-configargparse-0.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 614e02f567ae59bb495689028d924ce551a4d76e0cd4d89b867953b153d98f3c
MD5 67b5f8bdad609fc3a545127a84417bac
BLAKE2b-256 c6e5fcbfb00a06fcab454593c1607d628e5440983021f013542d44c5323184e4

See more details on using hashes here.

File details

Details for the file typing_to_configargparse-0.0.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for typing_to_configargparse-0.0.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc4821b084de82e68401abd1e7c438542c1399ccd4ebf7303e02cfb6451eacd
MD5 492694ac0d8fd2b41c2b179643669a6b
BLAKE2b-256 91a498db394a364158c93a3604ca95986f4078b6245fb7ef7474a45a8bf2a304

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