Skip to main content

Object-oriented layer over Psycopg2 to connect and interact with Postgres databases

Project description

PgDbConn is an offshoot from the Perseas project (started as Pyrseas) to isolate and generalize the Postgres database connection code so that it can be used in other Perseas products, such as a web application to update Postgres tables.


  • Connect to a Postgres database with minimal information, creating a DbConnection object
  • Provide basic methods through the DbConnection object, e.g., fetch, execute, commit, rollback
  • (planned) Connect using a pool of connections, so that it can be used, for example, in a web application


  • PostgreSQL 9.2 or higher
  • Python 2.7, or 3.4 or higher
  • Psycopg2 2.5 or higher


PgDbConn is free (libre) software and is distributed under the BSD license. Please see the LICENSE file for details.

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 pgdbconn, version 0.8.0
Filename, size File type Python version Upload date Hashes
Filename, size pgdbconn-0.8.0.tar.gz (11.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page