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.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pg_diagram-0.2.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pg_diagram-0.2.0.tar.gz.

File metadata

  • Download URL: pg_diagram-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for pg_diagram-0.2.0.tar.gz
Algorithm Hash digest
SHA256 28eb2d34c33e22ec516bc71a055e72992676fd8a9f8e6cbc7f225d9b4b79c75d
MD5 5bb71b36ac20fbdd3158028eabbeb3cf
BLAKE2b-256 d82681fc31e8a9ef1a06ff1e91894b9729fdf5abecf8a3a50573e2d0bbd46654

See more details on using hashes here.

File details

Details for the file pg_diagram-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pg_diagram-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 647d7a3e5b1fd88eb233991662dc236755ad86f93b061c6ae00456e4bdd8a97c
MD5 ec769614ff2bc0768469598745230ba8
BLAKE2b-256 c24596c232478ade6f5fcd9aa7de565ad2538bcc8b832203070f7f6ee2782c4a

See more details on using hashes here.

Supported by

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