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:

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.10.tar.gz (6.9 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.10-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ssot_views-0.2.10.tar.gz
  • Upload date:
  • Size: 6.9 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.10.tar.gz
Algorithm Hash digest
SHA256 d21a0481528330237383135c957f0b4720a91f4f8503578e3be9793a904919d9
MD5 45e44b8c1497d8206e6f53ad92d27009
BLAKE2b-256 93e2bb530aa722cf2596dff7f649666dbb40bd49a829f97cddb90cdfd23c85cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ssot_views-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 79739a4b2d1cf11f85ae3104964ba8e030ad9d214c9cc10d605fee8de587aaf9
MD5 70efa576af98718a8940c35be98fd53e
BLAKE2b-256 1596917a8aa59726fd5f05ffb93e28bc44105d4fa72f067be53a7ade23f08d26

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