Skip to main content

xuml-metamodel

The empty Shlaer-Mellor executable-UML metamodel schema, packaged as a single versioned wheel.

It ships a matched pair of artifacts, both generated from one parse of the SM metamodel by make-xuml-repo:

  • mmdb.ral — the empty metamodel database schema (runtime data, loaded into TclRAL)
  • mmclass_nt.py — the _i named tuples, one per metamodel class (imported code)

Because each named tuple's fields are exactly the corresponding relvar's attributes, the two files must always come from the same generation. Shipping them together in one wheel, stamped with a single schema version, guarantees a consumer can never mix mismatched halves.

Usage

from xuml_metamodel import metamodel_version, mmdb_path
from xuml_metamodel.mmclass_nt import Attribute_i, Class_i  # etc.

print(metamodel_version)   # e.g. "1.0.0"
schema = mmdb_path()       # absolute path to the packaged mmdb.ral

Versioning

The wheel version is the metamodel schema version (see schema_version.txt in make-xuml-repo). It is independent of the make-xuml-repo tool version and is bumped only when the metamodel classes or attributes change:

  • major / minor — attribute rename/reorder or class removal (breaks tuple compatibility)
  • patch — additive, backward-compatible changes

Consumers (e.g. xuml-populate) pin a compatible range so the tuples and schema they load can never drift apart.

Rebuilding

This package is assembled from freshly generated artifacts by build_package.py in the make-xuml-repo repo. It is not edited by hand.

Metadata

Release files for xuml-metamodel 1.0.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 xuml-metamodel 1.0.0
File Size Uploaded
xuml_metamodel-1.0.0.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xuml-metamodel 1.0.0
File Interpreter ABI Platform
xuml_metamodel-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.1 kB

Release files / xuml_metamodel-1.0.0.tar.gz

Download URL xuml_metamodel-1.0.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a0f957178b001892c8cbda930c87b67f5863be9e3eb37063cfa6ba9d0c7068e
BLAKE2b-256 checksum
How to use checksums
90ce424cddd233587f72069ff838c950821e40d62ca456c704df6433ce3c8b26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / xuml_metamodel-1.0.0-py3-none-any.whl

Download URL xuml_metamodel-1.0.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
714a55b9cdb2f23d3b6767683f6b7394b92de0a6361f6e40f68e45cdd3f5c2b0
BLAKE2b-256 checksum
How to use checksums
7b0cdb48facf6beb1f38d643b640aa170ea8e59dd3fecdee853358f90c9a5377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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