py-postgresql is a set of Python modules providing interfaces to various parts of PostgreSQL. Notably, it provides a pure-Python driver + C optimizations for querying a PostgreSQL database. It features: prepared statement driven interfaces; cluster tools for creating and controlling a cluster; support for most PostgreSQL types (composites, arrays, numeric, datetimes, and many more); and COPY support.