项目作者: rominf

项目描述 :
Draw the ER diagram based on peewee models.
高级语言: Python
项目地址: git://github.com/rominf/peewee-erd.git
创建时间: 2019-10-23T20:15:20Z
项目社区:https://github.com/rominf/peewee-erd

开源协议:Apache License 2.0

下载


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:

  1. $ pip install peewee-erd

To install the peewee ERD with live view use pip with extras:

  1. $ pip install peewee-erd[live-view]

Usage

To draw the diagram run it with the path of models file:

  1. $ peewee-erd <paths_of_models_files>...

For other variants of usage see help:

  1. $ peewee-erd --help

Example output

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