Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 836 Bytes

README.rst

File metadata and controls

36 lines (24 loc) · 836 Bytes

PgDbConn

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.

Features

  • 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

Requirements

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

License

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