Python Command-line

Open-source Python projects categorized as Command-line

Top 23 Python Command-line Projects

  • cheat.sh

    the only cheat sheet you need

  • Project mention: Show HN: Cheat.sh Client | news.ycombinator.com | 2024-04-06
  • q

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

  • 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.

    InfluxDB logo
  • google-images-download

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

  • xonsh

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

  • Project mention: This Week In Python | dev.to | 2024-03-09

    xonsh – Python-powered, cross-platform, Unix-gazing shell

  • 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: Xonsh: Python-powered, cross-platform, Unix-gazing shell | news.ycombinator.com | 2024-02-14

    https://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."

  • hug

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

  • jrnl

    Collect your thoughts and notes without leaving the command line.

  • Project mention: Collect your thoughts and notes without leaving the commnand line | news.ycombinator.com | 2024-04-11
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • buku

    :bookmark: Personal mini-web in text

  • Project mention: Buku: Personal Mini-Web in Text | news.ycombinator.com | 2024-01-29
  • gpustat

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

  • Project mention: Nvtop: Linux Task Monitor for Nvidia, AMD and Intel GPUs | news.ycombinator.com | 2024-03-12

    My favorite would be gpustat [1]. This shows the bare minimum amount of information to let's me know that the training has problems/running well

    [1] https://github.com/wookayin/gpustat

  • doitlive

    Because sometimes you need to do it live

  • gif-for-cli

  • ddgr

    :duck: DuckDuckGo from the terminal

  • Project mention: Add Link to selection without using the browser | /r/ObsidianMD | 2023-06-29

    Using the shell commands plugin and ddgr, I managed to create a nice trick, which allows you to add the link to selected text without having to google it (hard to describe, but the gif should give you the idea). Here is how it works: - install the shell commands plugin https://obsidian.md/plugins?id=obsidian-shellcommands - install ddgr https://github.com/jarun/ddgr - add the following code as shell command: bash query="{{selection}}" link=$(ddgr --num=1 --json "$query" | grep "url" | cut -d'"' -f4) mdlink="[$query]($link)" echo -n "$mdlink" - in the settings for that shell command, set the stdout to "current file: caret position" - you are good to go. (Maybe give it a hotkey)

  • yq

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

  • Project mention: Jaq – A jq clone focused on correctness, speed, and simplicity | news.ycombinator.com | 2023-11-29
  • CommandlineConfig

    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格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

  • pytermgui

    Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!

  • Project mention: Using Textual to Build a ChatGPT TUI App | dev.to | 2023-07-21

    Several libraries, such as urwid or PyTermGUI, allow the development of TUI applications in Python. For enhancing the functionality and aesthetics of TUI apps, they offer some fundamental and more sophisticated utilities. But there is one package that is truly exceptional and might even be so amazing that it sparks a TUI renaissance (I really wanted to put "TUI renaissance" somewhere in this article).

  • lookatme

    An interactive, terminal-based markdown presenter

  • Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11

    However, I also use lookatme for terminal presentations written in markdown.

  • PyInquirer

    A Python module for common interactive command line user interfaces

  • dotdrop

    Save your dotfiles once, deploy them everywhere

  • Project mention: GNOME Extensions: How do people normally sync their settings to other laptops/desktops? | /r/gnome | 2023-05-07
  • gita

    Manage many git repos with sanity 从容管理多个git库

  • Project mention: Gita: Manage multiple Git repositories with sanity | news.ycombinator.com | 2023-07-18
  • itermplot

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

  • pyp

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

  • Project mention: Modern Linux Tools vs. Unix Classics: Which Would I Choose? | news.ycombinator.com | 2023-09-23

    > I too can never remember jq syntax when I need to. I usually just end up writing a Python script

    Same here! That's why for small things I made pyxargs [1] to use python in the shell. In another thread I also just learned of pyp [2] which I haven't tried yet but looks like it'd be even better for this use case.

    [1] https://github.com/elesiuta/pyxargs

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

  • elodie

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

  • cleo

    Cleo allows you to create beautiful and testable command-line interfaces.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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 2024-04-11.

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 37,399
2 q 10,109
3 google-images-download 8,495
4 xonsh 7,954
5 jc 7,506
6 hug 6,815
7 jrnl 6,256
8 buku 6,136
9 gpustat 3,830
10 doitlive 3,398
11 gif-for-cli 2,907
12 ddgr 2,845
13 yq 2,449
14 CommandlineConfig 2,045
15 pytermgui 2,028
16 lookatme 1,966
17 PyInquirer 1,884
18 dotdrop 1,739
19 gita 1,602
20 itermplot 1,480
21 pyp 1,362
22 elodie 1,218
23 cleo 1,220
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com