Skip to main content

MCMS Core

mcms_core provides shared infrastructure and foundational abstractions used across the Modular CMS packages. It is intended to contain cross-cutting primitives rather than features belonging to a specific CMS domain.

Responsibilities

The ADRs establish the following shared concerns:

  • Common exception hierarchy.
  • Shared registry abstraction and its registration contract.
  • Foundational infrastructure used by higher-level packages.

Package-specific behaviour should remain in the package that owns that domain.

Registry contract

MCMS registries follow the shared registration convention:

registry.register(name, item)

A registry associates a name with an item. Package-specific registries may extend the common registry, but should not introduce incompatible registration conventions or assume singleton behaviour unless a separate decision explicitly establishes it.

Exception hierarchy

The exception ADR defines MCMSError as the common MCMS exception base and identifies these categories:

Exception Purpose
MCMSError Base exception for MCMS errors
ConfigurationError Invalid or unusable configuration
RegistryError Registry-related failures
ValidationError Invalid domain or input data
SerializationError Serialization and deserialization failures
DependencyError Missing or invalid dependencies

Use the package's actual exported names and constructor signatures as defined by the implementation.

Architectural integrations

mcms_core is a foundational package. Other MCMS packages may depend on it for shared abstractions such as registries and exceptions. It should not depend on higher-level packages such as the editor, pages, templates, or rendering implementation.

Higher-level MCMS packages
       |
       v
   mcms_core

Application configuration

The ADRs do not define a global application setting or path for mcms_core. It should not require the host apps/ directory merely to use its foundational Python abstractions. Add application-specific references only if the implementation introduces a documented integration.

Dependencies

Architectural integrations

This package is intended to be a low-level dependency for other MCMS packages. Avoid introducing dependencies on domain-specific packages.

Python distribution dependencies

All MCMS Packages rely on django

Development

uv run pytest packages/mcms-core/tests

Run Ruff and mypy using the repository's configured commands.

Metadata

Release files for mcms-core 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for mcms-core 0.1.0
File Interpreter ABI Platform Actions
mcms_core-0.1.0-py3-none-any.whl Python 3 none any Details for mcms_core-0.1.0-py3-none-any.whl

Release files / mcms_core-0.1.0-py3-none-any.whl

Download URL mcms_core-0.1.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d80f951a9b2f762bf6900a025b879b7bf5bcb59c7abc6f3672f84471fc2d3e46
BLAKE2b-256 checksum
How to use checksums
a23264ba8f65441e0fbedf75a336f7c6ffdadd35bcf1239e190359fcda91acac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"21.3","id":"virginia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mcms-core 0.1.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.1.0 This release

1 release file 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