RepositoryPythonVNVietnam
datnguye

datnguye/dbterd

Generate the ERD as a code from dbt artifacts

347stars
37forks
2issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: dbt-cloud

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: d2

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: python-api

#1 Repository Của Tuần

🧩 dbterd: Tạo ERD từ dự án dbt chỉ bằng một lệnh

Chuyển artifact dbt thành sơ đồ ERD đa định dạng: DBML, Mermaid, PlantUML, GraphViz, D2, DrawDB, JSON — tất cả đều dưới dạng code.

dbterd là một công cụ CLI bằng Python giúp bạn tự động sinh sơ đồ Entity Relationship Diagram (ERD) từ các file artifact của dbt — bao gồm cả manifest và catalog. Dự án hỗ trợ ba thuật toán phát hiện mối quan hệ thực thể khác nhau, phù hợp với cách bạn cấu trúc data contract trong dự án.

✨ Điểm nổi bật

  • Hỗ trợ ba thuật toán ERD: Test Relationships (mặc định), Semantic Entities (-a entity_relationship), Model Contract Constraints (-a model_contract)
  • Đa dạng định dạng đầu ra: DBML, Mermaid, PlantUML, GraphViz, D2, DrawDB, JSON
  • Cài đặt nhanh: Chỉ với pip install dbterd và dbterd run -ad <project_path>
  • Hỗ trợ cấu hình file: Sử dụng .dbterd.yml hoặc pyproject.toml để lưu cài đặt
  • Tích hợp VS Code: Có tiện ích mở rộng dbterd cho VS Code với giao diện đồ họa
  • Hệ sinh thái mở rộng: Kết nối với dbdocs — trang tài liệu dbt thay thế với ERD và lineage tích hợp

💡 Vì sao đáng chú ý

dbterd khác biệt ở khả năng tự động nhận diện quan hệ thực thể từ ba nguồn khác nhau — tests, semantic layer, hoặc model contracts — giúp người dùng linh hoạt chọn phương pháp phù hợp với quy trình dbt của mình. Đặc biệt, việc hỗ trợ đến 7 định dạng ERD khác nhau giúp dễ dàng tích hợp vào mọi công cụ và quy trình làm việc.


#ERD #dbt #DataModeling #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
190.1M
Jun 1, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

203.7k
Oct 29, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

406.6k
Oct 29, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

209.0k
Oct 29, 2026
RepositoryPython
tedivm/paracelsus

Visualize SQLAlchemy Databases using Mermaid or Dot Diagrams.

176
Jul 20, 2026
RepositoryPython
dbt-labs/dbt-meshify

A dbt-core python package that automates the management and creation of dbt groups, contracts, access, and versions.

129
Jan 21, 2025
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

206.3k
Aug 12, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Feb 15, 2026
RepositoryPython
Panniantong/Agent-Reach

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

106.1k
Oct 25, 2026