Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

PostgreSQL metadata grabber and comparer

Project description

PostgreSQL metadata (DDL) grabber and comparer



pip install psycopg2 pg-metadata


1 ) Create file with connection params:

# Source database for comparing
# Database for grabbing
    "host"      : "",
    "port"      : 5432,
    "database"  : "",
    "username"  : "",
    "password"  : "",

# Target database for comparing
    "host"      : "",
    "port"      : 5432,
    "database"  : "",
    "username"  : "",
    "password"  : "",

# Excluded namespaces

# Path with compare folder
PATH_COMPARE = "./compare"

2 ) To grab database metadata run

3 ) To compare databases run


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-metadata, version 0.6.2
Filename, size File type Python version Upload date Hashes
Filename, size pg_metadata-0.6.2-py3-none-any.whl (26.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pg_metadata-0.6.2.tar.gz (14.5 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