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.38.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.38.0
File Size Uploaded Provenance Actions
framework_m_core-0.38.0.tar.gz 318.5 kB Without provenance Details for framework_m_core-0.38.0.tar.gz

Built distribution (wheel)

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

Total release size: 594.0 kB

Release files / framework_m_core-0.38.0.tar.gz

Download URL framework_m_core-0.38.0.tar.gz
Size 318.5 kB
Tags Source
SHA-256 checksum
How to use checksums
542e1cf5eb54bb1d9086778c9322c79c36061e5b68e2859014edaabf656cec5d
BLAKE2b-256 checksum
How to use checksums
2eee24f8442bdee69964436adda372a5081de17e096d13040e867e1906de2091
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.38.0-py3-none-any.whl

Download URL framework_m_core-0.38.0-py3-none-any.whl
Size 275.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c4f2eb5ee1cfc779878a421478428fe765daaf85fa6d5c93566c50762a6d2e9
BLAKE2b-256 checksum
How to use checksums
abb616a740985c93985fd9983a93ec6cf78a1b9c4d24ccf2c60ab9995ec42e9a
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.38.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.38.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