GPUtil is a Python module for getting the GPU status from NVIDA GPUs using
nvidia-smi. GPUtil locates all GPUs on the computer, determines their availablity and returns a ordered list of available GPUs. Availablity is based upon the current memory consumption and load of each GPU. The module is written with GPU selection for Deep Learning in mind, but it is not task/library specific and it can be applied to any task, where it may be useful to identify available GPUs.
nvidia-smi aside, all of its dependencies are in the basic Python install.
jc JSONifies the output of many CLI tools and file-types for easier parsing in scripts. This allows further command-line processing of output with tools like jq or jello by piping commands. The jc parsers can also be used as python modules.
TinyXMPP is a small XMPP client library for Python applications. It allows developers to easily connect to XMPP servers and exchange messages in a fast and secure way.
The only demo code seems to be in the README right now.
Elara DB is an easy to use, lightweight NoSQL database written for python that can also be used as a fast in-memory cache for JSON-serializable data. Includes various methods and features to manipulate data structures in-memory, protect database files and export data. Can serialize and dump to disk for storage and restoration. Integrity checking built in.
Not a server, it's an embedded database.
Converter from Markdown to the Gemini text format. It works as a Python module, or a command line application. One of its key features is that it can convert inline links into footnotes. It also supports tables, and will convert them into Unicode (or ASCII) tables. Anything else that it doesn't understand will remain the same as when you wrote it, like strikethrough for example.
I'm considering trying my hand at writing Pelican plugins with this module, so I can set up a Gemini site with my existing blog.
HPI is a Python package (named my), a collection of modules for social networks (posts, comments, favorites), reading (e-books and pdfs), annotations, todos and notes, health data, location data, photos & videos, browser history and instant messaging. The package hides the gory details of locating data, parsing, error handling and caching. You simply ‘import’ your data and get to work with familiar Python types and data structures.
Chepy is a python library with a handy cli that is aimed to mirror some of the capabilities of CyberChef. A reasonable amount of effort was put behind Chepy to make it compatible to the various functionalities that CyberChef offers, all in a pure Pythonic manner. There are some key advantages and disadvantages that Chepy has over Cyberchef. The Cyberchef concept of stacking different modules is kept alive in Chepy.
jinabox.js is a lightweight, customizable set of components for querying and displaying results from Jina flows. You can use it for searching text, images, videos, audio or any kind of data with a Jina backend.
PyWebIO provides a series of imperative functions to obtain user input and output from the browser, turning the browser into a "rich text terminal", and can be used to build simple web applications or browser-based GUI applications without needing to have knowledge of HTML and JS. PyWebIO can also be easily integrated into existing Web services. PyWebIO is very suitable for quickly building applications that do not require a complex UI.
Interact with the REPL and see things happen in a browser window.
Can work alongside other webapp frameworks in Python, like Django, Flask, and FastAPI. asyncio out of the box. Supports third-party data visualization modules, like bokeh and plotly.
A fork of youtube-dlc with additional features and fixes. SponSkrub integration to remove sponsor sections in videos. Output file format sorting. Merges in some nifty options from other forks of the original youtube-dl. Adds a few new extractors.
I really need to modify Downloadbot to use this instead.
pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation.
A Python module for building parsing expression grammars. Build recognizers combinatively, i.e., by plugging together discrete examples of things to look for. Very useful for command parsers.
Panoramisk is a library based on python's AsyncIO to play with Asterisk's manager.
It uses the TCP manager server to listen to events and send actions.
For basic usage, you have some examples in examples/ folder.
RQ (Redis Queue) is a simple Python library for queueing jobs and processing them in the background with workers. It is backed by Redis and it is designed to have a low barrier to entry. It can be integrated in your web stack easily.
Don't know what type of hash it is? Name That Hash will name that hash type! Identify MD5, SHA256 and 3000+ other hashes. Comes with a neat web app (which is optional). Can also be pulled in as a Python module for use in other projects.
Telegram is a popular messaging application. This library is meant to make it easy for you to write Python programs that can interact with Telegram. Think of it as a wrapper that has already done the heavy job for you, so you can focus on developing an application. Designed for use with a user or a bot account (bot API alternative).
A set of utility functions for iterators, functions, and dictionaries.
pText is a pure python library to read, write and manipulate PDF documents. It represents a PDF document as a JSON-like datastructure of nested lists, dictionaries and primitives. Extract and edit metadata, extract and edit text and images, add annotations.
Seems like it would be useful for a large-scale indexing effort.
A Python module that makes it easy to build interactive text-mode interfaces. Question/answer (or stimulus/response) structure. Has different terminal widgets (text entry, password text entry, y/n, cursoring around with arrow keys, etc) for different kinds of questions.
A simple (rule-based) bot library for Signal Private Messenger in Python. Please note that this library is unofficial, unapproved and not nearly as secure as the real Signal clients. Has a bunch of example bots to use as reference material for your own.
3745 links, including 199 private