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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file pg-diagram-0.1.2.tar.gz.

File metadata

  • Download URL: pg-diagram-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for pg-diagram-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6981894e5502683530870bcde952ee1f7a6afb8e515922f13c591244d191d693
MD5 dc1bb00b17593981ea010ccdc409b409
BLAKE2b-256 a775f2009070a15a430ecb761483a5bba3da63e0ab1fe96c24ca7f7f7a69caaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pg_diagram-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for pg_diagram-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e4202b3d830fb6a11397ad43b70e528ad1b733f68535ac8ba8dfd214265883a
MD5 805efc909e43e214bba281ef149f52a2
BLAKE2b-256 af061a19d1c05cb37356e6635afcfb4c40a9aa645a607fc3b965def87761b8cc

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