#Command-line Tools

Open-source projects categorized as Command-line Tools
Language filter: + Python + C

Top 23 Command-line Tool Open-Source Projects

  • GitHub repo thefuck

    Magnificent app which corrects your previous console command.

    Project mention: Weird how the web comes from his body | reddit.com/r/linuxmasterrace | 2021-04-19
  • GitHub repo 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. https://twitter.com/httpie

    Project mention: Ask HN: Show me the sexy, sexy home page of your favorite free CLI project | news.ycombinator.com | 2021-04-20
  • GitHub repo Python Fire

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

    Project mention: Crypto Portfolio Tracker I wrote in Python with a pretty CLI. Taking critique and answering any questions. | reddit.com/r/learnpython | 2021-04-21

    Also check out python-fire to make your cli much easier.

  • GitHub repo cookiecutter

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

    Project mention: Examples of good R projects on GitHub? | reddit.com/r/rstats | 2021-04-18
  • GitHub repo Gooey

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

    Project mention: Gooey: Turn (almost) any Python Console Program into a GUI application | news.ycombinator.com | 2021-04-19
  • GitHub repo aws-cli

    Universal Command Line Interface for Amazon Web Services

    Project mention: Downloading files from S3 with multithreading and Boto3 | news.ycombinator.com | 2021-04-10

    From my experience, I found it easier and more convenient to call aws-cli [1] than using Boto. Among other things, aws-cli is already multithreaded, in both download and upload. There is even a setting to tweak the number of parallel requests [2].

    [1] https://github.com/aws/aws-cli

    [2] https://docs.aws.amazon.com/credref/latest/refdocs/setting-s...

  • GitHub repo click

    Python composable command line interface toolkit

    Project mention: Flask 2.0 is coming, please help us test | reddit.com/r/Python | 2021-04-16

    This major release of Flask is accompanied by major releases of Werkzeug, Jinja2, click, and itsdangerous which we'd also welcome and appreciate testing (their pre releases are installed with the Flask pre release).

  • GitHub repo mycli

    A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

  • GitHub repo pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: Commandline Database Clients with Autocompletion and Syntax Highlighting | news.ycombinator.com | 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 https://github.com/dbcli/pgcli/issues or just dump the error message here so we can investigate?

  • GitHub repo howdoi

    instant coding answers via the command line

    Project mention: Package 'howdoi' not working? | reddit.com/r/linuxquestions | 2021-03-03

    Hi, I'm the maintainer of howdoi. We've pushed some updates recently to deal with this issue. Make sure you're using the latest version from pip, and if you're still having trouble please open an issue on https://github.com/gleitz/howdoi/issues so we can share the fix with the community.

  • GitHub repo 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: Show HN: Ht – HTTPie Clone in Rust | news.ycombinator.com | 2021-02-05

    And use http-prompt, because it's awesome: https://github.com/httpie/http-prompt

  • GitHub repo docopt

    Pythonic command line arguments parser, that will make you smile

    Project mention: Recommended architecture for CLI applications | reddit.com/r/commandline | 2021-03-16

    Have a look at docopt (which is for Python, but I'm sure there are equivalents for other languages). I love the concept, you write the help first and the lib use the help to manage your arguments.

  • GitHub repo python-prompt-toolkit

    Library for building powerful interactive command line applications in Python

    Project mention: Python input() function writes prompt to standard error instead of standard output | reddit.com/r/learnpython | 2021-03-06

    With that out of the way, if the script you are writing is not just an exercise for learning Python, but part of an application which you do intend to use in the future, have a look at the stdlib cmd module or even prompt-toolkit which will give you a nicer user-experience without much more effort.

  • GitHub repo typer

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

    Project mention: Why Do Long Options Start with Two Dashes? | news.ycombinator.com | 2021-04-08

    Were your expectations different?

    Are there any good articles on the benefits of following such rules (any fungible improvements to legibility or usability, as opposed to just "consistency amongst different tools")?

    Are there any tools which can validate whether any piece of software conforms to this standard (either by scanning the man pages, or the code, or a formalized format of parameters the app supports)? Personally, the closest i've found is Typer ( https://typer.tiangolo.com/ ) but without anything that can automatically reject non-conformant code as a part of a CI process, i think enforcing such formats would be a non-starter for me.

  • GitHub repo SAWS

    A supercharged AWS command line interface (CLI).

  • GitHub repo 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: facebook/PathPicker accepts a wide range of input -- output from git commands, grep results, searches. 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 ... | reddit.com/r/alt_shells | 2021-04-09
  • GitHub repo 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 | reddit.com/r/commandline | 2021-02-25

    percol last release 2015, activity 2019

  • GitHub repo doitlive

    Because sometimes you need to do it live

  • GitHub repo miller

    Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

    Project mention: Consultare un databate XML, JSON, CVS o RDF | reddit.com/r/ItalyInformatica | 2021-03-31
  • GitHub repo 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: How can i execute a command line reading environment | reddit.com/r/learnpython | 2021-03-11


  • GitHub repo colorama

    Simple cross-platform colored terminal text in Python

    Project mention: What are some of your gold standard Python open source repos you discovered here or elsewhere that have very high quality, commented and understandable code that use best practices? | reddit.com/r/Python | 2021-01-25

    Looks really cool! Way more functionality than I'd ever need. I've been using colorama for color coding info, warning, and error messages in my Python projects. No complaints. From the feature list of rich it sounds like it probably pulls in a lot more dependencies?

  • GitHub repo plumbum

    Plumbum: Shell Combinators

  • GitHub repo kube-shell

    Kubernetes shell: An integrated shell for working with the Kubernetes

    Project mention: Awesome Kubernetes Resources | dev.to | 2021-03-15

    kube-shell integrated shell environment

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 2021-04-21.


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

Project Stars
1 thefuck 59,879
2 httpie 50,527
3 Python Fire 18,966
4 cookiecutter 14,307
5 Gooey 11,229
6 aws-cli 10,920
7 click 10,683
8 mycli 9,531
9 pgcli 9,518
10 howdoi 8,855
11 HTTP Prompt 8,119
12 docopt 7,353
13 python-prompt-toolkit 6,994
14 typer 5,089
15 SAWS 4,735
16 PathPicker 4,567
17 percol 3,015
18 doitlive 2,958
19 miller 2,710
20 asciimatics 2,643
21 colorama 2,440
22 plumbum 2,171
23 kube-shell 1,859