Our great sponsors
-
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
docopt-ng
Humane command line arguments parser. Now with maintenance, typehints, and complete test coverage.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If you’ve just spent time getting into argparse, you might find you love gooey https://github.com/chriskiehl/Gooey
If you're just throwing together "scripts to help my job" and "not for public consumption" you might want to check out fire: https://github.com/google/python-fire
You might also like docopt - it advertises itself as "a tool for beautiful command line interfaces". Try it - you might like it better than argparse!!
Note, the python source of docopt seems to have been effectively abandoned, so a better bet these days might be docopt-ng from the jazzband coop
I second click, combine with PyInquirer as well. Unfortunately PyInquirer is EOL, but they are trying to find a successor https://github.com/CITGuru/PyInquirer/issues/159