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: Ask HN: What are your go to shell one-liners? | news.ycombinator.com | 2024-04-22

    curl https://cheat.sh/$1

  • 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
  • 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: Personas - an Ai Assistant | dev.to | 2024-04-14

    tested the end points using httpie and sometime curl

  • tqdm

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

  • Project mention: Neat Parallel Output in Python | news.ycombinator.com | 2024-02-25

    yeah my code needs to use multiprocessing, which does not play nice with tqdm. thanks for the tip about positions though, that helped me search more effectively and came up with two promising comments. unmerged / require some workarounds, but might just work:

    https://github.com/tqdm/tqdm/issues/1000#issuecomment-184208...

  • 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: Harlequin: SQL IDE for Your Terminal | news.ycombinator.com | 2024-01-05
  • click

    Python composable command line interface toolkit

  • Project mention: click-web: Serve click scripts over the web (Python) | news.ycombinator.com | 2023-12-13

    Context: "click" - "Command Line Interface Creation Kit" - easily create CLIs from Python code, via adding decorators: https://github.com/pallets/click

    "click-web" in turn turns the click CLI app into a web app with one line of code.

  • SaaSHub

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

    SaaSHub logo
  • typer

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

  • Project mention: Typer: Python library for building CLI applications | news.ycombinator.com | 2024-04-25
  • beets

    music library manager and MusicBrainz tagger

  • Project mention: Show HN: Synced lyrics database with a free, easy-to-use API | news.ycombinator.com | 2024-02-23

    I was always frustrated that there is no solid source for synced lyrics that also offers decent API support. There is good ol' Crintsoft's MiniLyrics that is thankfully free software, was what I used a lot in my childhood, but unfortunately the API is highly obfuscated. Another popular choice is the Musixmatch API, which has a very large database of synced lyrics, but with "free" API that are reverse-engineered from their app, you will quickly run into rate-limit.

    That's why I created LRCLIB. It's aimed to provide completely free synchronized lyrics for everyone, especially for FOSS music players, with zero profit intention. It currently has nearly 3,000,000 (not deduplicated) lyrics in database. You can also contribute to the database by adding and syncing lyrics for your favorite songs using the LRCGET client.

    I'm trying my best to make LRCLIB server-side code open-source as soon as possible. But right now, full LRCLIB's database dumps have already been uploaded regularly and publicly, which are simply sqlite3 files. Feel free to download, look at or do anything you want with the database at https://lrclib.net/db-dumps.

    Many open-source projects have already begun integrating LRCLIB, including:

    - beets - music library metadata management (https://github.com/beetbox/beets)

  • q

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

  • Project mention: TwitchAdSolutions – Blocking Twitch Ads | news.ycombinator.com | 2024-04-15

    It doesn't look like Streamlink is immune to the challenges of Twitch ads: https://github.com/streamlink/streamlink/issues/4949

  • pipx

    Install and Run Python Applications in Isolated Environments

  • Project mention: Keep your AWS CLI config fresh with Cog | dev.to | 2024-03-28

    Use pipx to install Cog and my aws-sso-config-builder tool in the same environment:

  • 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

  • shell_gpt

    A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.

  • Project mention: Oh My Zsh | news.ycombinator.com | 2024-01-22

    https://github.com/TheR1D/shell_gpt?tab=readme-ov-file#shell...

  • xonsh

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

  • Project mention: This Week In Python | dev.to | 2024-03-09

    xonsh – Python-powered, cross-platform, Unix-gazing shell

  • conan

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

  • Project mention: Are We Modules Yet? | news.ycombinator.com | 2024-05-01

    Silly question: What's the difference between C++20 modules and https://conan.io? (Google was vague, and ChatGPT, you know, sometimes makes things up so I rather ask fellow humans...)

  • 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: Xonsh: Python-powered, cross-platform, Unix-gazing shell | news.ycombinator.com | 2024-02-14

    https://github.com/kellyjonbrazil/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."

  • 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

  • ngxtop

    Real-time metrics for nginx server

  • isort

    A Python utility / library to sort imports.

  • Project mention: Enhance Your Project Quality with These Top Python Libraries | dev.to | 2024-03-18

    isort: This library sorts your imports alphabetically, and automatically separates them into sections and by type. It provides a cleaner and more organised way to manage project imports.

  • jrnl

    Collect your thoughts and notes without leaving the command line.

  • Project mention: Collect your thoughts and notes without leaving the commnand line | news.ycombinator.com | 2024-04-11
  • buku

    :bookmark: Personal mini-web in text

  • Project mention: Buku: Personal Mini-Web in Text | news.ycombinator.com | 2024-01-29
  • 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.

  • SaaSHub

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

    SaaSHub logo
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).

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 51,406
2 cheat.sh 37,479
3 httpie 31,929
4 tqdm 27,492
5 Python Fire 26,335
6 textual 23,543
7 click 15,049
8 typer 14,398
9 beets 12,407
10 q 10,126
11 streamlink 9,581
12 pipx 8,913
13 HTTP Prompt 8,872
14 shell_gpt 8,303
15 xonsh 8,023
16 conan 7,768
17 jc 7,573
18 visidata 7,416
19 ngxtop 6,441
20 isort 6,321
21 jrnl 6,278
22 buku 6,158
23 dev-setup 6,032

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com