Skip to main content

Simple entity relation (ER) diagrams generation

Project description

[‘Entity relation (ER) diagrams generatorn’, ‘=======================================n’, ‘n’, ‘ERAlchemy is integrated with SQLAlchemy and is able to generate the ERn’, ‘digram from an existing database.n’, ‘n’, ‘Examplen’, ‘=======n’, ‘n’, ‘.. figure:: https://raw.githubusercontent.com/Alexis-benoist/eralchemy/master/graph_example.png?raw=truen’, ‘ :alt: Example for a graphn’, ‘n’, ‘ Example for a graphn’, ‘n’, ‘Quick Startn’, ‘===========n’, ‘n’, ‘Installn’, ‘——-n’, ‘n’, ‘To install ERAlchemy, just don’, ‘n’, ‘::n’, ‘n’, ‘ pip install eralchemyn’, ‘n’, ‘ERAlchemy requiresn’, ‘GraphViz to generate then’, ‘graphs.n’, ‘n’, ‘Use from pythonn’, ‘—————n’, ‘n’, ‘.. code:: pythonn’, ‘n’, ‘ from eralchemy import draw_ern’, ‘ # Draw from SQLAlchemy basen’, “ draw_er(Base, ‘erd_from_sqlalchemy.png’)n”, ‘n’, ‘ # Draw from databasen’, ‘ draw_er(“sqlite:///relative/path/to/db.db”, 'erd_from_sqlite.png')n’, ‘n’, ‘Use from the command linen’, ‘————————-n’, ‘n’, ‘::n’, ‘n’, ‘ $ eralchemy -i sqlite:///relative/path/to/db.db -o erd_from_sqlite.pngn’, ‘n’, ‘Architecturen’, ‘============n’, ‘n’, ‘.. figure:: https://raw.githubusercontent.com/Alexis-benoist/eralchemy/master/eralchemy_architecture.png?raw=truen’, ‘ :alt: Architecture scheman’, ‘n’, ‘ Architecture scheman’, ‘n’, “Thanks to it’s modular architecture, it can be connected to othern”, ‘ORMs/ODMs/OGMs/O\*Ms.n’, ‘n’, ‘Notesn’, ‘=====n’, ‘n’, ‘ERAlchemy was inspired by erd.n’, ‘n’, ‘Released under an Apache License 2.0n’, ‘n’, ‘Creator: Alexis Benoistn’]

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page