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: Introduction for OSD600 class | dev.to | 2024-09-05

    For this blog post, we were asked to get started in the world of open source and explore top trending GitHub repos. I began by looking through different repositories, trying to find something related to Cloud, but nothing caught my interest. Then, I started browsing more broadly and came across sherlock-project/sherlock, which instantly grabbed my attention. Here's my fork 🍴: https://github.com/hpatel292-seneca/sherlock.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • cheat.sh

    the only cheat sheet you need

    Project mention: Cheat.sh/:Firstpage | news.ycombinator.com | 2024-09-08
  • 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: No-Code REST API for Databases adds Table Joins | dev.to | 2024-08-14

    Notice in the above http POST syntax using HTTPie test client that we specified our first table using /db/review/_expand which says that we want the review table expanded with data from the film table. We further also added some expand (join) conditions table, fields, type prior to the http POST in a JSON Array payload.

  • tqdm

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

    Project mention: FLaNK-AIM: 20 May 2024 Weekly | dev.to | 2024-05-20
  • Python Fire

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

    Project mention: Essential Deep Learning Checklist: Best Practices Unveiled | dev.to | 2024-06-17

    How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.

  • 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: Show HN: An HP 15C themed TUI RPN calculator | news.ycombinator.com | 2024-08-19

    Recently, I found a long desired framework that treats the terminal via a DOM/CSS approach named Textual [https://textual.textualize.io]. In order to explore this framework I started developing a terminal based TUI RPN (styled in the aesthetic of a classic HP 15C pocket) calculator. So far this TUI RPN calculator has classic HP styled buttons, LCD display and some of the basic math operations. This is very much a W.I.P. Any engagement welcome.

  • aider

    aider is AI pair programming in your terminal

    Project mention: GitHub Named a Leader in the Gartner First Magic Quadrant for AI Code Assistants | news.ycombinator.com | 2024-08-23
  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • click

    Python composable command line interface toolkit

    Project mention: Essential Deep Learning Checklist: Best Practices Unveiled | dev.to | 2024-06-17

    How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.

  • typer

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

    Project mention: Essential Deep Learning Checklist: Best Practices Unveiled | dev.to | 2024-06-17

    How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.

  • beets

    music library manager and MusicBrainz tagger

    Project mention: Beets 2.0 release: mpd compatible music library manager and MusicBrainz tagger | news.ycombinator.com | 2024-06-17
  • q

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

  • pipx

    Install and Run Python Applications in Isolated Environments

    Project mention: GitHub Release Action for the Python Package Index | dev.to | 2024-06-08

    ## Install `jpsapp` is [distributed by PyPI](https://pypi.org/project/jpsapp/) and can be installed with [pipx](https://github.com/pypa/pipx): ``` pipx install jpsapp ```

  • 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: Anyone else using a terminal LLM? (+my prototype) | news.ycombinator.com | 2024-08-22

    I was wondering if anyone else is using a minimal terminal LLM. What I mean is a small cli application that lets you use stdin/stdout/etc to just pipe data to/from an llm (provider agnostically).

    For me this method has become my favorite way of using of LLMs (when I only need text IO) - but I suspect that I've (once again) just reinvented the wheel here. Previously I used https://github.com/TheR1D/shell_gpt, but I ran into a few reliability and usability issues with it.

    The way this works for me, is that I just launch a terminal which automatically starts a new LLM session, and I can use the CLI to load and manipulate previously saved sessions.

    Maybe in the future, what I see is that once could launch a generic LLM daemon on one's computer to just expose an API for any other tool to use, like an equivalent of an LSP, but for LLM instead of coding editors.

    end rant, any ideas? Feedback? :)

  • 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 shell. Full-featured and cross-platform.

    Project mention: Xonsh is a Python-powered shell | news.ycombinator.com | 2024-08-30
  • conan

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

    Project mention: Conan: Your Embedded Cross-Compilation Champion | dev.to | 2024-07-13

    include(FetchContent) FetchContent_Declare(conan URL https://github.com/conan-io/conan/releases/download/2.3.2/conan-2.3.2-linux-x86_64.tgz ) FetchContent_Populate(conan) if (conan_POPULATED) set(CONANEXE ${conan_SOURCE_DIR}/conan) set(CONAN_AVAILABLE TRUE) endif()

  • 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: Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON | news.ycombinator.com | 2024-07-03

    How is this different to this https://github.com/kellyjonbrazil/jc

  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Data Science at the Command Line, 2nd Edition (2021) | news.ycombinator.com | 2024-05-06

    I'd like to call out one of my favorite pieces of software from the past 10 years: VisiData [1] has completely changed the way I do ad-hoc data processing, and is now my go-to for pretty much all use cases that I previously used spreadsheets for, and about half of those I previously used databases for.

    It's a TUI application, not strictly CLI, but scriptable, and I figure anyone building pipelines using tools like jq, q, awk, grep, etc. to process tabular data will find it extremely useful.

    ----

    [1]: https://visidata.org

  • ngxtop

    Real-time metrics for nginx server

    Project mention: Ngtop – Request analytics from the Nginx access logs | news.ycombinator.com | 2024-07-30

    ngxtop is also very useful for providing real-time metrics:

    https://github.com/lebinh/ngxtop

  • jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: Use a Work Journal to Recover Focus Faster and Clarify Your Thoughts | news.ycombinator.com | 2024-07-12

    This has become one of my favourite tools over the last couple of years:

    https://jrnl.sh

  • buku

    :bookmark: Personal mini-web in text

    Project mention: Enlightenmentware | news.ycombinator.com | 2024-05-20

    I really like the buku terminal bookmark manager. https://github.com/jarun/buku I like that I can just `man buku` when I don't understand something and I can actually find the answer I'm looking for.

  • isort

    A Python utility / library to sort imports.

    Project mention: Setting up `pre-commit` in a Django project | dev.to | 2024-06-28

    # .pre-commit-config.yaml (28.06.2024) repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - repo: https://github.com/PyCQA/isort rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black rev: 24.4.2 hooks: - id: black - repo: https://github.com/pycqa/flake8 rev: 7.1.0 hooks: - id: flake8 - repo: local hooks: - id: django-check name: Run Django Check entry: python manage.py check language: system pass_filenames: false types: [python]

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

Log in or Post with

Python CLI related posts

  • Cheat.sh/:Firstpage

    1 project | news.ycombinator.com | 8 Sep 2024
  • How I ended up building my own AI Dev Assistant from scratch

    3 projects | dev.to | 5 Sep 2024
  • Introduction for OSD600 class

    2 projects | dev.to | 5 Sep 2024
  • Semantra: Multipurpose tool for semantically searching documents

    1 project | news.ycombinator.com | 4 Sep 2024
  • Xonsh is a Python-powered shell

    1 project | news.ycombinator.com | 30 Aug 2024
  • My first post - Hi, dev.to

    1 project | dev.to | 29 Aug 2024
  • Show HN: Strict interfaces and dep management for Python, written in Rust

    1 project | news.ycombinator.com | 26 Aug 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Sep 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 sherlock 57,463
2 cheat.sh 38,079
3 httpie 33,300
4 tqdm 28,299
5 Python Fire 26,846
6 textual 24,943
7 aider 17,524
8 click 15,486
9 typer 15,304
10 beets 12,707
11 q 10,181
12 pipx 10,020
13 streamlink 9,908
14 shell_gpt 9,251
15 HTTP Prompt 8,933
16 xonsh 8,295
17 conan 8,117
18 jc 7,779
19 visidata 7,775
20 ngxtop 6,455
21 jrnl 6,440
22 buku 6,440
23 isort 6,438

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com