Common dependencies for Python 3 software development and data management.
Project description
commons-lib
This is a common library for dependencies that might be useful on Python Development.
It offers:
- A thread-safe Database Adapter + Data Migration executor powered by SQLModel ORM (sqlalchemy) and Pydantic;
- Local Key-Value Cache database, powered byu SQLite;
- Better logging configuration via
commons.logging; - Dynamic runtime import (
commons.runtime); - Local/HTTP Remote Resource representation powered by httpx;
- Currency support (
commons.currencies):- Currencies in ISO-4217 format powered by pycountry;
- Brazilian Pix support;
- Bitcoin (BTC) and Monero (XMR) support;
- Live currencies quotation from Wise and cryptocompare.com;
- Payment QRCode generation for cryptocurrencies and Pix;
- Support for i18n via Babel (
commons.locale):- Wraps common features and format methods from Babel;
- Automatically compile
.pofiles; - Extracts translatable strings from source-code;
- Notification System (powered by apprise):
- SMTP tool for sending messages (to be replaced);
- Media support:
- Media/MIME Types (
commons.media.mimetypes); - Document Processor;
- Image Processor (
commons.media.images); - Audio Processor;
- Video Processor;
- Subtitle Processor;
- Media/MIME Types (
⚠️ This is under active development and might not be ready for production environments.
Testing
coverage run -m unittest && coverage html -d tests/coverage/html
Build
uv build && twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
commons_library-0.4.8.tar.gz
(27.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file commons_library-0.4.8.tar.gz.
File metadata
- Download URL: commons_library-0.4.8.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
592547240864f76e417ad4079564d2e4a9993c2d64c55a888e81d1b7e7036911
|
|
| MD5 |
e76579c6d9bfb8bf300ed6f87490a0e8
|
|
| BLAKE2b-256 |
d5c23524ac21f54116e89d91d57df795c44b8970af3e277da7d81ab365533404
|
File details
Details for the file commons_library-0.4.8-py3-none-any.whl.
File metadata
- Download URL: commons_library-0.4.8-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73cc6bc23e39dac2ecc91a5acfc848838d85726901f205d19cc15a35a42fd3e7
|
|
| MD5 |
04303b2b0a641a8c9aab4dd44e668ad8
|
|
| BLAKE2b-256 |
7e5ef61cd944afbe00cbd3ddcc88f79cb8800f3287fd6293b2ad26c585139981
|