Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 17 Python Command-line Application Development Projects
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.Project mention: What is the status of Python 3.11? | reddit.com/r/archlinux | 2023-03-10
Turn (almost) any Python command line program into a full GUI application with one lineProject mention: Speak English to me, The secret World of Programmers | news.ycombinator.com | 2023-03-16
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Python composable command line interface toolkitProject mention: Overhead of Python Asyncio Tasks | news.ycombinator.com | 2023-03-08
I don't have huge experience with Python, but I used async code with C#/Typescript and lately I had to use some asyncio magic.
I found this article: https://blog.dalibo.com/2022/09/12/monitoring-python-subproc... and while async/await syntax is the same, it's not entirely clear for me, why there's some event loop and what exactly happens, when I pass function to asyncio.run(), like here: https://github.com/pallets/click/issues/85#issuecomment-5034...
So, you can use it and it's not that hard, but there are some parts that are vague for me, no matter which language implements async support.
Typer, build great CLIs. Easy to code. Based on Python type hints.Project mention: How to make a CLI? | reddit.com/r/bash | 2023-03-17
I used this template repo to make a bash cli https://github.com/SierraSoftworks/bash-cli then I made a brew formula to make it installable. It provide a nice way to make a cli with nested commands like git. As others mentioned other languages like python have great support for making nice clis see https://typer.tiangolo.com/ for an example framework in python. I chose bash because packaging a python cli for a private brew package is a pain and 99% of what I needed the cli to do was inkoke other clis, so bash made sense for my case.
Library for building powerful interactive command line applications in PythonProject mention: Show HN: Replbuilder, quickly build a Python REPL CLI prompt | news.ycombinator.com | 2023-02-19
> The purpose is not to do this however, the goal for a repl cli is usually to invoke a set of particular, already implemented commands, not on the fly python input and output. The implementation will be predefined and packaged, repl are only used to run a list of specific commands with arguments that implementation has already defined.
That's a very strange definition for a REPL, I would just call that an (interactive) CLI. Maybe that's why you couldn't find anything when you were doing your search? I used python-prompt-toolkit  when building such interfaces. pgcli  is an example of such an interface built with prompt-toolkit.
It has a lot of nice autocomplete and readline emulation options. Maybe it's something you can integrate with your project.
Pythonic command line arguments parser, that will make you smileProject mention: Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5 | news.ycombinator.com | 2023-03-16
For anyone unfamiliar, docopt is an established standard for specifying arguments in a script’s doc string. I use it for Python and it’s lovely. You’re going to write a docstring with examples anyway, why not make them functional?
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animationsProject mention: I'm making a notes app and am up to making an 'edit' feature, but have no way of making changes to a file's contents, let alone saving the changes and writing them to the file | reddit.com/r/learnpython | 2023-01-19
Scroll down to the TUI example in the README, just above the documentation link: https://github.com/peterbrittain/asciimatics
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Simple cross-platform colored terminal text in PythonProject mention: New IP Osint Tool! | reddit.com/r/hacking | 2022-07-26
Pyshark: https://github.com/KimiNewt/pyshark Requests: https://github.com/psf/requests Colorama:https://github.com/tartley/colorama
Plumbum: Shell CombinatorsProject mention: Diagram as Code | news.ycombinator.com | 2022-06-23
if you liked that, you'll love Plumbum :)
Application Framework for Python
An argparse wrapper that doesn't make you say "argh" each time you deal with it. (by neithere)
Command Line Interface Formulation Framework. Mirror of code maintained at opendev.org.
Command Line Manager + Interactive Shell for Python Projects
Python Command-line Application ToolsProject mention: A game called "Hand Cricket" | reddit.com/r/Python | 2022-10-10
Since you are building a TUI (textual user interface), you might benefit from libraries like https://github.com/kennethreitz-archive/clint or https://github.com/Textualize/rich
keep your machine's shell history synchronize
Simple Terminal Styling for Python (by skabbass1)
A CLI framework based on asyncio
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Command-line Application Development related posts
Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5
5 projects | news.ycombinator.com | 16 Mar 2023
How to make a CLI?
2 projects | reddit.com/r/bash | 17 Mar 2023
Speak English to me, The secret World of Programmers
7 projects | news.ycombinator.com | 16 Mar 2023
What is the status of Python 3.11?
2 projects | reddit.com/r/archlinux | 10 Mar 2023
Overhead of Python Asyncio Tasks
1 project | news.ycombinator.com | 8 Mar 2023
Typer: CLI building library based on Python type hints
1 project | news.ycombinator.com | 5 Mar 2023
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
11 projects | reddit.com/r/Python | 3 Mar 2023
A note from our sponsor - Sonar
www.sonarsource.com | 25 Mar 2023
What are some of the best open-source Command-line Application Development projects in Python? This list will help you: