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/:Firstpage | news.ycombinator.com | 2024-09-08
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. aider

    aider is AI pair programming in your terminal

    Project mention: Hacking Your Own AI Coding Assistant with Claude Pro and MCP | news.ycombinator.com | 2025-03-19

    There are folks using just this filesystem API for coding: https://x.com/Zirkman/status/1897003182049649000

    I'm not sure I would prefer it to using Cursor. I was using Claude Desktop client to edit a bunch of (non-code) text files a couple of days ago, and a couple of times it crashed, and I had to restart it. When this happened, it lost some conversation history, although of course the files it had already edited were fine.

    There are other approaches to having Claude edit files, but they're less suited for use with MCP (and hence they don't save cost like the OP does).

    A) Aider gives very specific instructions about how Claude should describe patch operations: https://github.com/Aider-AI/aider/blob/dd4d2420df51dc29c2aed...

    This works, but I don't know if anyone has tried using this technique in an MCP server. It seems like the way OP and the Filesystem MCP might be superior for small edits, but Aider's approach might be better for multiple edits in a single request-response. It should be possible to do this with an MCP server.

    B) Anthropic provides fine-tuned models (text_editor_20250124 and text_editor_20241022) that know a specific text editing protocol: https://docs.anthropic.com/en/docs/build-with-claude/tool-us...

    You could build a coding assistant like Aider on top of these, but obviously you're then tied to this implementation and it's harder to switch out models. And it wouldn't work with Claude Desktop.

  4. q

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

  5. xonsh

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

    Project mention: Xonsh – A Python-Powered Shell | news.ycombinator.com | 2025-02-21
  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: 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

  8. hug

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

  9. SaaSHub

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

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

  11. jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: ✨ Top 5 Open-Source Terminal Note-Taking Applications ✨ | dev.to | 2025-01-29

    Repository: jrnl

  12. gpustat

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

    Project mention: gpustat VS nviwatch - a user suggested alternative | libhunt.com/r/gpustat | 2024-09-09
  13. doitlive

    Because sometimes you need to do it live

  14. ddgr

    :duck: DuckDuckGo from the terminal

  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!

    Project mention: 5 Best Python TUI Libraries for Building Text-Based User Interfaces | dev.to | 2024-11-09

    4.Pytermgui 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. 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格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

  19. PyInquirer

    A Python module for common interactive command line user interfaces

  20. dotdrop

    Save your dotfiles once, deploy them everywhere

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

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

    Project mention: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? | news.ycombinator.com | 2024-05-06

    I personally love TUI software, you don't have to worry about GUI toolkits, mouse focused interaction, you can run them remotely over SSH, they're often composable, and composability is much easier, and who doesn't like the hackerman aesthetic?

    Some things I don't like about modern TUIs is developers getting away from the purpose of them, portability. Often you'll find really beautiful TUIs that require installation of custom fonts for icons and other overcomplicated stuff like that. They can be nice, but generally they sacrifice the practical benefit to a significant degree.

    One I discovered yesterday, not really a TUI, more of a shell but still, extremely powerful, is kalc https://github.com/bgkillas/kalc which is a complete scientific and graphing calculator in the terminal. It depends on gnuplot which is unfortunate since that is a GUI program, but there we go with composability again! It's fine and works and does what it needs to, so not really a big deal I guess.

    To find more:

    https://github.com/rothgar/awesome-tuis

    https://github.com/toolleeo/cli-apps

  22. gita

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

  23. itermplot

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

  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. telegram-phone-number-checker

    Check if phone numbers are connected to Telegram accounts.

  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 39,103
2 aider 29,578
3 q 10,251
4 xonsh 8,678
5 google-images-download 8,612
6 jc 8,095
7 hug 6,875
8 buku 6,655
9 jrnl 6,650
10 gpustat 4,161
11 doitlive 3,478
12 ddgr 3,032
13 yq 2,718
14 pytermgui 2,402
15 lookatme 2,176
16 CommandlineConfig 2,045
17 PyInquirer 1,969
18 dotdrop 1,824
19 awesome-cli-apps-in-a-csv 1,799
20 gita 1,706
21 itermplot 1,497
22 pyp 1,447
23 telegram-phone-number-checker 1,397

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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