Skip to main content

Framework M Core

PyPI version Python 3.12+ License GitLab Pipeline Status

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.37.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for framework-m-core 0.37.0
File Size Uploaded Provenance Actions
framework_m_core-0.37.0.tar.gz 318.2 kB Without provenance Details for framework_m_core-0.37.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for framework-m-core 0.37.0
File Interpreter ABI Platform Actions
framework_m_core-0.37.0-py3-none-any.whl Python 3 none any Details for framework_m_core-0.37.0-py3-none-any.whl

Total release size: 593.7 kB

Release files / framework_m_core-0.37.0.tar.gz

Download URL framework_m_core-0.37.0.tar.gz
Size 318.2 kB
Tags Source
SHA-256 checksum
How to use checksums
297c75fc9743c4d902d462dad9a7150513e423db08d8f15389bc902b0dd03280
BLAKE2b-256 checksum
How to use checksums
b05b49a9ee814a64c55b8e8374b9f3e1c6126be7ff06febc065ac13722f130da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / framework_m_core-0.37.0-py3-none-any.whl

Download URL framework_m_core-0.37.0-py3-none-any.whl
Size 275.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9025072c176751b3395baf4d6d2cec2cd2b292b57b59cfcb5b5d5fa0e0cf94d8
BLAKE2b-256 checksum
How to use checksums
5463656bc1aa9f1e685eb0afc9652ec42d8e0decc9876c135112e46bafb1704b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Security for framework-m-core 0.37.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.37.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page