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.

Source Distribution

pg-diagram-0.1.2.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

pg_diagram-0.1.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page