Top 23 Python CLI Projects
-
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
So, in our case here, we got 104.45.73.37. Let’s issue a few request (either with a browser or a tool like httpie– which I use all the time) against the resulting URL http://104.45.73.37:8080/contacts.
-
cheat.sh
the only cheat sheet you need
I prefer curl cheat.sh, personally.
-
Scout
Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
sherlock
🔎 Hunt down social media accounts by username across social networks
It is a python program, so you can execute it on Windows. Here are the installation steps, note you can also run it from some cloud providers (google cloud or replit are listed in README) : https://github.com/sherlock-project/sherlock#installation
-
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Project mention: Explaining FastAPI and Typer Dependency Injection, and rolling your own in Python | dev.to | 2021-01-25Typer is for building Python command-line tools. Often you want to be able to call python scripts from the command line with extra arguments to do all manner of automation tasks. Python has a low-level method of fetching the values passed from the command-line using sys.arv which contains a list of arguments; and a high-level mehtod of building a command-line interface (allowing for optional arguments, help text, etc) using the argparser module. Aside from this, there are also plenty of other libraries that provide ways of building CLIs, including Google's Fire which is what I was using previously.
-
tqdm
A Fast, Extensible Progress Bar for Python and CLI
https://github.com/tqdm/tqdm/issues/1083 https://github.com/tqdm/tqdm/issues/889
-
click
Python composable command line interface toolkit
-
beets
music library manager and MusicBrainz tagger
-
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
And use http-prompt, because it's awesome: https://github.com/httpie/http-prompt
-
streamlink
Streamlink is a CLI utility which pipes video streams from various services into a video player
Project mention: One line shell script to watch youtube videos from the command line | reddit.com/r/linux | 2021-02-19Another suggestion would be streamlink
-
dev-setup
macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Project mention: Request Im A Programmer That Moves To A New Pc | reddit.com/r/TechnologyProTips | 2020-12-31 -
conan
Conan - The open-source C/C++ package manager
Project mention: Im new to c++, my question is: does c++ have libraries/modules like python? Or is everything you need in the language itself? | reddit.com/r/Cplusplus | 2021-02-15 -
SAWS
A supercharged AWS command line interface (CLI).
-
httpstat
curl statistics made simple (by reorx)
-
typer
Typer, build great CLIs. Easy to code. Based on Python type hints.
Project mention: My preferred .NET console stack – An opinionated view on .NET console apps | news.ycombinator.com | 2021-01-15Click is great and a feature-rich option. But recommend checking out Typer, which is even simpler if you're already using type annotations. [0]
-
xonsh
:shell: Python-powered, cross-platform, Unix-gazing shell
-
isort
A Python utility / library to sort imports.
isort is also a similar tool to flake8, this tool sorts imports alphabetically, and automatically separated into sections and by type.
-
visidata
A terminal spreadsheet multitool for discovering and arranging data
Project mention: Reading Parquet Without A Distributed Cluster | reddit.com/r/dataengineering | 2020-12-25You can inspect parquet files from the command line with visidata https://github.com/saulpw/visidata and pandas using vd -f pandas data.parquet
-
s3cmd
Official s3cmd repo -- Command line tool for managing Amazon S3 and CloudFront services
-
haxor-news
Browse Hacker News like a haxor: A Hacker News command line interface (CLI).
Project mention: Ask HN: Hacker News comment tree indentation on text based web browsers | news.ycombinator.com | 2021-02-05You might find https://github.com/donnemartin/haxor-news useful.
-
pipx
Install and Run Python Applications in Isolated Environments
ok ... you right, so if you need work with python2 (for any reason...) you can use coc-jedi and try this: install jedi-language-server with pipx just do:
-
tmuxp
:computer: tmux session manager. built on libtmux
-
doitlive
Because sometimes you need to do it live
-
kb
A minimalist command line knowledge base manager
gnebbia / kb
Index
What are some of the best open-source CLI projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | httpie | 49,944 |
2 | cheat.sh | 23,509 |
3 | sherlock | 20,733 |
4 | Python Fire | 18,690 |
5 | tqdm | 17,470 |
6 | click | 10,438 |
7 | beets | 9,946 |
8 | HTTP Prompt | 8,044 |
9 | streamlink | 5,873 |
10 | dev-setup | 5,313 |
11 | conan | 4,725 |
12 | SAWS | 4,699 |
13 | httpstat | 4,655 |
14 | typer | 4,653 |
15 | xonsh | 4,418 |
16 | isort | 3,713 |
17 | visidata | 3,628 |
18 | s3cmd | 3,546 |
19 | haxor-news | 3,246 |
20 | pipx | 3,219 |
21 | tmuxp | 2,999 |
22 | doitlive | 2,914 |
23 | kb | 2,595 |