sqlite2png
tool generates .png image of database schema.
![PyPI](https://img.shields.io/pypi/v/sqlite2png)
Usage
From checkout without installing (needs sqlalchemy
and pydot
).
./sqlite2png.py sqlite.db
The diagram is written into db.png
.
Install with pip and run as module.
pip install sqlite2png
sqlite2png /usr/share/ibus-libpinyin/db/english.db
sqlite:////usr/share/ibus-libpinyin/db/english.db
writing db.png
![](examples/english.png)
About and examples
sqlite2png
is a CLI wrapper over
sqlalchemy_schemadisplay
lib by Florian Schulze, which uses SQLAlchemy
, pydot
and graphviz
under the hood. Graphviz-cairo
is also recommended to improve image quality.
See ./examples.
Roadmap / Changelog
{py} postgres://user:pwd@host/database
{py} sqlite:////usr/share/my.db