public
Description: PostgreSQL interfaces library. Driver, protocol tools, and command interfaces for Python 3
Home | Edit | New

What about DB-API 2.0?

There’s a DB-API 2.0 module(“postgresql.driver.dbapi20”), but it’s not recommended as it doesn’t provide a convenient interface to the database.

Also, from PEP-1:

An Informational PEP describes a Python design issue, or provides general guidelines or information to the Python community, but does not propose a new feature. Informational PEPs do not necessarily represent a Python community consensus or recommendation, so users and implementors are free to ignore Informational PEPs or follow their advice.

PEP 249, DB-API 2.0, is informational. Currently, the only reason the DB-API 2.0 module exists in py-postgresql is due to its widespread acceptance by users and other driver authors.

Last edited by jwp, Mon Feb 09 09:10:27 -0800 2009
Home | Edit | New
Versions: