Erdgen

Latest version: v0.1.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.2

- mypy type fix, updating pylintrc with some better ignores, ensuring pre-commit hooks are passing

0.1.1

- Adding pre-commit hooks and a better pylintrc

0.1.0

- adding some tooling (bump2version, mypy, isort)
- documenting the release process

0.0.1

This Python program generates Database Markup Language (DBML) Entity Relationship Diagram's (ERD) from the relationships node in your dbt YML files. The script parses the YML files, extracts relationships and columns, and outputs a DBML schema.

Functionality is mostly stable. Error handling is sub-optimal.

Notable issues:

- only process `.yml` files (no `.yaml` lol)
- no strong debugging/verbose mode
- does not handle cardinality in accordance with the relationship.type
- does not handle data type (all types modeled as `int` in dbml)

bash
pip install erdgen
python -m erdgen --directory <directory> --include_non_join_keys <True/False>

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.