Skip to content

Releases: neo-andrew-moss/erdgen

v0.1.2

14 Jun 18:02
v0.1.2
fdfbfeb
Compare
Choose a tag to compare
  • mypy type fix, updating pylintrc with some better ignores, ensuring pre-commit hooks are passing

v0.1.1

14 Jun 17:09
v0.1.1
220e21a
Compare
Choose a tag to compare
  • Adding pre-commit hooks and a better pylintrc

v0.1.0

14 Jun 16:41
v0.1.0
6698cf2
Compare
Choose a tag to compare
  • adding some tooling (bump2version, mypy, isort)
  • documenting the release process

Initial release

05 Jun 21:38
1616733
Compare
Choose a tag to compare

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)
pip install erdgen
python -m erdgen --directory <directory> --include_non_join_keys <True/False>