The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Command-line Tool Open-Source Projects
-
httpie
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
-
cookiecutter
A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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
-
miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
-
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.
-
asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Control Linux based distros using hand gestures using OpenCV, GTK, Mediapipe | news.ycombinator.com | 2024-04-14Are you by chance interested in a command named after the four-letter word, which automatically fixes and reruns the last command: https://github.com/nvbn/thefuck
tested the end points using httpie and sometime curl
Project mention: CLI tools hidden in the Python standard library | news.ycombinator.com | 2023-06-29The cli tool [fire](https://github.com/google/python-fire/blob/master/docs/guide...) has a nifty feature where it can generate a cli for any file for you.
So random and math are somewhat usable that way
$ python -m fire random uniform 0 1
Project mention: Ask HN: How do you bootstrap your software projects? | news.ycombinator.com | 2023-12-07Sometimes I use this to abstract boilerplate https://github.com/cookiecutter/cookiecutter
It can use a repo as a template.
It supports some interactive questions to choose options but mostly it is jinja templates.
Having libraries would be another option.
The name conflicts with a similar python module that allows one to turn any Python console program into a GUI with one line.
Project mention: click-web: Serve click scripts over the web (Python) | news.ycombinator.com | 2023-12-13Context: "click" - "Command Line Interface Creation Kit" - easily create CLIs from Python code, via adding decorators: https://github.com/pallets/click
"click-web" in turn turns the click CLI app into a web app with one line of code.
The AWS CLI is a must-have tool if your team relies on Amazon Web Services. It lets you effortlessly interact with AWS services, orchestrate resource management, and automate tasks from the comfort of your terminal. Once you get used to the tool, you'll notice how convenient and quick it is to fit into your processes – especially compared to going through AWS's web-based user interface.
Project mention: Does anyone prefer the CLI over the shell, or other way around? If so, why? | /r/mysql | 2023-04-23Also, check out MyCLI. https://github.com/dbcli/mycli "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting"
In this case, you'd be looking at https://github.com/gleitz/howdoi/blob/master/howdoi/howdoi.py
Project mention: Docopt: Command-line interface description language | news.ycombinator.com | 2024-03-28
Project mention: PathPicker: A CLI tool that lets you select files out of bash output | news.ycombinator.com | 2023-10-13
For small apps, I may choose a TUI (Terminal User Interface). Curses for Python is very lightweight, but quite low level and difficult to use for anything more than a very simple interface (if your app tries to draw outside of the drawing area, the app crashes, so you have to carefully manage every detail). Textual and asciimatics are both mature TUI frameworks that provide a higher level and more Pythonic way to create TUI's.
Project mention: [Newbie question] struggling with colour change on user input | /r/pythonhelp | 2023-05-28Try using https://github.com/tartley/colorama, that should straighten out most low level problems. If you still have issues, you need to adjust your color scheme in pycharm.
Project mention: Show HN: LineSelect, shell utility to interactively select lines in a pipeline | news.ycombinator.com | 2023-07-05Some other options:
1. Piping into `fzf -m` (use tab to toggle selections and built-in search to filter options).
2. Percol https://github.com/mooz/percol (also has filtering, use ctrl-space to toggle selection).
Command-line Tools related posts
- Control Linux based distros using hand gestures using OpenCV, GTK, Mediapipe
- Personas - an Ai Assistant
- Thefuck: Correct errors in previous console commands
- Docopt: Command-line interface description language
- Building a Command Line Tool with PHP and Symfony Console
- Creating an Automated Documentation Pipeline in PHP with Autodocs and GitHub Actions
- CLI user experience case study
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source Command-line Tool projects? This list will help you:
Project | Stars | |
---|---|---|
1 | thefuck | 82,689 |
2 | httpie | 31,760 |
3 | Python Fire | 26,266 |
4 | cookiecutter | 21,538 |
5 | Gooey | 20,342 |
6 | click | 14,997 |
7 | aws-cli | 14,867 |
8 | typer | 14,293 |
9 | pgcli | 11,687 |
10 | mycli | 11,251 |
11 | howdoi | 10,426 |
12 | python-prompt-toolkit | 8,942 |
13 | HTTP Prompt | 8,866 |
14 | miller | 8,542 |
15 | docopt | 7,894 |
16 | SAWS | 5,188 |
17 | PathPicker | 5,067 |
18 | asciimatics | 3,528 |
19 | colorama | 3,421 |
20 | doitlive | 3,398 |
21 | percol | 3,278 |
22 | plumbum | 2,749 |
23 | iredis | 2,486 |