Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A web client for PostgreSQL. In spirit and intention: a PhpPgAdmin clone.

Project Description

A web client for PostgreSQL written in Python. In spirit and intention, it is a PhpPgAdmin clone.

This is still unusable.


git clone
cd pypgadmin
pip install -r requirements/dev.txt
python db init
python db migrate
python db upgrade
python server


In your production environment, make sure the PYPGADMIN_ENV environment variable is set to "prod".


To open the interactive shell, run

python shell

By default, you will have access to app, db, and the User model.

Running Tests

To run all tests, run

python test


Whenever a database migration needs to be made. Run the following commmands:

python db migrate

This will generate a new migration script. Then run:

python db upgrade

To apply the migration.

For a full migration command reference, run python db --help.

Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting