Building Machine Editions reader resources

Free starter v0.1

Free starter for Building Machine Editions

Inspect a record in the public SROW Reference Specimen v0.1.0 and follow its provenance to the source.

Use these materials without an account or purchase.

Download the starter

1. Download and validate the specimen

Open a terminal in an empty folder. You’ll need Python 3.10 or later, Git, curl, unzip and shasum. The verified setup used macOS 15.7.4 on Apple Silicon and Python 3.14.3.

Setup downloads the public Developer Kit, its Python dependencies and the specimen. Validation and lookup then run locally without a model service. The Kit’s Git tag is v0.1.1 and the Python distribution version is 0.1.0. The specimen ZIP comes from the earlier v0.1.0 release.

(
  set -eu
  git clone --depth 1 --branch v0.1.1 --single-branch https://github.com/lynnmedia/machine-edition-devkit.git devkit
  kit_commit=$(git -C devkit rev-parse HEAD)
  test "$kit_commit" = c7aa4eb800ae15ce5728218457f275fc7a713d81
  printf 'Developer Kit commit %s\n' "$kit_commit"
  python3 -m venv .venv
  .venv/bin/python -m pip --disable-pip-version-check --no-cache-dir install -e ./devkit

  specimen_zip=srow-public-reference-specimen-v0.1.0.zip
  curl --fail --silent --show-error --location --output "$specimen_zip" \
    "https://github.com/lynnmedia/machine-edition-devkit/releases/download/v0.1.0/$specimen_zip"
  printf '%s  %s\n' ebe193fca0609de8e957d8e88e2a26bddb5fe6490e41a5be44f6bf05cad26151 "$specimen_zip" \
    | shasum -a 256 -c
  unzip -q "$specimen_zip" -d specimen
  .venv/bin/python -m machine_edition_devkit.validate specimen/package
)

Continue when the checksum reports OK and validation reports ME_CONFORMANT.

2. Trace one record

In the same folder, load the downloaded package, look up a meaning unit by ID and follow its provenance record.

.venv/bin/python - <<'PY'
from machine_edition_devkit.parse import MachineEdition

edition = MachineEdition.load("specimen/package")
unit = edition.get_unit("srow.ref.mu.003")
source = edition.provenance(unit)
print(f"{unit.id} -> {source.id} -> {source.source_url}")
PY

Expected result

srow.ref.mu.003 → prov.public-srow-framework → https://winmedia.com/frameworks/srow

Find srow.ref.mu.003 in specimen/package/meaning-units.jsonl. Its provenance_id matches the record in provenance.jsonl that supplies the source URL. Validation covers structural conformance under Machine Edition Specification v0.1.

This starter uses an existing public package. The eBook companion walks through building and comparing a package in the full ME-01 exercise.

Sources and licenses

The SROW Public Reference Specimen is credited to Lynn Media / WinMedia and licensed under CC BY 4.0 within the authorized public scope. Keep the specimen’s attribution and notices with any copy.

The Developer Kit’s code, schemas, examples and kit-authored documentation carry the MIT license.

Included with the eBook

The WinMedia purchase includes EPUB v0.6 and ME-01 Reader Companion v0.2 with the book’s full exercise materials.