Skip to content

An argparse extension to easily manage post-processing of multiple parsed arguments

License

Notifications You must be signed in to change notification settings

artu-hnrq/ArgCompile

Repository files navigation

ArgCompile

Python Version License PyPI

argcompile is a Python package made to improve native argparse command-line parsing library by include some design classes that allows defining post-processing of supplied arguments. Check package description for more information and examples.

Getting started

Make sure you have at least Python 3.6 installed:

$ python3 --version
python 3.6.0

Since, from this version, pip already comes together with Python, you'll be able to download package latest release available in PyPI:

pip3 install argcompile

Acknowledgements

This tool was developed after reach an argparse limitation that is actually an old-dated reported issue and has already a huge refactor solution proposed in which argcompile was based on.

@hpaulj's proposal modifies the standard library making it more flexible to be extended, considering several usage situations and code improvements. argcompile otherwise implements a flavor of this mechanisms without much concern and with a simpler and limited approach.

About

An argparse extension to easily manage post-processing of multiple parsed arguments

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published