Python CLI

Open-source Python projects categorized as CLI

Top 23 Python CLI Projects

  • sherlock

    🔎 Hunt down social media accounts by username across social networks

    Project mention: I want to get back in contact with some old friends but I don’t know how? | | 2022-11-29

    GitHub repo


    the only cheat sheet you need

    Project mention: | | 2022-12-02
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • httpie

    🥧 HTTPie for Terminal — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Any open source games written in Python? Ideally, something being actively developed | | 2022-12-01
  • tqdm

    A Fast, Extensible Progress Bar for Python and CLI

    Project mention: How to implement a progress bar for non verbose commands? | | 2022-11-25
  • Python Fire

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

    Project mention: Best way to get data into python scripts | | 2022-10-19

    I highly recommend checking out fire for adding a CLI quickly to little utility scripts that aren't going to be published to the world but just for you.

  • click

    Python composable command line interface toolkit

    Project mention: something like python's click library? | | 2022-12-03
  • beets

    music library manager and MusicBrainz tagger

    Project mention: Is there a consensus on a good all around music player for Linux? | | 2022-12-03

    For organizing and tagging I use beets. Once it's all tagged and organized into the correct folders, you can use any music player you like.

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • typer

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

    Project mention: I made a command line mp3 player called mpy3! | | 2022-11-20

    I wanted to have a really simple mp3 player that would work on windows and linux terminals, but probably more than that wanted an excuse to try out the Typer library.

  • q

    q - Run SQL directly on delimited files and multi-file sqlite databases (by harelba)

    Project mention: sqly - execute SQL against CSV / JSON with shell | | 2022-11-10

    Apparently, there were many who thought the same thing; Tools to execute SQL against CSV were trdsql, q, csvq, TextQL. They were highly functional, hoewver, had many options and no input completion. I found it just a little difficult to use.

  • HTTP Prompt

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

    Project mention: REST Clients for the terminal (TUI) | | 2022-05-28
  • xonsh

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

    Project mention: Life is much simpler with bash | | 2022-11-26

    You may be interested in Xonsh, it's python & bash together.

  • conan

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

    Project mention: OSD600 Lab 10 | | 2022-11-25

    As a result, I decided to use Conan instead. I installed Conan through pip, which requires Python. After installing Python, I ran

  • ngxtop

    Real-time metrics for nginx server

    Project mention: Nginx Log Analysis Help | | 2022-01-20
  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Hanukkah of Data: Advent of Code for Data Nerds | | 2022-12-03

    The datasets will be available as SQLite, JSONL, and CSV. This will be great for sharpening your SQL/Python/VisiData skills.

  • 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: Automate Mac setup? | | 2022-04-10

    Something like this at least is the most direct answer to your question, as opposed to "you're doing it wrong" which unfortunately seems to be more upvoted. An example of something like this might be

  • pipx

    Install and Run Python Applications in Isolated Environments

    Project mention: Overengineering | | 2022-09-27

    As they are Python, they are farily easily installable in user-space using pipx.

  • jc

    CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

    Project mention: Posix commands with a flag to output standardized JSON or YAML | | 2022-11-22
  • legit

    Git for Humans, Inspired by GitHub for Mac™.

    Project mention: What makes git so hard to use? | | 2022-11-16


  • jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: Ask HN: Devs with ADHD do you use specialized tooling? | | 2022-10-20

    You could also look into these with should work well for the same purpose:

  • buku

    :bookmark: Personal mini-web in text

    Project mention: Searching for a tag based bookmark manager | | 2022-12-03

    Buku is solid.

  • isort

    A Python utility / library to sort imports.

    Project mention: Curious what is too much on one line... how 'compressed' can our code be? | | 2022-11-21

    Install black and isort and just don't worry about it. :-)

  • httpstat

    curl statistics made simple (by reorx)

    Project mention: Show HN: A Swiss army knife for testing HTTP from the terminal | | 2022-05-10

    thank you! we just grab the timings info for the request from the underlying HTTP library, and sprinkle some ASCII art on top. That part was inspired by httpstat [1]

    We want to extend those with support for Server-Timing next, and also Core Web Vitals [3] (via Playwright) for web pages.


  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

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 2022-12-03.

Python CLI related posts


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

Project Stars
1 sherlock 37,549
2 32,701
3 httpie 25,011
4 tqdm 23,445
5 Python Fire 23,386
6 click 13,221
7 beets 11,278
8 typer 9,843
9 q 9,701
10 HTTP Prompt 8,601
11 streamlink 8,134
12 xonsh 6,649
13 conan 6,372
14 ngxtop 6,355
15 visidata 6,158
16 dev-setup 5,845
17 pipx 5,748
18 jc 5,713
19 legit 5,679
20 jrnl 5,660
21 buku 5,396
22 isort 5,377
23 httpstat 5,216
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.