Skip to main content

A tool for creating ER diagrams from postgresql database schemas

Project description

pg_diagram

PyPI version

A tool for creating Entity-relationship diagrams for PostgreSQL

Installation

  • install Graphviz
  • pip install pg-diagram
    

Usage

pg_diagram --format svg -o diagram.svg schema.sql
# or feed output of pg_dump
pg_dump --schema-only mydb | pg_diagram -o mydb.png -

Sample output

diagram image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pg-diagram, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pg_diagram-0.1.2-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pg-diagram-0.1.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page