Skip to content

fontlab_echopy.tooling.identities

identities

Ship the captured identity contract so documentation can reconcile it offline.

The raw capture is a local input and is not distributed. This manifest records every captured scope, name, class member and constructor, the source identity the generator gives each one, and the merge facts documentation needs. Deriving it reads the capture and the merged package; it never rewrites the sidecars.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
MANIFEST attribute
RETAINED attribute
derive_identities function (capture: Path | bytes, package: Path) -> dict[str, Any] Derive the manifest; the capture must be the one the package was built from.
retain_scopes function (package: Path, tops: list[str]) -> dict[str, Any] Extract retained modules' rows from the shipped, verified manifest.
verify_identities function (capture: Path, package: Path) -> dict[str, Any] Re-derive from the raw capture; a missing capture fails instead of skipping.
write_identities function (capture: Path | bytes, package: Path) -> dict[str, Any] Write only the manifest file into the merged package.