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 23 Python Command-line Projects
the only cheat sheet you need
q - Run SQL directly on delimited files and multi-file sqlite databases (by harelba)
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.
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
:shell: Python-powered, cross-platform, Unix-gazing shellProject mention: Is it possible for a python program to set up a ssh server? | reddit.com/r/learnpython | 2023-02-01
It's definitely possible, but it may be very hard. I have no idea how ssh hooks into a shell. It maybe that the interface is not replicable in python without writing your own hook library in c. You might look at creating a remote driver for a python shell, like this one: https://xon.sh/
Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
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: Human redable multiline string into Json. | reddit.com/r/json | 2023-01-26
As others have mentioned you can use YAML to create the values and then convert the YAML to JSON. Here's how you can do that at the command line with jc:
Collect your thoughts and notes without leaving the command line.Project mention: How do you create time-stamped text files for personal diaries or work logs? | reddit.com/r/commandline | 2023-01-16
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
:bookmark: Personal mini-web in textProject mention: Searching for a tag based bookmark manager | reddit.com/r/software | 2022-12-03
Buku is solid.
Because sometimes you need to do it live
📊 A simple command-line utility for querying and monitoring GPU statusProject mention: CUDA out of memory Error | reddit.com/r/StableDiffusion | 2022-10-26
Do you have steam or other gaming platforms installed? There may be another service using ram. You could also check the ram with a cli tool https://github.com/wookayin/gpustat
:duck: DuckDuckGo from the terminalProject mention: What video(s) really demonstrates how effective and helpful vim can be? | reddit.com/r/vim | 2023-01-03
Leveraging filter commands (i.e. :!) to easily/quickly manipulate lines or entire buffers/files. For example, :!date will run the external date and show you results, but :.!date (which is done by typing !! then date will run the external date command and put the result on the current line. But, also, if you have the word date on a line, then you can run :.!bash (which is done by typing !! then bash), which will execute the command date and replace the current line with the result. There are infinite uses for this, like :!sort (for sorting text), :!column -t (for aligning/tabulating text), :!awk for text manipulation, :!ddgr duckduckgo cli, ...etc
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents (by kislyuk)Project mention: The YAML Document from Hell | news.ycombinator.com | 2023-01-12
A library for users to write (experiment in research) configurations in Python Dict or JSON format, read and write parameter value via dot . in code, while can read parameters from the command line to modify values. 一个供用户以Python Dict或JSON格式编写（科研中实验）配置的库，在代码中用点.读写属性，同时可以从命令行中读取参数配置并修改参数值。Project mention: Commandline-config: A library for users to write (experiment in research) configurations in Python Dict format, while can read parameters from the command line. 一个供用户以Python Dict或JSON格式编写（科研中实验）配置的库，同时可以从命令行中读取参数。 | reddit.com/r/Python | 2022-09-20
A Python module for common interactive command line user interfacesProject mention: To that guy who told me about argparse | reddit.com/r/learnpython | 2022-02-03
I second click, combine with PyInquirer as well. Unfortunately PyInquirer is EOL, but they are trying to find a successor https://github.com/CITGuru/PyInquirer/issues/159
Save your dotfiles once, deploy them everywhereProject mention: Is there a tool for synchronizing nvim configuration? | reddit.com/r/neovim | 2022-12-02
I use dotdrop
An interactive, terminal-based markdown presenter
Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!Project mention: Any Good Recommendations for a Tutorial on PyTermGUI? | reddit.com/r/commandline | 2022-09-24
Talking about resources, their docs are pretty good and contains some examples too. Documentation: https://ptg.bczsalba.com/pytermgui.html
An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.
Manage many git repos with sanity 从容管理多个git库Project mention: mani, a CLI Tool to Manage Multiple Repositories | dev.to | 2022-05-02
Easily run Python at the shell! Magical, but never mysterious.Project mention: Easily handle CLI operation via Python instead of regular Bash programs | news.ycombinator.com | 2022-02-11
I wrote a similar tool a while back that lets you create your own "magic" variables. I use `f` all the time! https://github.com/hauntsaninja/pyp#pyp-lets-you-configure-y...
Functional programming tools for the shell
An EXIF-based photo assistant, organizer, manager and workflow automation tool.Project mention: Year old indie mobile app: what worked for the long haul | news.ycombinator.com | 2023-01-07
I have an 8 year old app that reminds me a lot of this article.
Something that's worked really well for me was that I created a plugin feature and most new features are actually plugins. This lets me add capabilities without touching or adding logic to the core code.
Last night I added SQLite support as a plugin. 2 code files and one is unit tests. https://github.com/jmathai/elodie/pull/443/files
I don't know if this is the best approach but it's worked better than others in my 20+ years of writing software.
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Command-line related posts
Human redable multiline string into Json.
1 project | reddit.com/r/json | 26 Jan 2023
Multiple Cheatsheets For Linux Developers And Quick Access Short Codes To Them!
1 project | reddit.com/r/coding | 24 Jan 2023
diffdate: a really simple tool to get the number of days between two dates
1 project | reddit.com/r/commandline | 16 Jan 2023
I just released ckit - A CLI utility to manage and run frequently used commands.
2 projects | reddit.com/r/Python | 9 Jan 2023
What video(s) really demonstrates how effective and helpful vim can be?
4 projects | reddit.com/r/vim | 3 Jan 2023
Name a program that doesn't get enough love!
67 projects | reddit.com/r/linux | 29 Dec 2022
3 projects | reddit.com/r/ProgrammerHumor | 29 Dec 2022
A note from our sponsor - Sonar
www.sonarsource.com | 2 Feb 2023
What are some of the best open-source Command-line projects in Python? This list will help you: