Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

byaml — SOFE Architecture Graph v0.4 (BYaML v2)

BYaML v2 — relanzamiento graph-first bajo breakingthecloud (Apache-2.0). Un solo modelo (grafo) · serialización BYaML solo para interop · interfaces AI-native (MCP).

Paquete PyPI byaml con el Architecture Graph v0.4: models, validate, convert, dump/load. El grafo lo consume nan-graph como motor (traversal, blast radius, cost chain, SPOF).

Instalar

pip install byaml

Uso

from byaml import Graph, load, dump, validate, from_terraform, from_evaluation

# Validate
g = load("graph.byaml")
ok, issues = validate(g, schema="v0.4")

# Convert IaC → graph
g = from_terraform("tfplan.json", account="279624932954")

# Convert SOFE evaluation → graph
g = from_evaluation(findings, cost_map, eval_id="8f2a...")

CLI

byaml validate out.byaml
byaml convert --terraform tfplan.json -o graph.byaml
byaml dump --json graph.byaml

Modelo (graph-first)

  • Nodes = recursos/servicios (id, type, layer, region, account, cost, findings, owner)
  • Edges = relaciones tipadas (from, to, type, weight)
  • Catalog = catalog.yaml (baseline ≥17 tipos desde SOFE collectors, expandible)
  • Relationships = relationships.yaml (matriz from/to/type; fuera de matriz → WARNING)

Ver SPEC.md en breakingthecloud/byaml-spec.

Metadata

Release files for byaml 0.4.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for byaml 0.4.0a1
File Size Uploaded Provenance
byaml-0.4.0a1.tar.gz 42.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for byaml 0.4.0a1
File Interpreter ABI Platform
byaml-0.4.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 55.8 kB

Release files / byaml-0.4.0a1.tar.gz

Download URL byaml-0.4.0a1.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a205fbe41ed9518d6d13687709c212aa9642ac001e739d23c8f25dde44cae228
BLAKE2b-256 checksum
How to use checksums
eca01f0c9e0d3cb497f6344cd990d94d8e434f69b1e93667ecb85c5eea3c8f7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / byaml-0.4.0a1-py3-none-any.whl

Download URL byaml-0.4.0a1-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a29cd94643e13e5073988f176c9fccbe32a3084b8f4c868247f9cba860bf6d2f
BLAKE2b-256 checksum
How to use checksums
a26026f69db47328fc0725ef611766b2f1b26fda3ed4592ab20f504dcfeeb667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Security for byaml 0.4.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

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