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!

Client that uses the PostgreSQL client inside a Docker container.

Project Description


I created this library to work with different version of Docker Postgres without having the need to change my Postgres client.

To install and use it type the command below:

pip install docker-postgres-client

You will then have four new commands available in your shell: dpsql, dcreatedb, ddropdb, and dpg_dump. They allow you to connect, create, drop, dump, and import a database. If you want to add additional features feel free to fork this repository and make a merge request.

All the bash command have -C (container) option that you can use like below:

dpsql -C CONTAINER_NAME -U user_name

Last but not least all the scripts contain a useful help message to know how to use them.

dpsql --help

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.1 kB) Copy SHA256 Hash SHA256
Source None Sep 1, 2015

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