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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file byaml-0.4.0a1.tar.gz.
File metadata
- Download URL: byaml-0.4.0a1.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a205fbe41ed9518d6d13687709c212aa9642ac001e739d23c8f25dde44cae228
|
|
| MD5 |
e01a829872b4c63ae78d518e56b7b229
|
|
| BLAKE2b-256 |
eca01f0c9e0d3cb497f6344cd990d94d8e434f69b1e93667ecb85c5eea3c8f7a
|
File details
Details for the file byaml-0.4.0a1-py3-none-any.whl.
File metadata
- Download URL: byaml-0.4.0a1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29cd94643e13e5073988f176c9fccbe32a3084b8f4c868247f9cba860bf6d2f
|
|
| MD5 |
dc133b2cbebd74f54091c4efb1c3f12b
|
|
| BLAKE2b-256 |
a26026f69db47328fc0725ef611766b2f1b26fda3ed4592ab20f504dcfeeb667
|