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. Learn more →
Top 23 Python CLI Projects
-
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.
-
httpie
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)
-
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
-
textual
The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
streamlink
Streamlink is a CLI utility which pipes video streams from various services into a video player
-
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
-
shell_gpt
A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
-
jc
CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Checking all accounts associated with my email address? | /r/PrivacySecurityOSINT | 2023-11-12In the interest of cleaning my digital life a bit I really want to delete all of my old accounts that I no longer use. The terminal application "Sherlock" on github can search for instances of a username you input and find associated websites. Sherlock
curl https://cheat.sh/$1
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: 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.
He is probably most well know for creating FastAPI that I taught to some of my clients and Typer that I've never used.
Project mention: Show HN: Synced lyrics database with a free, easy-to-use API | news.ycombinator.com | 2024-02-23I was always frustrated that there is no solid source for synced lyrics that also offers decent API support. There is good ol' Crintsoft's MiniLyrics that is thankfully free software, was what I used a lot in my childhood, but unfortunately the API is highly obfuscated. Another popular choice is the Musixmatch API, which has a very large database of synced lyrics, but with "free" API that are reverse-engineered from their app, you will quickly run into rate-limit.
That's why I created LRCLIB. It's aimed to provide completely free synchronized lyrics for everyone, especially for FOSS music players, with zero profit intention. It currently has nearly 3,000,000 (not deduplicated) lyrics in database. You can also contribute to the database by adding and syncing lyrics for your favorite songs using the LRCGET client.
I'm trying my best to make LRCLIB server-side code open-source as soon as possible. But right now, full LRCLIB's database dumps have already been uploaded regularly and publicly, which are simply sqlite3 files. Feel free to download, look at or do anything you want with the database at https://lrclib.net/db-dumps.
Many open-source projects have already begun integrating LRCLIB, including:
- beets - music library metadata management (https://github.com/beetbox/beets)
It doesn't look like Streamlink is immune to the challenges of Twitch ads: https://github.com/streamlink/streamlink/issues/4949
Use pipx to install Cog and my aws-sso-config-builder tool in the same environment:
https://github.com/TheR1D/shell_gpt?tab=readme-ov-file#shell...
xonsh – Python-powered, cross-platform, Unix-gazing shell
Silly question: What's the difference between C++20 modules and https://conan.io? (Google was vague, and ChatGPT, you know, sometimes makes things up so I rather ask fellow humans...)
Project mention: Xonsh: Python-powered, cross-platform, Unix-gazing shell | news.ycombinator.com | 2024-02-14https://github.com/kellyjonbrazil/jc - "CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts."
Project mention: Data Science at the Command Line, 2nd Edition (2021) | news.ycombinator.com | 2024-05-06I'd like to call out one of my favorite pieces of software from the past 10 years: VisiData [1] has completely changed the way I do ad-hoc data processing, and is now my go-to for pretty much all use cases that I previously used spreadsheets for, and about half of those I previously used databases for.
It's a TUI application, not strictly CLI, but scriptable, and I figure anyone building pipelines using tools like jq, q, awk, grep, etc. to process tabular data will find it extremely useful.
----
[1]: https://visidata.org
isort: This library sorts your imports alphabetically, and automatically separates them into sections and by type. It provides a cleaner and more organised way to manage project imports.
Project mention: Collect your thoughts and notes without leaving the commnand line | news.ycombinator.com | 2024-04-11
I really like the buku terminal bookmark manager. https://github.com/jarun/buku I like that I can just `man buku` when I don't understand something and I can actually find the answer I'm looking for.
Python CLI related posts
-
Are We Modules Yet?
-
Typer: Python library for building CLI applications
-
Ask HN: What are your go to shell one-liners?
-
Building a Production-Ready Web App with T3 Stack
-
TwitchAdSolutions – Blocking Twitch Ads
-
Show HN: Another CLI tool to browse Hacker News
-
Aider: AI pair programming in your terminal
-
A note from our sponsor - InfluxDB
www.influxdata.com | 21 May 2024
Index
What are some of the best open-source CLI projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | sherlock | 51,685 |
2 | cheat.sh | 37,579 |
3 | httpie | 32,139 |
4 | tqdm | 27,570 |
5 | Python Fire | 26,379 |
6 | textual | 23,669 |
7 | click | 15,087 |
8 | typer | 14,473 |
9 | beets | 12,435 |
10 | q | 10,127 |
11 | streamlink | 9,613 |
12 | pipx | 9,061 |
13 | HTTP Prompt | 8,872 |
14 | shell_gpt | 8,391 |
15 | xonsh | 8,062 |
16 | conan | 7,844 |
17 | jc | 7,611 |
18 | visidata | 7,454 |
19 | ngxtop | 6,441 |
20 | isort | 6,326 |
21 | jrnl | 6,296 |
22 | buku | 6,172 |
23 | dev-setup | 6,032 |
Sponsored