Python Command-line

Open-source Python projects categorized as Command-line | Edit details

Top 23 Python Command-line Projects

  • cheat.sh

    the only cheat sheet you need

    Project mention: Any resource on how/where to learn terminal commands and how to use them? | reddit.com/r/linux4noobs | 2022-01-22

    curl cheat.sh/

  • q

    q - Run SQL directly on delimited files and multi-file sqlite databases (by harelba)

    Project mention: Dsq: Commandline tool for running SQL queries against JSON, CSV, Parquet, etc. | news.ycombinator.com | 2022-01-11

    dsq references a benchmark done by q (https://github.com/harelba/q/blob/master/test/BENCHMARK.md) that indicates that octosql is significantly slower.

    However, octosql's GH repo claims otherwise.

    Does anyone have any real world experience that they can share on these tools?

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • google-images-download

    Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!

    Project mention: Yararlı olabilecek Github Python repoları | reddit.com/r/AtaturkKutuphanesi | 2021-10-13
  • hug

    Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.

    Project mention: Python Web Frameworks, but not Flask or FastApi | dev.to | 2021-07-30

    Hug

  • xonsh

    :shell: Python-powered, cross-platform, Unix-gazing shell

    Project mention: 100 Languages Speedrun: Episode 66: Xonsh | dev.to | 2022-01-22

    Xonsh decided to solve this problem once and for all by going "fuck it, Python is shell".

  • jrnl

    Collect your thoughts and notes without leaving the command line.

    Project mention: How to keep an anonymous journal - the easiest way to build the habit | reddit.com/r/AskMen | 2022-01-10

    I use jrnl. It’s a Python based journaling app that can encrypt your entries. It’s awesome. https://jrnl.sh

  • buku

    :bookmark: Personal mini-web in text

    Project mention: I centralize and distribute my bookmarks | news.ycombinator.com | 2022-01-10

    And in the near future I`ll upload resources in a webarchive format to ipfs node to preserve some of the current internet (and to not get involved with rate limiting when I update my buku metadata. Sorry HN, I'm not spamming, just updating meta data for my bookmark archive.)

    https://github.com/jarun/Buku

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • doitlive

    Because sometimes you need to do it live

  • jc

    CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

    Project mention: Finding "obsolete" rules in iptables | reddit.com/r/networking | 2022-01-10
  • gpustat

    📊 A simple command-line utility for querying and monitoring GPU status

    Project mention: Firefox supports AV1 hardware acceleration on Linux | reddit.com/r/linux | 2022-01-20

    You can compare your CPU and GPU loads. For nvidia you can use gpustat or nvidia-smi I guess. For intel there is intel_gpu_top.

  • ddgr

    :duck: DuckDuckGo from the terminal

    Project mention: DuckDuckGo as a TTY | news.ycombinator.com | 2021-10-20
  • yq

    Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents (by kislyuk)

    Project mention: YAML: It's Time to Move On | news.ycombinator.com | 2021-11-14

    > Is there a yaml cli equiv to jq for json?

    You could have found this by searching the Web for "jq for yaml". <https://kislyuk.github.io/yq/>

    > yaml schema

    You could have found this by searching the Web for "yaml schema". <https://rx.codesimply.com/> <https://web.archive.org/web/2021/http://www.kuwata-lab.com/k...>

    In practice, schemas designed for operating on the JSON infoset (not the serialisation) will also work.

  • PyInquirer

    A Python module for common interactive command line user interfaces

    Project mention: Prompt GUI from CLI on Ubuntu | reddit.com/r/linux_programming | 2021-11-12

    I use PyInquirer. It's a nice-appeal CLI with custom possibilities that works with dictionaries.

  • itermplot

    An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.

    Project mention: iTerm2 back end for Matplotlib – plot directly in your terminal | news.ycombinator.com | 2021-04-27
  • lookatme

    An interactive, terminal-based markdown presenter

    Project mention: JUT | Read Notebooks in the Terminal | dev.to | 2021-11-23

    lookatme - Terminal Markdown slideshow tool

  • pyp

    Easily run Python at the shell! Magical, but never mysterious.

    Project mention: A Tour of the Oil Language | news.ycombinator.com | 2021-09-15

    Thank you for the extensive and thoughtful comment! This does help clarify your approach quite considerably. I wonder, since you are hoping to attract collaborators, whether there is some kind of formal spec for the language somewhere? For example, you mentioned parallel efforts: suppose I wanted to write a port to pure C; is there any way, short of reading every one of your posts and trying to contain the whole language in my head at once, for me to know exactly what I need to implement?

    Something I've been trying to figure out: what is the exact relationship at present between OSH and Oil? When you say "OSH" do you mean the language, or the shell itself "oil shell"? If Oil is not something I can download, why exactly does that `const v = max(1, 2)` statement work in osh? It's clearly not just a Bash implementation, it's got other features. Is that a subset of Oil's features? Which subset?

    Since you're also interested in other shells, you might have a look at pyp [1]. It captures a lot of the way I personally would like to use some future shell. If the features of pyp were integrated into the shell itself, you wouldn't need an external command, you could just (for example) pipe the output of one program into a python-like statement that mangles the incoming strings in some way, and pipe that out to some xargs-like program to use in a subshell. (The fact that you apparently can't use the pipe in what Xonsh calls "Python mode" is for me the central limiting feature of that shell.)

    [1] https://github.com/hauntsaninja/pyp

  • shell-functools

    Functional programming tools for the shell

    Project mention: shell-functools: good first project in Rust | reddit.com/r/rust | 2021-03-11

    Examples: https://github.com/sharkdp/shell-functools#documentation-and-examples

  • elodie

    An EXIF-based photo assistant, organizer, manager and workflow automation tool.

    Project mention: Ask HN: What's your approach to personal data archiving and backups? | news.ycombinator.com | 2021-09-13

    I wrote this tool to normalize folder and file names <https://github.com/jmathai/elodie>.

    I wrote about the rest of the system in the following posts.

    1. https://medium.com/@jmathai/introducing-elodie-your-personal...

    2. https://medium.com/@jmathai/understanding-my-need-for-an-aut...

    3. https://medium.com/@jmathai/my-automated-photo-workflow-usin...

    4. https://medium.com/@jmathai/one-year-of-using-an-automated-p...

  • scanless

    online port scan scraper

    Project mention: Awesome Penetration Testing | dev.to | 2021-10-06

    scanless - Utility for using websites to perform port scans on your behalf so as not to reveal your own IP.

  • imgp

    :camera_flash: Fast batch image resizer and rotator

    Project mention: imgp - Fast batch image resizer and rotator in Python | reddit.com/r/linux | 2022-01-25
  • Suplemon

    :lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!

    Project mention: Medium to Big projects? please help | reddit.com/r/learnprogramming | 2021-12-07

    lets say you want to re write a project like this https://github.com/richrd/suplemon/tree/master/suplemon

  • yolo-tf2

    yolo(all versions) implementation in keras and tensorflow 2.x

    Project mention: How to write a resume for python / ML jobs? | reddit.com/r/learnmachinelearning | 2021-02-06

    my most useful project is yolo object detector implementation in tf2 and I'm currently working on 2 other projects, one of which is the implementation of various drl algorithms in tf and the other project will be based on the latter and it's concerned with trading. The rest are more of scripts rather than projects ex: web scraping, file management, programming challenges ...

  • shyaml

    YAML for command line

    Project mention: Simple script that allow read access to YAML files through command line | reddit.com/r/commandline | 2021-02-28
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-25.

Python Command-line related posts

Index

What are some of the best open-source Command-line projects in Python? This list will help you:

Project Stars
1 cheat.sh 28,054
2 q 8,903
3 google-images-download 7,858
4 hug 6,586
5 xonsh 5,424
6 jrnl 5,165
7 buku 4,934
8 doitlive 3,084
9 jc 2,837
10 gpustat 2,705
11 ddgr 2,260
12 yq 1,724
13 PyInquirer 1,453
14 itermplot 1,350
15 lookatme 1,097
16 pyp 1,068
17 shell-functools 1,023
18 elodie 926
19 scanless 908
20 imgp 852
21 Suplemon 766
22 yolo-tf2 730
23 shyaml 692
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms