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.2.tar.gz
(8.4 kB
view details)
Built Distribution
File details
Details for the file peewee-erd-0.1.2.tar.gz
.
File metadata
- Download URL: peewee-erd-0.1.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.5 CPython/3.7.3 Linux/5.3.1-1-default
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b983396ba8bd646e25398601bba66733cd2878a2b61174c3c41df5ca40dfb4 |
|
MD5 | 842a3f66920219c08995c746ea25a5ae |
|
BLAKE2b-256 | 9ace41c2d8152a082303a42adb6ed69ff076f1c7d04da8139b422abf9544b3b5 |
File details
Details for the file peewee_erd-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: peewee_erd-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.5 CPython/3.7.3 Linux/5.3.1-1-default
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 627b0aee9e5c0e2631c61571510572ee361e09ffe1e5833fbfa244af7559d416 |
|
MD5 | bef910ad62b3d66edf54c497d57d9d4b |
|
BLAKE2b-256 | 952abd160acd37b21fc7670e3fe55e21f16992b28c69c37a48f59e3253aefe0d |