Framework M Core
Core protocols and foundation for Framework M.
Overview
Framework M Core provides the essential primitives and architectural patterns used throughout the framework:
- Protocol Interfaces (Ports): Standardized interfaces for repositories, events, storage, and more.
- Domain Base Classes: BaseDocType, BaseController, and essential mixins.
- Dependency Injection: A robust DI container for clean, testable code.
- CLI Kernel: The core command-line framework built on Cyclopts.
For detailed interface documentation, please refer to the official Framework M API Docs.
Dependency Injection
Built on dependency-injector for clean, testable code:
from framework_m_core.container import Container
container = Container()
container.wire(modules=["my_app.services"])
CLI Framework
Built on cyclopts for powerful command-line interfaces:
from framework_m_core.cli import app
@app.command
def my_command():
"""My custom command."""
pass
Usage
This package is typically used as a dependency of framework-m or framework-m-standard.
For most applications, install the full framework-m package instead.
License
Apache 2.0 License - see LICENSE for details.
Metadata
Release files for framework-m-core 0.35.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| framework_m_core-0.35.0.tar.gz | 305.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| framework_m_core-0.35.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 570.4 kB
Release files / framework_m_core-0.35.0.tar.gz
| Download URL | framework_m_core-0.35.0.tar.gz |
|---|---|
| Size | 305.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b0711d4956759344b170914e34e971f3837edc86215fea906e22414ae957466
|
|
BLAKE2b-256 checksum How to use checksums |
14550563169c82deb2abde3d46af0003378ee1e0a2afb3773b278e0bad85b444
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / framework_m_core-0.35.0-py3-none-any.whl
| Download URL | framework_m_core-0.35.0-py3-none-any.whl |
|---|---|
| Size | 264.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7119c6b2d96c9db81ec3aea149214e9552c03e8cfc090d588e2824158950951d
|
|
BLAKE2b-256 checksum How to use checksums |
823d146929f244142a52acf1b8d106d3b43f482b42c77eb266a55e7d4676d2aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|