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 run it with the path of models file:

$ peewee-erd <paths_of_models_files>...

For other variants of usage see help:

$ peewee-erd --help

Example output

This is the ER diagram generated for conceptnet-lite: ER diagram for conceptnet-lite

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

Uploaded Source

Built Distribution

peewee_erd-0.1.3-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

Supported by

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