Installation

To install:

$ pip install pgcopy

Dependencies

pgcopy requires pytz and the psycopg2 db adapter. pytest is required to run the tests.

Due to technical problems with binary distributions, psycopg2 versions 2.8 and later have separate packages for binary install. This complicates installation in some situations, as it requires the dev tools to build psycopg2.

If you do not want to build psycopg2 for each installation, the recommended approach is to create a psycopg2 wheel for distribution to production machines

Compatibility

pgcopy is tested with Python versions 3.8 – 3.12 and PostgreSQL versions 12 – 16

Note

Python 2.7 is no longer supported! Please upgrade to Python 3.