Skip to main content

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 Cache database;
  • 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 .po files;
    • 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;

⚠️ This is under active development and might not be ready for production environments.

Testing

coverage run -m unittest && coverage html -d tests/coverage/html

Project details


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.3.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commons_library-0.4.3-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file commons_library-0.4.3.tar.gz.

File metadata

  • Download URL: commons_library-0.4.3.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for commons_library-0.4.3.tar.gz
Algorithm Hash digest
SHA256 e2ab02dac089f9fd504cf0863d9913bc75a955772d881fafdc1265af6a2179af
MD5 cd2f0c15b87ad64ee9b4b1a201ff27e5
BLAKE2b-256 13287ef376f96b346c5f15aced874cceaac266f0608f4e585d197f0b3a1f2c96

See more details on using hashes here.

File details

Details for the file commons_library-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for commons_library-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce8c2d8592b2eefab825f0dbc617899e4b9e0a6e24b32f845d90cdcccf08fdd5
MD5 ba0259a385888f89a17423c83d1c3539
BLAKE2b-256 b0794343a5206ab1801a8105380c2a514178a1200bca3b48c1d6cf6d0365b8f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page