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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

framework_m_core-0.31.0.tar.gz (272.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

framework_m_core-0.31.0-py3-none-any.whl (240.4 kB view details)

Uploaded Python 3

File details

Details for the file framework_m_core-0.31.0.tar.gz.

File metadata

  • Download URL: framework_m_core-0.31.0.tar.gz
  • Upload date:
  • Size: 272.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for framework_m_core-0.31.0.tar.gz
Algorithm Hash digest
SHA256 c7bc7086d1ad7c9c4502b9c2a3d741f9917b4f0d582b3740bd513c106da42df1
MD5 01a45acc9f87a9aef36545e41a70d1ab
BLAKE2b-256 85b35d757ffa54f91b2ec49d0ddbad183c871f23d2698f0c11bf2c3061926f95

See more details on using hashes here.

File details

Details for the file framework_m_core-0.31.0-py3-none-any.whl.

File metadata

File hashes

Hashes for framework_m_core-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae24d8a13d7451f65eb26832e673cc96a48a598164d06172e45c68d1597469fa
MD5 13db4e7a65379766a85e6b7b1c7303e7
BLAKE2b-256 0b3c09234a2b9eb7a0289c2b3ed4c2f8720187787118f5ad345dbc825b1c721f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.34.1

2 files

0.34.0

2 files

0.33.1

2 files

0.33.0

2 files

0.32.0

2 files

This release

0.31.0 This release

2 files

0.30.2

2 files

0.30.1

2 files

0.30.0

2 files

0.29.2

2 files

0.29.1

2 files

0.29.0

2 files

0.28.0

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

0.24.0

2 files

0.23.1

2 files

0.23.0

2 files

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.4

2 files

0.11.2

2 files

0.9.0

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

2 files

0.5.6

2 files

0.5.5

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

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