Python Console

Open-source Python projects categorized as Console

Top 23 Python Console Projects

  • tqdm

    :zap: A Fast, Extensible Progress Bar for Python and CLI

    Project mention: Neat Parallel Output in Python | news.ycombinator.com | 2024-02-25

    yeah my code needs to use multiprocessing, which does not play nice with tqdm. thanks for the tip about positions though, that helped me search more effectively and came up with two promising comments. unmerged / require some workarounds, but might just work:

    https://github.com/tqdm/tqdm/issues/1000#issuecomment-184208...

  • ranger

    A VIM-inspired filemanager for the console

    Project mention: Z – Jump Around | news.ycombinator.com | 2024-01-15

    Came to post zoxide. Also if you use `ranger`[1] (vim inspired file manager) then you might like to add the `ranger-zoxide` plugin[2].

    1. https://github.com/ranger/ranger

    2. https://github.com/jchook/ranger-zoxide

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

  • gdb-dashboard

    Modular visual interface for GDB in Python

    Project mention: Everything You Never Wanted to Know About CMake (Redux) | news.ycombinator.com | 2023-06-25

    Disclaimer: I'm making a competing build system.

    I won't tell you specific build systems, but I will tell you what to look for.

    Look for power. Unlimited power. [1]

    Usually, this means a few things:

    1. The build system uses a general-purpose language, even if the language needs features to be added.

    2. The build system does not reduce the power of the general-purpose language. For example, say it starts with Python but prohibits recursion. In that case, you know it is not unlimited power. Looking at you, Starlark.

    3. The build can be dynamically changed, i.e., the build is not statically determined before it even begins.

    4. Each task has unlimited power. This means that the task can use a general-purpose language, not just run external processes.

    5. And there has to be some thought put it in user experience.

    Why are these important? Well, let's look at why with CMake, which fails all of them.

    For #1, CMake's language started as a limited language for enumerating lists. (Hence, CMakeLists.txt is the file name.) And yet, it's grown to be as general-purpose as possible. Why? Because when you need an if statement, nothing else will do, and when you need a loop, nothing else will do.

    And that brings us to #2: if CMake's language started limited, are there still places where it's limited? I argue yes, and I point to the article where it says that your couldn't dynamically call functions until recently. There are probably other places.

    For #3, CMake's whole model precludes it. CMake generates the build upfront then expects another build system to actually execute it. There is no changing the build without regenerating it. (And even then, CMake did a poor job until the addition of `--fresh`.) A fully dynamic build should be able to add targets and make others targets depend on those new targets dynamically, among other things.

    For #4, obviously CMake limits what tasks can do because Ninja and Make limit tasks to running commands.

    As another example, to implement a LaTeX target, you technically need a while loop to iterate until a fixed point. To do that with Make and Ninja, you have to jump through hoops or use an external script that may not work on all platforms.

    CMake obviously fails #5, and to see how much other build systems fail it, just look for comments pouring hate on those build systems. CMake fails the most, but I haven't seen one that passes yet.

    As an example, CMake barely got a debugger. Wow! Cool! It's been 20 years! My build system will have a debugger in public release #2 (one after the MVP) that will be capable of outputting to multiple TTY's like gdb-dashboard. [2] They should have had this years ago!

    Should other comments suggest specific build systems, like the one that suggested Bazel, judge them by this list. Some will be better than others. None will pass everything, IMO, which is why I'm making my own.

    [1]: https://youtube.com/watch?v=Sg14jNbBb-8

    [2]: https://github.com/cyrus-and/gdb-dashboard

  • xonsh

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

    Project mention: Xonsh: Python-powered, cross-platform, Unix-gazing shell | news.ycombinator.com | 2024-02-14

    You need to downgrade ptk version. Look here - https://github.com/xonsh/xonsh/issues/5241#issuecomment-1961...

  • buku

    :bookmark: Personal mini-web in text

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

    Terminal-based CPU stress and monitoring utility

    Project mention: Is X1 Carbon gen 6 a decent (beginner) Linux machine? | /r/thinkpad | 2023-05-08

    There's a way of doing it via s-tui.

  • asciimatics

    A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

    Project mention: What is your go-to UI framework? | /r/learnpython | 2023-06-27

    For small apps, I may choose a TUI (Terminal User Interface). Curses for Python is very lightweight, but quite low level and difficult to use for anything more than a very simple interface (if your app tries to draw outside of the drawing area, the app crashes, so you have to carefully manage every detail). Textual and asciimatics are both mature TUI frameworks that provide a higher level and more Pythonic way to create TUI's.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • nvitop

    An interactive NVIDIA-GPU process viewer and beyond, the one-stop solution for GPU process management.

    Project mention: Why does stable diffusion hold onto my vram even when it’s doing nothing. It works great for a few images and then it racks up so much vram usage it just won’t do anything anymore and errors out. Is there a way to free up VRAM every so often? RX 6700XT 12GB VRAM | /r/StableDiffusion | 2023-03-25

    Hey, thanks for that. I think I found what you mentioned: https://github.com/XuehaiPan/nvitop

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

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

  • radian

    A 21 century R console

    Project mention: VSCode R session hangs when outputting grapgs | /r/rstats | 2023-05-01

    I had a lot of long input-related hang ups using the base R shell when a lot of code was involved and I never had an issue like that after I switched to radian. It is supported (and recommended) by the VSCode R extension and just much easier to use w/ long blocks of code.

  • asciichart

    Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS, browsers and terminal, no dependencies

  • video-to-ascii

    It is a simple python package to play videos in the terminal using characters as pixels

    Project mention: Ask HN: How to come up with a useful, coding hobby project? | news.ycombinator.com | 2023-08-27

    pal to ascii : https://github.com/joelibaceta/video-to-ascii

    --------

    [0] : https://en.wikipedia.org/wiki/Philo_Farnsworth

    [1] : punch card : https://www.youtube.com/watch?v=Oke-7lsvFug

          original pearl programming : https://www.youtube.com/watch?v=gALLuttm8tI

  • Terminus

    Bring a real terminal to Sublime Text (by randy3k)

    Project mention: Just started learning programming to learn how to scrape. | /r/SublimeText | 2023-06-05

    Terminal: https://github.com/randy3k/Terminus

  • dronesploit

    Drone pentesting framework console

    Project mention: Hacking a wifi drone | /r/hacking | 2023-03-12
  • RecoverPy

    Interactively find and recover deleted or :point_right: overwritten :point_left: files from your terminal

    Project mention: RecoverPy 2.1.3: A Linux tool to recover deleted or overwritten files | /r/opensource | 2023-10-23
  • imgp

    :camera_flash: Fast batch image resizer and rotator

  • 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: [ine] a simple terminal based text editor made only using bultin python functions | /r/Python | 2023-05-28

    Very cool. Been thinking about taking on a similar project as well. BTW, you should check out suplemon. It's a terminal text editor written in python and inspired by sublime text.

  • yaspin

    A lightweight terminal spinner for Python with safe pipes and redirects 🎁

    Project mention: Access LangChain with ChatGPT right from your CLI | /r/ChatGPT | 2023-04-16

    https://pypi.org/project/yaspin/ (alternatives often aren't pipe/redirect-safe)

  • pulsemixer

    CLI and curses mixer for PulseAudio

    Project mention: Bought a replacement for my old x230, but didn't want to go bigger. Hello X280 :) | /r/thinkpad | 2023-06-08
  • stig

    TUI and CLI for the BitTorrent client Transmission

  • NoteSH

    NoteSH fully functional sticky notes App in your Terminal!

  • pdd

    :date: Tiny date, time diff calculator with piggybacked timers

  • WorkOS

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

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-02-25.

Python Console related posts

Index

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

Project Stars
1 tqdm 27,043
2 ranger 14,644
3 gdb-dashboard 10,194
4 xonsh 7,803
5 buku 6,031
6 s-tui 3,772
7 asciimatics 3,488
8 nvitop 3,483
9 ddgr 2,816
10 pytermgui 1,979
11 radian 1,869
12 asciichart 1,764
13 video-to-ascii 1,604
14 Terminus 1,340
15 dronesploit 1,331
16 RecoverPy 1,142
17 imgp 999
18 Suplemon 783
19 yaspin 709
20 pulsemixer 661
21 stig 539
22 NoteSH 399
23 pdd 368
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com