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

Uploaded Python 3

File details

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

File metadata

  • Download URL: commons_library-0.4.4.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.4.tar.gz
Algorithm Hash digest
SHA256 faa1921c0b6789205963cff1268d97649737e40b1827356d7ce84c2614a63fea
MD5 71b0b7982ddb60949bbdf4d98f0b06ff
BLAKE2b-256 9bdc4a76fb340db0fa4371c967900c6e2cb63afb88ac81c8bca2b6189b78c584

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commons_library-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be96ba1607073f48960de2e0cfaa5979180556c8e30070869e5929c952d50c81
MD5 dc71a61546817d73eeebe018f6d61462
BLAKE2b-256 307883dc0737d3eb9d9701bf6afebc5ad5d545e445e898ec3ed81915e7c07626

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