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: 命令行神器 The Fuck,敲错命令的后悔药 | dev.to | 2025-08-18
  2. 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
  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: Top 20 Rising GitHub Projects with the Most Stars in 2025 | dev.to | 2025-07-29

    HTTPie is a user-friendly command-line HTTP client designed for testing APIs.

  4. Python Fire

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

    Project mention: Python Fire VS mininterface - a user suggested alternative | libhunt.com/r/python-fire | 2025-05-20
  5. cookiecutter

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

    Project mention: Modern Python Boilerplate – good package basic structure | news.ycombinator.com | 2025-05-21
  6. Gooey

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

    Project mention: Fang, the CLI Starter Kit | news.ycombinator.com | 2025-06-18

    It would be really cool if you Fang could generate a TUI form for you with https://github.com/charmbracelet/huh (by the same org). Is something like that on the roadmap?

    Similar work: https://github.com/chriskiehl/Gooey and https://github.com/Sorcerio/Argparse-Interface

    I've wanted to do this for my own CLI framework since 2023 ( https://github.com/bbkane/warg/issues/71 ), but I still haven't gotten around to it :D

  7. typer

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

    Project mention: It's 2025: Your Python Toolbox Is More Than Just PyCharm | dev.to | 2025-07-31

    Typer: Building CLIs Was Meant to Be This Simple

  8. click

    Python composable command line interface toolkit

    Project mention: Build Easy to Use CLIs in Python with Click | dev.to | 2025-07-26

    Experiment with Click’s advanced features like multi-value options (nargs), dynamic defaults, or custom parameter types. Check the Click documentation for inspiration. The key is to keep your CLI intuitive—focus on clear help text, sensible defaults, and minimal user friction.

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. aws-cli

    Universal Command Line Interface for Amazon Web Services

    Project mention: AWS in 2025: The Stuff You Think You Know That's Now Wrong | news.ycombinator.com | 2025-08-20

    You'll be glad(sic) to know they have specialized hostnames for IPv6 control plane endpoints, because AAAA records scare the olds https://github.com/aws/aws-cli/blob/2.28.14/awscli/botocore/...

  11. pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: PostgreSQL IDE in VS Code | news.ycombinator.com | 2025-05-23
  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

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

    Library and command-line utility for rendering projects templates. (by copier-org)

  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

  • AWS in 2025: The Stuff You Think You Know That's Now Wrong

    2 projects | news.ycombinator.com | 20 Aug 2025
  • 命令行神器 The Fuck,敲错命令的后悔药

    1 project | dev.to | 18 Aug 2025
  • The Shit - say NO to typos

    2 projects | dev.to | 16 Aug 2025
  • Build Easy to Use CLIs in Python with Click

    1 project | dev.to | 26 Jul 2025
  • docs-kb cli

    2 projects | dev.to | 1 Jul 2025
  • HTTPie – API testing client that flows with you

    1 project | news.ycombinator.com | 23 Jun 2025
  • Installing AWS CLI v2

    1 project | dev.to | 7 Jun 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Sep 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 thefuck 92,880
2 httpie 36,464
3 Python Fire 27,853
4 cookiecutter 24,019
5 Gooey 21,418
6 typer 17,770
7 click 16,785
8 aws-cli 16,311
9 pgcli 12,612
10 mycli 11,686
11 howdoi 10,755
12 python-prompt-toolkit 9,915
13 HTTP Prompt 9,056
14 docopt 7,986
15 SAWS 5,285
16 PathPicker 5,192
17 asciimatics 4,165
18 colorama 3,719
19 doitlive 3,508
20 percol 3,321
21 litecli 3,080
22 plumbum 2,941
23 copier 2,774

Sponsored
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.
www.influxdata.com