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.6.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.6-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commons_library-0.4.6.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.6.tar.gz
Algorithm Hash digest
SHA256 46bb9641f392ccd15eee0ce294fdd59c8f8c5ce5122948821c9b47138d14a77f
MD5 c68931bd8057262316942a32443831f3
BLAKE2b-256 9e5cf43e1307e339629da5acb55eabcece66dd0b3dfc4cc7ca86c09eea66b963

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commons_library-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8f928c1ae7cc7d0f69797f248809b0eb434fca48ae767a9d00eb866fd4dc1bed
MD5 c380f1347508c305c5f1e0d610a17710
BLAKE2b-256 b715b0cccbba720a60c64e71edc0fb212ece5c9d324efcaefd7ef82920e02525

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