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.1
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.1.tar.gz | 305.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| framework_m_core-0.35.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 570.4 kB
Release files / framework_m_core-0.35.1.tar.gz
| Download URL | framework_m_core-0.35.1.tar.gz |
|---|---|
| Size | 305.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec9970198199fe187016d45ff808f02fd9841f3564a97f2dc1b27fb9dd42198b
|
|
BLAKE2b-256 checksum How to use checksums |
1d80e33bb408f3ae630e0989d961cc16564e7e2bdeabcca80e1840a8a76d385c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / framework_m_core-0.35.1-py3-none-any.whl
| Download URL | framework_m_core-0.35.1-py3-none-any.whl |
|---|---|
| Size | 264.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb08c8a0236c80d86719cfcd04de625cda38719bdc81597251a508ff98b3faab
|
|
BLAKE2b-256 checksum How to use checksums |
5513763a0ce1e30824468bfbaeeff21fc43b72922499452acfcbe16edc9f2e28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|