Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python Command-line

Open-source Python projects categorized as Command-line

Top 23 Python Command-line Projects

Command-line
  1. cheat.sh

    the only cheat sheet you need

    Project mention: Cheat.sh: the only cheat sheet you need | news.ycombinator.com | 2025-09-23
  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. aider

    aider is AI pair programming in your terminal

    Project mention: Show HN: I built Solveig, it turns any LLM into an assistant in your terminal | news.ycombinator.com | 2025-11-13

    See Usage for more: https://github.com/FSilveiraa/solveig/blob/main/docs/usage.m...

    ---

    FEATURES

    AI Terminal Assistant - Automate task planning, file management, code analysis and system management using natural language in your terminal.

    Safe by Design - Granular controls with pattern-based permissions. File operations prioritized, and shell commands can be disabled.

    Plugin Architecture - Extend capabilities through drop-in plugins. Add SQL queries, web scraping or block dangerous commands with 100 lines of Python.

    Modern CLI - Clear interface with task planning and listing, file content previews, diff editing, API usage tracking, code linting, waiting animations and rich tree displays for informed user decisions.

    Provider Independence - Works with any OpenAI-compatible API, including local models.

    tl;dr: similar idea to Claude Code (https://claude.com/product/claude-code) or Aider (https://aider.chat/), focusing on providing explicit user consent, granular configuration, drop-in plugins and the ability to integrate any model, backend or API.

    See the Features for more: https://github.com/FSilveiraa/solveig/blob/main/docs/about.m...

    ---

    TYPICAL TASKS

    - "Find and list all the duplicate files inside ~/Documents/"

  4. q

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

    Project mention: XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal | news.ycombinator.com | 2025-03-27

    I used to use q for this sort of thing. Not sure if there are better choices now as it have been a few years.

    https://harelba.github.io/q/

  5. xonsh

    Python-powered shell. Full-featured and cross-platform.

    Project mention: How often does Python allocate? | news.ycombinator.com | 2025-11-01
  6. google-images-download

    Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!

  7. 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: The Terminal of the Future | news.ycombinator.com | 2025-11-11

    I guess I don't see those as big downsides because I don't think people usually want binary data or quoted strings back from a CLI command, nor do they want column oriented output, nor "user friendly" tables.

    Answering --help with JSON is a good example, how bad is it really if the response is JSON? Well, using less works fine still and you can still grep if you want simple substring search. Wanting a section is probably more common, so maybe you'd "grep" for a subcommand with `jq .subcommand` or an option with `jq .subcommand.option`. Tables and tab-or-space delimited output overflow char limits, force the command-generator to figure out character wrapping, and so on. Now you need a library to generate CLI help properly, but if you're going to have a library why not just spit JSON and decouple completely from display details.

    Structured output by default just makes sense for practically everything except `cat`. And while your markdown files or csv files might have quoted strings, looking at the raw files isn't something people really want from shells or editors.. they want something "rendered" in one way or another, for example with syntax highlighting.

    Basically in 2025 neither humans nor machines benefit much from unstructured raw output. Almost any CLI that does this needs to be paired with a parser (like https://github.com/kellyjonbrazil/jc) and/or a renderer (like https://github.com/charmbracelet/glow). If no such pairing is available then it pushes many people to separately reinvent parsers badly. JSON's not perfect but (non-minified) it's human-readable enough to address the basic issues here without jumping all the way towards binary or (shudder) HTML

  8. jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: Why every dev needs a coding journal no, your memory isn’t enough | dev.to | 2025-05-17

    Resource: Obsidian, jrnl CLI, Markdown Journal Templates on GitHub

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. buku

    :bookmark: Personal mini-web in text

    Project mention: Use Txt for Bookmarks | news.ycombinator.com | 2025-08-27

    This is a cool tool: https://github.com/jarun/buku It's not perfect (it is not synced across devices) but it fills out metadata for you and isn't tied to a browser.

  11. hug

    Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.

  12. gpustat

    📊 A simple command-line utility for querying and monitoring GPU status

  13. doitlive

    Because sometimes you need to do it live

    Project mention: Pre-Record Your Demos | news.ycombinator.com | 2025-10-02
  14. ddgr

    :duck: DuckDuckGo from the terminal

    Project mention: Surfing the Web Like It's 1992 (Lynx Browser) | dev.to | 2025-07-24

    For a handy, privacy-friendly search workflow, you can combine Lynx with ddgr, a command-line DuckDuckGo search utility. Simply set:

  15. yq

    Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents (by kislyuk)

  16. pytermgui

    Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!

  17. lookatme

    An interactive, terminal-based markdown presenter

  18. awesome-cli-apps-in-a-csv

    The largest Awesome Curated list of command line programs (CLI/TUI) with source data organized into CSV files

  19. CommandlineConfig

    A library for users to write (experiment in research) configurations in Python Dict or JSON format, read and write parameter value via dot . in code, while can read parameters from the command line to modify values. 一个供用户以Python Dict或JSON格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

  20. PyInquirer

    A Python module for common interactive command line user interfaces

  21. dotdrop

    Save your dotfiles once, deploy them everywhere

  22. gita

    Manage many git repos with sanity 从容管理多个git库

  23. telegram-phone-number-checker

    Check if phone numbers are connected to Telegram accounts.

  24. pyp

    Easily run Python at the shell! Magical, but never mysterious.

    Project mention: Ergonomic Pyhon Text Piping Solution for Linux Shell with pypyp and uv | dev.to | 2025-01-04

    This short blog post is an introduction about a linux text piping solution with pypyp and uv, it can easily reuse all your knowledge and packages about python without learning awk. We focus on telling the reader why choosing it instead of how to use it. If you want to learn more about the usage, visit pypyp's homepage and uv's homepage

  25. itermplot

    An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.

  26. 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 Command-line discussion

Log in or Post with

Python Command-line related posts

Index

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

# Project Stars
1 cheat.sh 40,441
2 aider 38,394
3 q 10,331
4 xonsh 9,047
5 google-images-download 8,657
6 jc 8,432
7 jrnl 7,012
8 buku 6,898
9 hug 6,896
10 gpustat 4,286
11 doitlive 3,519
12 ddgr 3,153
13 yq 2,859
14 pytermgui 2,535
15 lookatme 2,261
16 awesome-cli-apps-in-a-csv 2,190
17 CommandlineConfig 2,026
18 PyInquirer 1,985
19 dotdrop 1,874
20 gita 1,800
21 telegram-phone-number-checker 1,562
22 pyp 1,499
23 itermplot 1,496

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?