Draw the ER diagram based on peewee models.
Project description
peewee ERD
Draw ER diagram based on peewee models.
This project is heavily based on https://github.com/gustavi/peewee-graph-models.
Installation
To install the peewee ERD use pip
:
$ pip install peewee-erd
To install the peewee ERD with live view use pip
with extras:
$ pip install peewee-erd[live-view]
Usage
To draw the diagram, display, and update it on file changes, run it with the path of models file:
$ PATH_OF_MODELS_FILE=...
$ peewee-erd $PATH_OF_MODELS_FILE
For more other variants of usage see help:
$ peewee-erd --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
peewee-erd-0.1.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
peewee_erd-0.1.0-py3-none-any.whl
(10.8 kB
view hashes)
Close
Hashes for peewee_erd-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7665a81e8389b96e7b834768a47b233df4c34617a981c96de5d6d3b031e7a4 |
|
MD5 | 7f2c5aa6ecdbf49ff2e064986d806357 |
|
BLAKE2b-256 | 62f0714fe7c57901143f2f21029f415a7fb6faaf73b147f6fa1b1988514e0ee9 |