Skip to main content

Psycopg is a PostgreSQL database adapter for the Python programming language. Its main advantages are that it supports the full Python DBAPI 2.0 and it is thread safe at level 2. It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. The psycopg distribution includes ZPsycopgDA, a Zope Database Adapter.

Psycopg 2 is an almost complete rewrite of the psycopg 1.1.x branch. Psycopg 2 features complete libpq v3 protocol COPY TO/COPY FROM and full object adaptation for all basic Python 2.3 types: strings (including unicode), ints, longs, floats, buffers (binary objects), booleans, mx.DateTime and builtin datetime types. It also supports unicode queries and Python lists mapped to PostgreSQL arrays.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psycopg2-2.0.12.tar.gz (256.2 kB view details)

Uploaded Source

File details

Details for the file psycopg2-2.0.12.tar.gz.

File metadata

  • Download URL: psycopg2-2.0.12.tar.gz
  • Upload date:
  • Size: 256.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for psycopg2-2.0.12.tar.gz
Algorithm Hash digest
SHA256 542c187531e756867fb60034c393b6f2beca34eeeb3ce2e0089a2b6fb8be1292
MD5 5c8080d0d0568479f041bb8534caf1f8
BLAKE2b-256 6a8dee5c330823d527a5cd14c833063f825211d7b5de6e4897f72e250c107d85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page