Python Command-line Tools

Open-source Python projects categorized as Command-line Tools

Top 23 Python Command-line Tool Projects

Command-line Tools
  1. thefuck

    Magnificent app which corrects your previous console command.

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    the fuck

  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. 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: Show HN: A Fast HTTP Request CLI Powered by HTTL | news.ycombinator.com | 2025-02-21
  4. Python Fire

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

    Project mention: This Week In Python | dev.to | 2024-12-06

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

  5. cookiecutter

    A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.

    Project mention: Cookiecutter: A utility that creates projects from project templates | news.ycombinator.com | 2025-03-06
  6. Gooey

    Turn (almost) any Python command line program into a full GUI application with one line

  7. typer

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

    Project mention: Project Scripts | news.ycombinator.com | 2025-02-26

    I'm not worried about matching the build script language to the project language.

    I am worried when I have to install a full dependency graph to run your build scripts...that's where things become brittle and annoying.

    Python with Typer[0] and Plumbum[1] is great for quickly cranking out ergonomic build scripts, or Invoke[3] which is intended for exactly this purpose.

    [0] https://typer.tiangolo.com/

  8. 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.

  9. SaaSHub

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

    SaaSHub logo
  10. aws-cli

    Universal Command Line Interface for Amazon Web Services

    Project mention: AWS S3 SDK breaks its compatible services | news.ycombinator.com | 2025-02-20
  11. pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: What I Wish Someone Told Me About Postgres | news.ycombinator.com | 2024-11-12
  12. mycli

    A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

    Project mention: SQLiteStudio: Create, edit, browse SQLite databases | news.ycombinator.com | 2024-11-24

    One day I set out to resolve this, though I can not find in my notes' files what the solution was (for MySQL). It might have been to simply use MyCLI instead of the standard MySQL CLI. Have you tried it?

    https://github.com/dbcli/mycli

  13. howdoi

    instant coding answers via the command line

  14. python-prompt-toolkit

    Library for building powerful interactive command line applications in Python

    Project mention: Some Terminal Frustrations | news.ycombinator.com | 2025-02-09
  15. 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

  16. docopt

    Create *beautiful* command-line interfaces with Python

    Project mention: Docopt: Command-line interface description language | news.ycombinator.com | 2024-03-28
  17. SAWS

    A supercharged AWS command line interface (CLI).

  18. PathPicker

    PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands.

    Project mention: Ask HN: Programmers who don't use autocomplete/LSP, how do you do it? | news.ycombinator.com | 2024-12-23

    git diff HEAD~1 --stat | fpp

    And with Zsh suffixes you can even drop the pipe.

    https://github.com/facebook/PathPicker

  19. asciimatics

    A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

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

    5.ASCIIMATICS ASCIIMATICS A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

  20. colorama

    Simple cross-platform colored terminal text in Python

  21. doitlive

    Because sometimes you need to do it live

  22. percol

    adds flavor of interactive filtering to the traditional pipe concept of UNIX shell

  23. litecli

    CLI for SQLite Databases with auto-completion and syntax highlighting

    Project mention: Litecli: CLI for SQLite Databases with auto-completion and syntax highlighting | news.ycombinator.com | 2024-09-08
  24. plumbum

    Plumbum: Shell Combinators

  25. iredis

    Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.

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

Log in or Post with

Python Command-line Tools related posts

Index

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

# Project Stars
1 thefuck 91,002
2 httpie 35,075
3 Python Fire 27,482
4 cookiecutter 23,231
5 Gooey 20,936
6 typer 16,643
7 click 16,164
8 aws-cli 15,918
9 pgcli 12,330
10 mycli 11,586
11 howdoi 10,687
12 python-prompt-toolkit 9,592
13 HTTP Prompt 9,012
14 docopt 7,970
15 SAWS 5,265
16 PathPicker 5,155
17 asciimatics 3,716
18 colorama 3,635
19 doitlive 3,478
20 percol 3,307
21 litecli 2,945
22 plumbum 2,876
23 iredis 2,611

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?