SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python CLI Projects
-
For this blog post, we were asked to get started in the world of open source and explore top trending GitHub repos. I began by looking through different repositories, trying to find something related to Cloud, but nothing caught my interest. Then, I started browsing more broadly and came across sherlock-project/sherlock, which instantly grabbed my attention. Here's my fork 🍴: https://github.com/hpatel292-seneca/sherlock.
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
-
-
httpie
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)
Notice in the above http POST syntax using HTTPie test client that we specified our first table using /db/review/_expand which says that we want the review table expanded with data from the film table. We further also added some expand (join) conditions table, fields, type prior to the http POST in a JSON Array payload.
-
-
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.
-
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.
Recently, I found a long desired framework that treats the terminal via a DOM/CSS approach named Textual [https://textual.textualize.io]. In order to explore this framework I started developing a terminal based TUI RPN (styled in the aesthetic of a classic HP 15C pocket) calculator. So far this TUI RPN calculator has classic HP styled buttons, LCD display and some of the basic math operations. This is very much a W.I.P. Any engagement welcome.
-
Project mention: GitHub Named a Leader in the Gartner First Magic Quadrant for AI Code Assistants | news.ycombinator.com | 2024-08-23
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.
-
How to Accomplish: Design your scripts to accept command-line arguments or read from configuration files for all variable parameters, such as learning rates, batch sizes, and paths to datasets. Libraries like Click, Fire, and Typer make it easy to implement CLI-based configurations, while configuration file parsers (e.g., JSON, YAML) allow for more complex setups.
-
Project mention: Beets 2.0 release: mpd compatible music library manager and MusicBrainz tagger | news.ycombinator.com | 2024-06-17
-
-
## Install `jpsapp` is [distributed by PyPI](https://pypi.org/project/jpsapp/) and can be installed with [pipx](https://github.com/pypa/pipx): ``` pipx install jpsapp ```
-
streamlink
Streamlink is a CLI utility which pipes video streams from various services into a video player
Project mention: Streamlink is a command-line utility which pipes video streams | news.ycombinator.com | 2024-08-19 -
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.
Project mention: Anyone else using a terminal LLM? (+my prototype) | news.ycombinator.com | 2024-08-22I was wondering if anyone else is using a minimal terminal LLM. What I mean is a small cli application that lets you use stdin/stdout/etc to just pipe data to/from an llm (provider agnostically).
For me this method has become my favorite way of using of LLMs (when I only need text IO) - but I suspect that I've (once again) just reinvented the wheel here. Previously I used https://github.com/TheR1D/shell_gpt, but I ran into a few reliability and usability issues with it.
The way this works for me, is that I just launch a terminal which automatically starts a new LLM session, and I can use the CLI to load and manipulate previously saved sessions.
Maybe in the future, what I see is that once could launch a generic LLM daemon on one's computer to just expose an API for any other tool to use, like an equivalent of an LSP, but for LLM instead of coding editors.
end rant, any ideas? Feedback? :)
-
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
-
-
include(FetchContent) FetchContent_Declare(conan URL https://github.com/conan-io/conan/releases/download/2.3.2/conan-2.3.2-linux-x86_64.tgz ) FetchContent_Populate(conan) if (conan_POPULATED) set(CONANEXE ${conan_SOURCE_DIR}/conan) set(CONAN_AVAILABLE TRUE) endif()
-
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: Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON | news.ycombinator.com | 2024-07-03How is this different to this https://github.com/kellyjonbrazil/jc
-
Project mention: Data Science at the Command Line, 2nd Edition (2021) | news.ycombinator.com | 2024-05-06
I'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
-
Project mention: Ngtop – Request analytics from the Nginx access logs | news.ycombinator.com | 2024-07-30
ngxtop is also very useful for providing real-time metrics:
https://github.com/lebinh/ngxtop
-
Project mention: Use a Work Journal to Recover Focus Faster and Clarify Your Thoughts | news.ycombinator.com | 2024-07-12
This has become one of my favourite tools over the last couple of years:
https://jrnl.sh
-
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.
-
# .pre-commit-config.yaml (28.06.2024) repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - repo: https://github.com/PyCQA/isort rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black rev: 24.4.2 hooks: - id: black - repo: https://github.com/pycqa/flake8 rev: 7.1.0 hooks: - id: flake8 - repo: local hooks: - id: django-check name: Run Django Check entry: python manage.py check language: system pass_filenames: false types: [python]
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python CLI discussion
Python CLI related posts
-
Cheat.sh/:Firstpage
-
How I ended up building my own AI Dev Assistant from scratch
-
Introduction for OSD600 class
-
Semantra: Multipurpose tool for semantically searching documents
-
Xonsh is a Python-powered shell
-
My first post - Hi, dev.to
-
Show HN: Strict interfaces and dep management for Python, written in Rust
-
A note from our sponsor - SaaSHub
www.saashub.com | 9 Sep 2024
Index
What are some of the best open-source CLI projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | sherlock | 57,463 |
2 | cheat.sh | 38,079 |
3 | httpie | 33,300 |
4 | tqdm | 28,299 |
5 | Python Fire | 26,846 |
6 | textual | 24,943 |
7 | aider | 17,524 |
8 | click | 15,486 |
9 | typer | 15,304 |
10 | beets | 12,707 |
11 | q | 10,181 |
12 | pipx | 10,020 |
13 | streamlink | 9,908 |
14 | shell_gpt | 9,251 |
15 | HTTP Prompt | 8,933 |
16 | xonsh | 8,295 |
17 | conan | 8,117 |
18 | jc | 7,779 |
19 | visidata | 7,775 |
20 | ngxtop | 6,455 |
21 | jrnl | 6,440 |
22 | buku | 6,440 |
23 | isort | 6,438 |