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.39.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.39.0
File Size Uploaded Provenance Actions
framework_m_core-0.39.0.tar.gz 319.7 kB Without provenance Details for framework_m_core-0.39.0.tar.gz

Built distribution (wheel)

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

Total release size: 596.1 kB

Release files / framework_m_core-0.39.0.tar.gz

Download URL framework_m_core-0.39.0.tar.gz
Size 319.7 kB
Tags Source
SHA-256 checksum
How to use checksums
453a9bc2fb6d19d6f5f6dc59f6095de6fb043461cb9019fd2147704f82724d6e
BLAKE2b-256 checksum
How to use checksums
421840b993e9fc3ac1f90323a499872eda5ceff0979d89d5854693e45771b49c
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.39.0-py3-none-any.whl

Download URL framework_m_core-0.39.0-py3-none-any.whl
Size 276.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7df6c58abe8d44ee86db55e81e95314258a8859a74337c5879475457666ecc9
BLAKE2b-256 checksum
How to use checksums
59e072f23248818a8072c78cef8135d969f295f60408d4e1318aba5bc619fc85
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.39.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.39.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