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 details)
Built Distribution
File details
Details for the file peewee-erd-0.1.0.tar.gz
.
File metadata
- Download URL: peewee-erd-0.1.0.tar.gz
- Upload date:
- Size: 4.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 | e83ed60c30c38b46a20c507167776d9d2655773dea7b93d2ed42dbbdcfd4804e |
|
MD5 | 2a716693781ac1b6f581cfab927d5185 |
|
BLAKE2b-256 | 6195c5709f45032b478ecb8262dc17d1b4f64bac95021aab31c0528064fd56ec |
File details
Details for the file peewee_erd-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: peewee_erd-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 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 | 4c7665a81e8389b96e7b834768a47b233df4c34617a981c96de5d6d3b031e7a4 |
|
MD5 | 7f2c5aa6ecdbf49ff2e064986d806357 |
|
BLAKE2b-256 | 62f0714fe7c57901143f2f21029f415a7fb6faaf73b147f6fa1b1988514e0ee9 |