sqlalchemy_data_model_visualizer
Dev tools
diagram generator
SHOW HN2023
sqlalchemy_data_model_visualizer
Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram
github.com#sqlalchemy#erd diagram#graphviz#data model visualization#svg
How HN took it
4 positive, 3 neutral or asking, 0 mixed, 2 critical, out of 9 comments about the project. Thread score +0.18.
Idea: 4 for, 1 againstExecution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for onboarding new devs and CI schema diagrams
From 2 comments
This is great, especially to introduce new devs to models. I use (and love) TablePlus (https://tableplus.com/) which has a diagram generator plugin that does the same!
arsalanb on HNNice, I hacked together something similar many moons ago, it looks like some fine folks have kept on maintaining and improving it:…
ants_a on HN
Graphviz does the heavy lifting well
From 1 comment
Yes, Graphviz is doing all the actual hard work here. It's an awesome library.
eigenvalue on HN
Objections
Fails with older SQLAlchemy versions due to declarative_base import
From 2 comments
>>> from sqlalchemy_data_model_visualizer import generate_data_model_diagram python3.11/site-packages/sqlalchemy_data_model_visualizer.py", line 5, in <module> from…
throwaw33333434 on HNfrom sqlalchemy.orm import sessionmaker, relationship from sqlalchemy.ext.declarative import declarative_base
throwaw33333434 on HN
Requests
Interactive hover highlighting of tables and connections
From 1 comment
I made this last week for fun, but I think it could be useful for people. If your application has pretty complicated SQLalchemy data models (and the app I'm working on now has…
eigenvalue on HN
Support for SQLAlchemy Core schemas, not only ORM models
From 1 comment
Looks good. I guess this only works for models defined using ORM and not schemas defined using the tools in SQLAlchemy Core?
NoboruWataya on HN
Questions
Does it work with SQLAlchemy Core-defined schemas?
From 1 comment
Looks good. I guess this only works for models defined using ORM and not schemas defined using the tools in SQLAlchemy Core?
NoboruWataya on HN
Alternatives named
sqlalchemy_schemadisplay
From 1 comment
Nice, I hacked together something similar many moons ago, it looks like some fine folks have kept on maintaining and improving it:…
ants_a on HN
Django-schema-viewer
From 1 comment
Nice. I've been using Django-schema-viewer and it's been great. This makes me wonder if its UI could be decoupled from Django...
adr1an on HN
TablePlus diagram generator
From 1 comment
This is great, especially to introduce new devs to models. I use (and love) TablePlus (https://tableplus.com/) which has a diagram generator plugin that does the same!
arsalanb on HN
DataGrip and DBeaver ER diagrams
From 1 comment
Your tool looks great. In regards to difficulty finding alternatives, many database management tools (like DataGrip and Dbeaver) have ER diagram generators that work for all the…
michaelteter on HN
D2
From 1 comment
Would rather use D2 https://d2lang.com/tour/sql-tables for this task
jhoechtl on HN