Core protocols and dependency injection for Framework M
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file framework_m_core-0.11.4.tar.gz.
File metadata
- Download URL: framework_m_core-0.11.4.tar.gz
- Upload date:
- Size: 183.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
014c0e564d2cbd87d6682910c6f68be6010dae9e1d15f56884662280b3335abb
|
|
| MD5 |
efcb306717c7be52c6a1b8c17ccbca75
|
|
| BLAKE2b-256 |
9446b89a4fbc497ce2c10b1fe8b0e821f66ea9bc5f46ef0fd6eded003786c26d
|
File details
Details for the file framework_m_core-0.11.4-py3-none-any.whl.
File metadata
- Download URL: framework_m_core-0.11.4-py3-none-any.whl
- Upload date:
- Size: 136.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
085a549333fdba223dc540848d8d6b202efbebc869068bdbba8f63b0f9121229
|
|
| MD5 |
eb2c4e16b777cbc480659902493a2b19
|
|
| BLAKE2b-256 |
87ebe8e58e649990cccde15767ae8d9f5b1dd65b4e2411f3e9f1f68a297f7608
|