Skip to main content

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.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

peewee_erd-0.1.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file peewee-erd-0.1.1.tar.gz.

File metadata

  • Download URL: peewee-erd-0.1.1.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

Hashes for peewee-erd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 70911df912b1062f0f9ab46f7245e2485a3c465669d630340a81e2ee9b624f33
MD5 b0607934ac2a60f2f2eb04fab244f1cb
BLAKE2b-256 f67cb37adf58a24eb0c2da9b5fa95a6cb0dfac6f42cbd0132226c43b1c5a4d31

See more details on using hashes here.

File details

Details for the file peewee_erd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: peewee_erd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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

Hashes for peewee_erd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 840abb63925b3fb61b89684af80f0c98d8b93c225a9c54e30b54855d2e779339
MD5 0557daf9ea24677769cbe644818582ac
BLAKE2b-256 382f4744da97d3e1e5cbc4e81a677540256c0a5d96057c4e07954fcc83a53989

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page