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.5.tar.gz (24.7 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.5-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commons_library-0.4.5.tar.gz
  • Upload date:
  • Size: 24.7 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.5.tar.gz
Algorithm Hash digest
SHA256 9edff14224312328114f35bbca36dcecb7180c5d05731202686e9216406c6cb8
MD5 15aeea88b2a6e59fc35b0a0a9e22602a
BLAKE2b-256 e7739704c9a785c0fbaa31a03a970042d701732751edbff8131c26676a86ec3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commons_library-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c74f1afa3c1687dd91516eba9bd1ba64f90c7e7ddbcd823dadb5f27158162154
MD5 9527fec433de0f05ecff43bfd8872ad1
BLAKE2b-256 d80e6cf140ecc24667e7e0680be33018826d32bde6c6ea5af21c4ec6169967d7

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