Python Command-line Tools

Open-source Python projects categorized as Command-line Tools

Top 23 Python Command-line Tool Projects

  • thefuck

    Magnificent app which corrects your previous console command.

    Project mention: [Help] thefuck is not showing it's version | reddit.com/r/commandline | 2023-02-07

    I thefuck (this tool) It's not showing it's version literally

  • httpie

    🥧 HTTPie for Terminal — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Need a fully local web alternative to Postman | reddit.com/r/selfhosted | 2023-02-02

    I'm not an pro. Look at httpie maybe it is what you are looking for.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Python Fire

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

    Project mention: What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus | reddit.com/r/Python | 2022-12-04

    I started with click but found python fire to be so much easier to use.

  • cookiecutter

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

    Project mention: Can GitHub templates be used for more than just replication? | reddit.com/r/github | 2023-01-26

    Good alternatives that are more complex to use but allow for more customization would be things like Cookiecutter: https://github.com/cookiecutter/cookiecutter

  • Gooey

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

    Project mention: This Week In Python | dev.to | 2023-01-13

    Gooey – Turn (almost) any Python command line program into a full GUI

  • click

    Python composable command line interface toolkit

    Project mention: Shells Are Two Things | news.ycombinator.com | 2023-02-08

    I've used click [1] a lot to build Python tooling scripts the past few years. Click usage is "sort of" similar to the author's proposed solution. There's also a small section here [2] that describes some of the issues covered in the article (in context of argparse).

    [1] - https://github.com/pallets/click

  • aws-cli

    Universal Command Line Interface for Amazon Web Services

    Project mention: You can update phone number using CLI | reddit.com/r/aws | 2023-02-07

    It can? I created a pull request for this that hasn't been merged yet: https://github.com/aws/aws-cli/pull/6365

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: Postgres: ERROR: column d.adsrc does not exist | reddit.com/r/PostgreSQL | 2022-05-23

    Home: http://pgcli.com

  • mycli

    A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

    Project mention: 5 Useful Database Command Line Tools | dev.to | 2022-04-25
  • typer

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

    Project mention: using sys argv | reddit.com/r/Python | 2023-01-06
  • howdoi

    instant coding answers via the command line

    Project mention: Integrating ChatGPT with search engines like Google, Bing, Duckduckgo, interesting right? | reddit.com/r/GPT3 | 2022-12-21

    howdoi already had this without any machine learning.

  • 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

    Project mention: REST Clients for the terminal (TUI) | reddit.com/r/commandline | 2022-05-28
  • python-prompt-toolkit

    Library for building powerful interactive command line applications in Python

    Project mention: TUI library with Sixel support? | reddit.com/r/learnpython | 2022-11-27

    Euporie uses prompt_toolkit as its TUI library. prompt_toolkit does not specifically support terminal graphics, but I've written various of custom components and modifications to enable images to be displayed using terminal graphics.

  • docopt

    Pythonic command line arguments parser, that will make you smile

    Project mention: Argdown: A simple syntax for complex argumentation | news.ycombinator.com | 2023-01-18
  • SAWS

    A supercharged AWS command line interface (CLI).

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

  • 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'm making a notes app and am up to making an 'edit' feature, but have no way of making changes to a file's contents, let alone saving the changes and writing them to the file | reddit.com/r/learnpython | 2023-01-19

    Scroll down to the TUI example in the README, just above the documentation link: https://github.com/peterbrittain/asciimatics

  • percol

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

  • colorama

    Simple cross-platform colored terminal text in Python

    Project mention: New IP Osint Tool! | reddit.com/r/hacking | 2022-07-26

    Pyshark: https://github.com/KimiNewt/pyshark Requests: https://github.com/psf/requests Colorama:https://github.com/tartley/colorama

  • plumbum

    Plumbum: Shell Combinators

    Project mention: Diagram as Code | news.ycombinator.com | 2022-06-23

    if you liked that, you'll love Plumbum[1] :)

    [1] https://github.com/tomerfiliba/plumbum

  • iredis

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

    Project mention: 5 Useful Database Command Line Tools | dev.to | 2022-04-25

    wget https://github.com/laixintao/iredis/releases/latest/download/iredis.tar.gz \ && tar -xzf iredis.tar.gz \ && ./iredis

  • kube-shell

    Kubernetes shell: An integrated shell for working with the Kubernetes

    Project mention: GitHub - cloudnativelabs/kube-shell: Kubernetes shell: An integrated shell for working with the Kubernetes | reddit.com/r/u_Venehsoftw | 2022-10-13
  • SaaSHub

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

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 2023-02-08.

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 75,640
2 httpie 26,308
3 Python Fire 23,799
4 cookiecutter 18,881
5 Gooey 17,302
6 click 13,459
7 aws-cli 13,383
8 pgcli 10,883
9 mycli 10,746
10 typer 10,411
11 howdoi 9,879
12 HTTP Prompt 8,664
13 python-prompt-toolkit 8,147
14 docopt 7,733
15 SAWS 5,057
16 PathPicker 4,873
17 doitlive 3,245
18 asciimatics 3,240
19 percol 3,168
20 colorama 3,053
21 plumbum 2,545
22 iredis 2,235
23 kube-shell 2,215
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com