Skip to content

cynici/py-postgresql-client

Repository files navigation

PostgreSQL client and Python psycopg2

This repo provides the current release of PostgreSQL client with Python modules psychopg2, gevent and RethinkDB Python driver in a small footprint Docker image.

You may ignore the Python bits and use it to run commandline psql. Alternatively, add a bit of your own Python code to run a light-weight and performant production HTTP server using gevent-pywsgi

It includes gosu so your code need not run as root user for better runtime security. To use gosu, simply set ENTRYPOINT to use wrapper shell script like the example docker-entrypoint.sh.

Note

  • Added ez_setup.py to deal with pip install error: invalid command 'egg_info' as described in here

About

PostgreSQL client and Python psycopg2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published