Skip to main content

Default adapters for Framework M (SQLAlchemy, Redis, Litestar)

Project description

Framework M Standard

PyPI version Python 3.12+ License GitLab Pipeline Status Code style: ruff

Default adapters and Desk UI serving for Framework M.

Installation

pip install framework-m-standard

Or with uv:

uv add framework-m-standard

Default adapters and infrastructure implementations for Framework M.

Overview

Framework M Standard provides a set of batteries-included adapters for the core protocols:

  • Database: SQLAlchemy-based repositories and automatic schema mapping.
  • Web: Litestar integration with auth guards and Desk UI serving.
  • Async I/O: Redis-backed caching and event bus implementations.
  • Background Jobs: Taskiq integration for reliable job processing.

These adapters are designed to work together seamlessly but can be swapped individually as needed.

Usage

This package is typically used as a dependency of framework-m. For most applications, install the full framework-m package instead.

from framework_m_standard.adapters.db import GenericRepository
from framework_m_standard.adapters.cache import RedisCacheAdapter
from framework_m_standard.adapters.web.app import create_app

License

Apache 2.0 License - see LICENSE for details.

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

framework_m_standard-0.6.5.tar.gz (714.9 kB view details)

Uploaded Source

Built Distribution

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

framework_m_standard-0.6.5-py3-none-any.whl (587.9 kB view details)

Uploaded Python 3

File details

Details for the file framework_m_standard-0.6.5.tar.gz.

File metadata

  • Download URL: framework_m_standard-0.6.5.tar.gz
  • Upload date:
  • Size: 714.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for framework_m_standard-0.6.5.tar.gz
Algorithm Hash digest
SHA256 66566c3c254f0addf12e9c5c716c27874830ae28bf0373a833aafbbed57f94ba
MD5 1f89d1cbc08f717cd3ec6abc1208299b
BLAKE2b-256 f8c8f428f42d15adfb33f6f0d73a5f3410267283922e4666618ff8c540b1796d

See more details on using hashes here.

File details

Details for the file framework_m_standard-0.6.5-py3-none-any.whl.

File metadata

File hashes

Hashes for framework_m_standard-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b73bc0d5be45c83ca5bb62ef85bc7420fe3c37b6ba11a2df7bb45e25f60a1562
MD5 a3caea6fb4421993e368448789615f17
BLAKE2b-256 73d598910315d85a01c131b43fb968ba0e6fd4a10d810b9623e93acd811ff362

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