Python CLI

Open-source Python projects categorized as CLI

Top 23 Python CLI Projects

  • GitHub repo httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Getting started with KrakenD on Kubernetes / AKS | | 2021-02-17

    So, in our case here, we got Let’s issue a few request (either with a browser or a tool like httpie– which I use all the time) against the resulting URL

  • GitHub repo

    the only cheat sheet you need

    Project mention: A good complement to man pages | | 2021-02-09

    I prefer curl, personally.

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo sherlock

    🔎 Hunt down social media accounts by username across social networks

    Project mention: How to find traces of yourself on the internet | | 2021-01-13

    It is a python program, so you can execute it on Windows. Here are the installation steps, note you can also run it from some cloud providers (google cloud or replit are listed in README) :

  • GitHub repo Python Fire

    Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

    Project mention: Explaining FastAPI and Typer Dependency Injection, and rolling your own in Python | | 2021-01-25

    Typer is for building Python command-line tools. Often you want to be able to call python scripts from the command line with extra arguments to do all manner of automation tasks. Python has a low-level method of fetching the values passed from the command-line using sys.arv which contains a list of arguments; and a high-level mehtod of building a command-line interface (allowing for optional arguments, help text, etc) using the argparser module. Aside from this, there are also plenty of other libraries that provide ways of building CLIs, including Google's Fire which is what I was using previously.

  • GitHub repo tqdm

    A Fast, Extensible Progress Bar for Python and CLI

    Project mention: A new kind of Progress Bar for Python | | 2021-01-04

  • GitHub repo click

    Python composable command line interface toolkit

  • GitHub repo beets

    music library manager and MusicBrainz tagger

    Project mention: FOSS music library organizer | | 2021-02-22
  • GitHub repo HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

    Project mention: Show HN: Ht – HTTPie Clone in Rust | | 2021-02-05

    And use http-prompt, because it's awesome:

  • GitHub repo dev-setup

    macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.

    Project mention: Request Im A Programmer That Moves To A New Pc | | 2020-12-31
  • GitHub repo conan

    Conan - The open-source C/C++ package manager

    Project mention: Im new to c++, my question is: does c++ have libraries/modules like python? Or is everything you need in the language itself? | | 2021-02-15
  • GitHub repo SAWS

    A supercharged AWS command line interface (CLI).

  • GitHub repo httpstat

    curl statistics made simple (by reorx)

  • GitHub repo typer

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

    Project mention: My preferred .NET console stack – An opinionated view on .NET console apps | | 2021-01-15

    Click is great and a feature-rich option. But recommend checking out Typer, which is even simpler if you're already using type annotations. [0]


  • GitHub repo xonsh

    :shell: Python-powered, cross-platform, Unix-gazing shell

    Project mention: A Lisp REPL as my main shell | | 2021-02-08
  • GitHub repo isort

    A Python utility / library to sort imports.

    Project mention: Python: Setting Up Project Environment | | 2020-10-13

    isort is also a similar tool to flake8, this tool sorts imports alphabetically, and automatically separated into sections and by type.

  • GitHub repo visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Reading Parquet Without A Distributed Cluster | | 2020-12-25

    You can inspect parquet files from the command line with visidata and pandas using vd -f pandas data.parquet

  • GitHub repo s3cmd

    Official s3cmd repo -- Command line tool for managing Amazon S3 and CloudFront services

  • GitHub repo haxor-news

    Browse Hacker News like a haxor: A Hacker News command line interface (CLI).

    Project mention: Ask HN: Hacker News comment tree indentation on text based web browsers | | 2021-02-05

    You might find useful.

  • GitHub repo pipx

    Install and Run Python Applications in Isolated Environments

    Project mention: VIM + CoC for python - How hard could it be? | | 2021-02-17

    ok ... you right, so if you need work with python2 (for any reason...) you can use coc-jedi and try this: install jedi-language-server with pipx just do:

  • GitHub repo tmuxp

    :computer: tmux session manager. built on libtmux

  • GitHub repo doitlive

    Because sometimes you need to do it live

  • GitHub repo kb

    A minimalist command line knowledge base manager

    Project mention: Top 10 Developer Trends, Thu Sep 24 2020 | | 2020-09-24

    gnebbia / kb

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-02-22.


What are some of the best open-source CLI projects in Python? This list will help you:

Project Stars
1 httpie 49,944
2 23,509
3 sherlock 20,733
4 Python Fire 18,690
5 tqdm 17,470
6 click 10,438
7 beets 9,946
8 HTTP Prompt 8,044
9 streamlink 5,873
10 dev-setup 5,313
11 conan 4,725
12 SAWS 4,699
13 httpstat 4,655
14 typer 4,653
15 xonsh 4,418
16 isort 3,713
17 visidata 3,628
18 s3cmd 3,546
19 haxor-news 3,246
20 pipx 3,219
21 tmuxp 2,999
22 doitlive 2,914
23 kb 2,595