A Python 3 module that does one thing and one thing very well: Calculate linear regressions of arrays of data.
asciimatics is a cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.
It brings a little joy to anyone who was programming in the 80s... Oh and it provides a single cross-platform Python class to do all the low-level console function you could ask for, including coloured and styled text, cursor positioning and manipulation, keyboard interaction, mouse input, console resizing, anti-aliased line drawing, sprites, animation, particle systems, and UI widgets.
pyglet is a powerful, yet easy to use Python library for developing games and other visually-rich applications on Windows, Mac OS X and Linux. It supports windowing, user interface event handling, Joysticks, OpenGL graphics, loading images and videos, and playing sounds and music. All of this with a friendly Pythonic API, that's simple to learn and doesn't get in your way.
Simplistic and stateless XMPP implementation for python. A building block for non-blocking XMPP clients, components, gateways and servers. This library was mostly written from scratch, except for the xmpp.sasl which is a modified copy of the contents of the pyxmpp2 library by Jacek Konieczny.
The activeworkflow_agent library helps you to write your own ActiveWorkflow agents in Python using ActiveWorkflow's remote agent API. “Remote” in this context means that agents run in separate processes from ActiveWorkflow itself. Communication between agents and ActiveWorkflow takes place via HTTP. Each agent is effectively an HTTP service or microservice which ActiveWorkflow connects to and interacts with as long as it supports the remote agent API protocol.
A pure Python-implemented database that looks and works like MongoDB. Supports in-memory, flat file, SQLite, and lmdb storage. Seems very flexible.
DictDataBase is a simple and fast database for handling json or compressed json as the underlying storage mechanism. Multi threading and multi processing safe. ACID compliant. No database server required. Simply import DictDataBase in your project and use it. JSON files can be stored normally or compressed. Fast. Heavily unit tested.
Textual adds interactivity to Rich with a Python API inspired by modern web development. It's kind of like a framework but for console tools.
On modern terminal software (installed by default on most systems), Textual apps can use 16.7 million colors with mouse support and smooth flicker-free animation. A powerful layout engine and re-usable components makes it possible to build apps that rival the desktop and web experience. If you've seen something as a desktop app, chances are you could also build it as a console application with Textual.
Play elevator music in the background while your script runs.
from script_background_music import play_music_in_background play_music_in_background()
TinyFlux is a time series version of TinyDB that is also written in Python and has no external dependencies. It's a great companion for small analytics workflows and apps, as well as at-home IOT data stores. Python datetime objects are first-class citizens and queries are optimized for time, above all else. Designed to be simple and fun to use by providing a simple and clean API that can be learned in 5 minutes. The current source code has 4,000 lines of code (with about 50% documentation) and 4,000 lines tests. TinyFlux is about 150kb, unzipped. TinyFlux needs neither an external server nor any dependencies.
CaskDB is a disk-based, embedded, persistent, key-value store based on the Riak's bitcask paper, written in Python. It is more focused on the educational capabilities than using it in production. The file format is platform, machine, and programming language independent. Say, the database file created from Python on macOS should be compatible with Rust on Windows.
This project aims to help anyone, even a beginner in databases, build a persistent database in a few hours. There are no external dependencies; only the Python standard library is enough.
A library for evaluating tabletop dice roll expressions. Supports rolling multiple dice (3d6), dice arithmetic (adding die rolls together), dice with arbitrary numbers of sides (5d13), keeping or dropping the highest or lowest rolls, exploding dice (roll a maximum value, roll and add an extra die), and more.
Scapy is a powerful interactive packet manipulation program. It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more. It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery (it can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tshark, p0f, etc.). It also performs very well at a lot of other specific tasks that most other tools can’t handle, like sending invalid frames, injecting your own 802.11 frames, combining technics (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted channel, …), etc.
Scapy runs natively on Linux, Windows, OSX and on most Unixes with libpcap (see scapy’s installation page). The same code base now runs natively on both Python 2 and Python 3.
gcprand is a Python library for gathering Global Consciousness Project Dot data and generating psychorandom numbers seeded by nooetic activity. It is a thoroughly unconventional entropy generator in the tradition of Cloudflare's LavaRand.
Reading through the code could provide insights into how to pull and analyze the data myself.
For something in between a pytorch and a karpathy/micrograd. This may not be the best deep learning framework, but it is a deep learning framework. Due to its extreme simplicity (<= 1000 lines of code), it aims to be the easiest framework to add new accelerators to, with support for both inference and training. Support basic ops and you get SOTA vision and language models.
ViperDB is a lightweight embedded key-value store written in pure Python. It has been designed for being extremely simple while efficient. The main db file consists of just ~300 lines of code. Thanks to the small codebase, every single line of code is tested. Takes design concepts by log-structured databases such as Bitcask. Written in pure Python - no external dependency needed.
A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
Create UIs for your machine learning model in Python in 3 minutes. Quickly create customizable UI components around your models. Gradio makes it easy for you to "play around" with your model in your browser by dragging-and-dropping in your own images, pasting your own text, recording your own voice, etc. and seeing what the model outputs.
Reddit Persona is a python module that extracts personality insights, sentiment & interests from a user account. Support for subreddit analysis not working due to praw update v3--> v5, fix incoming ).
Text is collected via reddit's python API, praw, and NLP is powered by the indico.io API.
Remi is a GUI library for Python applications that gets rendered in web browsers. This allows you to access your interface locally and remotely. There is also a drag-n-drop GUI Editor. Look at the Editor subfolder to download your copy.
No HTML knowledge is required, Remi does it all for you automatically.
Looks fairly straightforward to use, provided that you start using it at the beginning. I don't know how easy it would be to retrofit existing code.