Python Command-line Tools

Open-source Python projects categorized as Command-line Tools | Edit details

Top 23 Python Command-line Tool Projects

  • thefuck

    Magnificent app which corrects your previous console command.

    Project mention: Sometimes I feel bullied by inanimate objects… | | 2022-01-24
  • httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Changelog #0010 — 🪄 Prettify JSON, refined cursors, custom macOS window, and more | | 2022-01-24

    In every other changelog so far, we posted the ongoing improvements to the development version of HTTPie for Terminal. Today, we are thrilled to announce that those developments were wrapped up into the final 3.0 release! It includes:

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Python Fire

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

    Project mention: Python Fire VS python-tinyscript - a user suggested alternative | | 2022-01-15
  • cookiecutter

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

    Project mention: SNS/S3/API AWS Lambda opinionated boilerplate cookicutter | | 2021-12-31

    The goal of this article is to share and explain, a very basic and straightforward, AWS Lambda template for GoLang, based on cookiecutter templating capabilities.

  • Gooey

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

    Project mention: Growing a CLI App to a Desktop Application - Hopefully in Python? | | 2022-01-12

    If you don’t need any more than a basic GUI to run what is essentially a CLI app, then Gooey ( is the way. You can get it into a basic GUI with a single decorator and you barely have to think about the UI.

  • aws-cli

    Universal Command Line Interface for Amazon Web Services

    Project mention: How to use AWS SSM Session Manager Plugin | | 2022-01-13

    It turned out that this plugin is actually an open source project on GitHub, and this tool is used to power the start-session AWS CLI command to establish shell session. The exact way to use it undocumentated, but one can check AWS CLI's source code to see and example on how to use it.

  • click

    Python composable command line interface toolkit

    Project mention: click VS python-tinyscript - a user suggested alternative | | 2022-01-15
  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • mycli

    A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

    Project mention: What packages are missing from openSUSE? (and I will package it! ) | | 2021-05-14

    lazygit and mycli.

  • pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: Commandline Database Clients with Autocompletion and Syntax Highlighting | | 2021-02-18

    In what way did it blow up? You must have hit a bug, using .pg_service should work. Would you care to open an issue on or just dump the error message here so we can investigate?

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

    Project mention: HTTP Prompt | | 2021-11-05
  • docopt

    Pythonic command line arguments parser, that will make you smile

    Project mention: Docopt | | 2021-12-31
  • python-prompt-toolkit

    Library for building powerful interactive command line applications in Python

    Project mention: Rich is a Python library for rich text and beautiful formatting in the terminal | | 2022-01-15

    Try prompt_toolkit which is a Python library used by IPython among others:

  • typer

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

    Project mention: Strict Python Function Parameters | | 2022-01-23

    Slightly off-topic, but everyone writing modern Python should be familiar with Pydantic and similar libraries that use type hints for validation and parsing:

    We're using Pydantic for Robusta ( and absolutely love it. You get the best of traditional Python (rapid prototyping and no boilerplate) while still being able to scale your codebase and keep it maintainable. Robusta is the first large project I've written in Python where I'm not encountering type errors at runtime left and right.

  • SAWS

    A supercharged AWS command line interface (CLI).

    Project mention: What is the best program for making JSON CLI output more readable and manageable? | | 2021-11-01

    I'd recommend giving a shot.

  • 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: What's your favorite ls and/or cd replacements, alternatives or helpers? | | 2021-11-16

    Mine alternatives/helpers bringing a new extra functionality are the following: - - Facebook PathPicker is a simple command line tool that solves the perpetual problem of selecting files out of bash output. - - Find files with SQL-like queries - - fzf is a general-purpose command-line fuzzy finder.

  • percol

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

    Project mention: is there anything like regex101 or regexr to provide immediate feedback on results of text manipulation via the terminal? for learning | | 2021-02-25

    percol last release 2015, activity 2019

  • doitlive

    Because sometimes you need to do it live

  • 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: I looking for a TUI liberary/framework with good aesthetics. | | 2021-12-31
  • colorama

    Simple cross-platform colored terminal text in Python

    Project mention: Get Colored Console Output In Python Using Colorama | | 2021-11-21

    The link to its github repository is this: colorama.

  • plumbum

    Plumbum: Shell Combinators

    Project mention: Pyshell, A Linux Subprocess Module for Python | | 2021-11-01

    It's kinda a nice thing. And the few people that need something like this are already using or or . You can have a look at these projects though. See what works and doesn't to guide the goals of your own project.

  • kube-shell

    Kubernetes shell: An integrated shell for working with the Kubernetes

    Project mention: Top 200 Kubernetes Tools for DevOps Engineer Like You | | 2022-01-15

    Bootkube - bootkube - Launch a self-hosted Kubernetes cluster kubectx + kubens - Switch faster between clusters and namespaces in kubectl kube-shell - Kubernetes shell: An integrated shell for working with the Kubernetes kuttle: kubectl wrapper for sshuttle without SSH - Kubernetes wrapper for sshuttle kubectl sudo - Run kubernetes commands with the security privileges of another user K9s - Kubernetes CLI To Manage Your Clusters In Style! Ktunnel - A cli that exposes your local resources to kubernetes KubeOperator - Run kubectl command in Web Browser. Vimkubectl - Manage any Kubernetes resource from Vim KubeHelper - KubeHelper - simplifies many daily Kubernetes cluster tasks through a web interface.

  • iredis

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

  • bashplotlib

    plotting in the terminal

    Project mention: How can I make an interactive residual/regression plot? | | 2021-05-11
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). The latest post mention was on 2022-01-24.

Python Command-line Tools related posts


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

Project Stars
1 thefuck 66,286
2 httpie 53,411
3 Python Fire 21,762
4 cookiecutter 16,061
5 Gooey 15,235
6 aws-cli 11,921
7 click 11,878
8 mycli 10,128
9 pgcli 10,038
10 HTTP Prompt 8,347
11 docopt 7,539
12 python-prompt-toolkit 7,504
13 typer 7,019
14 SAWS 4,907
15 PathPicker 4,688
16 percol 3,089
17 doitlive 3,082
18 asciimatics 2,902
19 colorama 2,673
20 plumbum 2,326
21 kube-shell 1,966
22 iredis 1,704
23 bashplotlib 1,611
Find remote jobs at our new job board There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.