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.40.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.40.0
File Size Uploaded Provenance Actions
framework_m_core-0.40.0.tar.gz 323.3 kB Without provenance Details for framework_m_core-0.40.0.tar.gz

Built distribution (wheel)

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

Total release size: 601.6 kB

Release files / framework_m_core-0.40.0.tar.gz

Download URL framework_m_core-0.40.0.tar.gz
Size 323.3 kB
Tags Source
SHA-256 checksum
How to use checksums
abbd374bc90574d519194329a991f867b4987f7e7ce87afea1ddcaca57042a3d
BLAKE2b-256 checksum
How to use checksums
af6fbf57a037784cd9d40c17d0596262d4fce94b0f6af94a9e09b057085a5272
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.40.0-py3-none-any.whl

Download URL framework_m_core-0.40.0-py3-none-any.whl
Size 278.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aacd1b1c95f46cdfc9be64d3c8b5d66ddc98f76ef0bda39467ab8f06d80f65e
BLAKE2b-256 checksum
How to use checksums
4c48d3449e24f0ce39ed79463b1432c3d4c4dffc4fb74acb8a24aba1f1d80746
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.40.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.40.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