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

Uploaded Python 3

File details

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

File metadata

  • Download URL: commons_library-0.4.7.tar.gz
  • Upload date:
  • Size: 25.0 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.7.tar.gz
Algorithm Hash digest
SHA256 7bfdb6d5fb4a0f25efb66d04a3e0e5eb6bc7d1ea1d2b21b584e4bd5661fb2aab
MD5 fa44ea1c6511cc4e89e086a9bc4c6c47
BLAKE2b-256 c36bcc6c5000a72e989464662ddacf6551f82e215544147b0a23b1f8064bfcde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commons_library-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 065e2d4656d53d7fcce56f0786e991241b83da403dee0d75147a0b5135063de3
MD5 cf8184c8f88ff3cbd4b273b1a42c7c2e
BLAKE2b-256 420f964a6b0ad5e62b37ec05f011942a073dfb52e613aca8e18826322c9cb997

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