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: Checking all accounts associated with my email address? | /r/PrivacySecurityOSINT | 2023-11-12

    In the interest of cleaning my digital life a bit I really want to delete all of my old accounts that I no longer use. The terminal application "Sherlock" on github can search for instances of a username you input and find associated websites. Sherlock

  • cheat.sh

    the only cheat sheet you need

    Project mention: Making Hard Things Easy | news.ycombinator.com | 2023-10-06
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • httpie

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

    Project mention: HTTPie Desktop: cross-platform API testing client for humans | news.ycombinator.com | 2023-10-08

    Their project that I am most familiar with is there CLI https://github.com/httpie/cli

  • tqdm

    :zap: A Fast, Extensible Progress Bar for Python and CLI

    Project mention: Helper class for tracking the progress of iteration in CLI | /r/PHP | 2023-07-02

    BTW, my inspiration was https://github.com/tqdm/tqdm library for python and any contribution is welcome to add similar functionality.

  • Python Fire

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

    Project mention: CLI tools hidden in the Python standard library | news.ycombinator.com | 2023-06-29

    The cli tool [fire](https://github.com/google/python-fire/blob/master/docs/guide...) has a nifty feature where it can generate a cli for any file for you.

    So random and math are somewhat usable that way

        $ python -m fire random uniform 0 1

  • textual

    The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.

    Project mention: "<ESC>[31M"? ANSI Terminal security in 2023 and finding 10 CVEs | news.ycombinator.com | 2023-10-20

    https://jupyterbook.org/en/stable/content/code-outputs.html#...

    `less -R` is not the default.

    FWIW, textual (and urwid) does ANSII escape codes well: https://github.com/Textualize/textual

      touch file$'\n'name

  • click

    Python composable command line interface toolkit

    Project mention: Anyone want to start a project with me. | /r/ProgrammingBuddies | 2023-07-07
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • typer

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

    Project mention: Copilot for your GitHub stars | dev.to | 2023-11-20
  • asciinema

    Terminal session recorder 📹

    Project mention: Asciinema: Record and share your terminal sessions, the simple way | /r/patient_hackernews | 2023-11-06
  • beets

    music library manager and MusicBrainz tagger

    Project mention: Beets: The music geek's media organizer | news.ycombinator.com | 2023-10-25
  • q

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

    Project mention: I wrote this iCalendar (.ics) command-line utility to turn common calendar exports into more broadly compatible CSV files. | /r/commandline | 2023-03-24

    CSV utilities (still haven't pick a favorite one...): https://github.com/harelba/q https://github.com/BurntSushi/xsv https://github.com/wireservice/csvkit https://github.com/johnkerl/miller

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie

  • xonsh

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

    Project mention: Shh: Simple Shell Scripting from Haskell | news.ycombinator.com | 2023-11-25

    Those of you who use (or used) this as your shell: care to share your experience?

    It seems a lot less full-featured than https://xon.sh/, but maybe you don't need a lot of bells and whistles for regular usage. I mostly run build, execute, and install commands.

    I'm somewhat enticed at the possibility of being able to wrap common executables into forms that are typed (like nushell or elvish) and manipulate them in a way that leverages the type checker.

  • conan

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

    Project mention: My first Software Release using GitHub Release | dev.to | 2023-11-24

    There were various approaches recommended depending on our language and ecosystem. My classmates who developed using Node.js were recommended npm, and PyPI or poetry for Python. Since my program is written in C++, I was recommended to look into one of vcpkg or conan, but I ultimately did not use either package manager.

  • pipx

    Install and Run Python Applications in Isolated Environments

    Project mention: Pipx – Install and Run Python Applications in Isolated Environments | news.ycombinator.com | 2023-11-05
  • metaflow

    :rocket: Build and manage real-life data science projects with ease!

    Project mention: In Need of Guidance: Implementing MLOps in a Complex Organization as a Junior Data Engineer | /r/mlops | 2023-06-12
  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Fx – Terminal JSON Viewer | news.ycombinator.com | 2023-09-19

    [4] "Is it possible to "flatten" structured data (like JSON?)": https://github.com/saulpw/visidata/discussions/1605

  • shell_gpt

    A command-line productivity tool powered by GPT-3 and GPT-4, will help you accomplish your tasks faster and more efficiently.

    Project mention: Is there a better way to feed my codebase to GPT than using this bash script? How could I bundle the source code more intelligently? | /r/rust | 2023-10-27

    I would like to stay in the terminal, and am using https://github.com/TheR1D/shell_gpt, my format is simply to send GPT a file to discuss:

  • 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: Open source python projecto to contribute to | /r/Python | 2023-09-11
  • ngxtop

    Real-time metrics for nginx server

  • isort

    A Python utility / library to sort imports.

    Project mention: A Tale of Two Kitchens - Hypermodernizing Your Python Code Base | dev.to | 2023-11-12

    isort will sort the imports for you

  • jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: The power of keeping a coding journal (2014) | news.ycombinator.com | 2023-06-12

    Is this the correct link ?

    https://github.com/jrnl-org/jrnl

    Nice idea. I like org-mode for ...nearly everything.... This looks good for the command line.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-11-25.

Python CLI related posts

Index

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

Project Stars
1 sherlock 44,603
2 cheat.sh 36,447
3 httpie 30,275
4 tqdm 26,383
5 Python Fire 25,579
6 textual 22,124
7 click 14,534
8 typer 12,567
9 asciinema 12,193
10 beets 12,073
11 q 9,996
12 streamlink 9,195
13 HTTP Prompt 8,822
14 xonsh 7,403
15 conan 7,342
16 pipx 7,324
17 metaflow 7,168
18 visidata 6,972
19 shell_gpt 6,586
20 jc 6,525
21 ngxtop 6,419
22 isort 6,155
23 jrnl 6,108
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com