Psycopg is a PostgreSQL adapter for Python programming language. It implements PEP 249 with many extensions.
Psycopg is a PostgreSQL postgresql adapter for Python python. It is a wrapper around the libpq libpq library. Psycopg fully implements PEP 249. It is thread-safe. It supports asynchronous I/O, server-side cursors, COPY, large objects and two-phase commit. Psycopg is extensible with new adapters and typecasters.
Questions that relate directly to psycopg2 should receive this tag. If you are using a web framework, scientific library or ORM in conjunction with Psycopg2 be sure to include that information in your post, and consider adding tags for those libraries.
Psycopg can be easily installed on Linux or Mac, but lacks full support in Windows, though there is a port available. It requires some manual installation in a virtual environment.
Psycopg2 can be used to archive the state of objects, although it is often convenient to use an ORM (SQLAlchemy sqlalchemy for example).
External Links