Skip to main content

Derived projections, reports, and graph exports for SSOT.

Project description

🔷 ssot-views

Derived reports and graph projections for SSOT registries.

PyPI version Supported Python versions Downloads Repository hits

ssot-views provides reusable derived projections for SSOT registries.

These outputs are non-canonical views built from registry data. The registry JSON remains the source of truth; this package focuses on reports and graph exports derived from that source.

What this package owns

  • validation and certification report builders
  • summary projections
  • graph export builders for JSON and DOT output

When to use this package

Use ssot-views when you want:

  • reusable Python functions for building SSOT reports
  • graph export payloads or DOT output outside the CLI
  • a small library dedicated to derived, read-oriented views

Use another package when you want:

  • ssot-registry for core runtime APIs and mutation/validation workflows
  • ssot-cli for command-line rendering and file output
  • ssot-contracts for packaged schemas and templates
  • ssot-tui for interactive terminal browsing
  • ssot-codegen for contract metadata regeneration

Install

python -m pip install ssot-views

For local development from this repository:

python -m pip install -e pkgs/ssot-views

Public API

The top-level package currently exports:

  • build_validation_report
  • build_certification_report
  • build_summary
  • build_graph_json
  • build_graph_dot

Programmatic usage

Build a summary projection:

from ssot_views import build_summary

summary = build_summary(registry)
print(summary)

Build validation and certification reports:

from ssot_views import build_certification_report, build_validation_report

validation = build_validation_report(
    registry,
    ".ssot/registry.json",
    failures=[],
    warnings=[],
)

certification = build_certification_report(
    registry,
    ".ssot/registry.json",
    release_report={"passed": True, "boundary": {"id": "bnd:demo", "profile_ids": [], "feature_ids": []}},
)

Build graph exports:

from ssot_views import build_graph_dot, build_graph_json

graph_payload = build_graph_json(registry)
dot_text = build_graph_dot(registry)

Canonical vs derived outputs

  • Canonical: .ssot/registry.json
  • Derived: reports, summaries, graph exports, and similar projections

This distinction matters for workflow design: views are meant to be regenerated from canonical data, not edited as the source of truth.

Package relationships

  • Package type: derived-view library
  • Depends on: ssot-contracts
  • Consumed by: ssot-codegen, library users, and any tooling that needs reusable reports or graph exports

If you are building reporting, analysis, or export tooling around SSOT registries, this package is the appropriate reusable layer.

Project details


Download files

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

Source Distribution

ssot_views-0.2.7.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

ssot_views-0.2.7-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file ssot_views-0.2.7.tar.gz.

File metadata

  • Download URL: ssot_views-0.2.7.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ssot_views-0.2.7.tar.gz
Algorithm Hash digest
SHA256 203384cc775cd2787e055775cfbdb4ea23157afef75f38837f726a09cb8f9707
MD5 b4363b890bb26adbcf0888091872b23c
BLAKE2b-256 7ee2e477816eb5fc2bcadfffb0ff44b77a64d74738055717245080e093fc04ed

See more details on using hashes here.

File details

Details for the file ssot_views-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: ssot_views-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ssot_views-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1b5bebad182bbcb2612bf88795adb1fa0ed135c920e90afe7155b2f91d9227dd
MD5 b35c2e5a88bba14a041ea2a900cd8dc1
BLAKE2b-256 b246e8a1a5f3751d094ab7fa25bc26fd0c0fae927bf43e5a112a96dfb6594566

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page