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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: peewee-erd-0.1.3.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.6-1-default

File hashes

Hashes for peewee-erd-0.1.3.tar.gz
Algorithm Hash digest
SHA256 711ee8a2aa7da0451bcff8d94ec399fc425897d95b5cf9b07a3315877d6bb20f
MD5 21684b3a9d07764b1814adb015832fe7
BLAKE2b-256 693064ab2ee1e68f6ff02571a6d4aa19a062d02f77f6d973defd5fe1116578eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peewee_erd-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.5 CPython/3.7.3 Linux/5.3.6-1-default

File hashes

Hashes for peewee_erd-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0d1a50b660cbdeba9f76f2f48871de5756e017b4d8d34882667f3400fba81109
MD5 bb3abaa066e096e84f1fccad88ae760f
BLAKE2b-256 817ac3d6a8978ca8373f483f423701adc8ed858f4b36c7d09527d089db9deb9d

See more details on using hashes here.

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