What CLI libraries do you use to build your own custom commands?

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • typer

    Typer, build great CLIs. Easy to code. Based on Python type hints.

  • Typer (https://typer.tiangolo.com/) builds on top of click I think. It is by the FastAPI folk as far as I know. Super easy and worth checking out if you don't know it.

  • docopt

    This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng

  • I am a strong proponent of the philosophy behind http://docopt.org/ . Build the API for your humans, and then let the code come second.

  • 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.

    InfluxDB logo
  • docopt-ng

    Humane command line arguments parser. Now with maintenance, typehints, and complete test coverage.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts