sqlalchemy_data_model_visualizer

Dev tools

diagram generator

SHOW HN2023

79points
18comments
#799of 3,109 in 2023
Top 26%of 2023 by points

How HN took it

MixedNo clear lean

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 HN
    • 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
  • 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 HN
    • from 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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/38249730)