Warning
This project is deprecated and is no longer maintained. It has several issues that require a complete rewrite, particularly the fact that the program executes Python code instead of reading and parsing the AST. Feel free to fork it if you find it useful!
Visualize peewee database and export it as JPG/PDF.
This project is inspired by django extension (MIT licence) and the structure of dot files comes from there templates.
You need graphviz to run this script.
Python 3.5+ is required (it could easily be adapted for older versions).
Just download the script peewee_graph_models.py into your project and launch it.
Help: python peewee_graph_models.py --help.
See LICENCE.