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

Uploaded Python 3

File details

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

File metadata

  • Download URL: framework_m_standard-0.8.0.tar.gz
  • Upload date:
  • Size: 706.5 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.8.0.tar.gz
Algorithm Hash digest
SHA256 94dc278fee473b32dd552c01e18efd5d4a47bafb2c08005b254d003f6cc81aea
MD5 17dff6d690c0bb3f9a2201cb5827cf94
BLAKE2b-256 4a9fd8414d5b689485cbcab52b539ebc21b7c880422adca417bc3977704d0152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for framework_m_standard-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab313e506e338d6a5e5aa25a3c9c3b5638ef801a7830bfe25977ac7846a26890
MD5 aeb6ad87aaaa76bd6719414f1be26bd2
BLAKE2b-256 2296c10e1b9aaf8e0f72611e4c617d1cf07b49c3c1ce24b59577cd9c9ef3177e

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