Ea

Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram

Hacker News

Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram

I made this on Friday 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 gotten super complicated, with dozens of models with complex interconnections), then this very easily generates an attractive SVG that you can open in the browser showing all your tables and how they are connected. You can be up and running with this in less than a minute— just open it in Google Colab, replace the sample data models with your own, and run the notebook, and you should see the SVG displayed almost immediately at the bottom. I attempted to also generate an HTML file containing the embedded SVG as well as some JS to enable nice interactive hover-on effects (I wanted to highlight the border of the table you hover over and then change all the outgoing connections to other tables to be red, and all incoming connections to that table to be green), but it wasn't working and started turning into a slog after an hour. If anyone knows how to do this, please submit a PR!

Share card

Actual performance

3points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, google, models · Missing: mac, agents, macos
82%82% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
74%74% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
64%64% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: google, visualize · Missing: mobile apps, ios, personal
50%50% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ea
Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Easily Visualize Your SQLAlchemy Data Models in a Nice SVG Diagram

Hacker News79
Sw
Swirly, a marble diagram generator using SVG62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Swirly, a marble diagram generator using SVG

Hacker News2
Gi
GitHub MermaidJS SVG Diagram Generator68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitHub MermaidJS SVG Diagram Generator

Hacker News10
Bl
Blockspring for Tableau. Easily Visualize API Data from Tableau.58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Blockspring for Tableau. Easily Visualize API Data from Tableau.

Hacker News3
Ea
Easily visualize torch, Jax, tf, NumPy, etc. tensors78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Easily visualize torch, Jax, tf, NumPy, etc. tensors

Hacker News4
Vi
Visualize Your Rails App to ER Diagram Automatically59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualize Your Rails App to ER Diagram Automatically

Hacker News104
Ki
Kite9 - A Javascript and SVG Diagram Editor76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kite9 - A Javascript and SVG Diagram Editor

Hacker News1
Pl
Plectica – Diagram almost anything, together65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Plectica – Diagram almost anything, together

Hacker News7
Di
Diagramify – Describe your diagram and get it65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Diagramify – Describe your diagram and get it

Hacker News6
Ki
Kickass scrum diagram65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kickass scrum diagram

Hacker News28