Skip to main content

psycopg2 - Python-PostgreSQL Database Adapter

Project description

Psycopg is the most popular PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (several threads can share the same connection). It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a large number of concurrent “INSERT”s or “UPDATE”s.

Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in being both efficient and secure. It features client-side and server-side cursors, asynchronous communication and notifications, “COPY TO/COPY FROM” support. Many Python types are supported out-of-the-box and adapted to matching PostgreSQL data types; adaptation can be extended and customized thanks to a flexible objects adaptation system.

Psycopg 2 is both Unicode and Python 3 friendly.

Documentation

Documentation is included in the doc directory and is available online.

Installation

If your pip version supports wheel packages it should be possible to install a binary version of Psycopg including all the dependencies from PyPI. Just run:

$ pip install -U pip      # make sure your pip is up-to-date
$ pip install psycopg2

If you want to build Psycopg from source you will need some prerequisites (a C compiler, development packages): please check the install and the faq documents in the doc dir for the details.

For any other resource (source code repository, bug tracker, mailing list) please check the project homepage.

Linux/OSX:

Linux and OSX build status

Windows:

Windows build status

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

psycopg2_binary-2.7.3.2-cp36-cp36m-win_amd64.whl (993.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

psycopg2_binary-2.7.3.2-cp36-cp36m-win32.whl (851.1 kB view details)

Uploaded CPython 3.6mWindows x86

psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6m

psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 3.6m

psycopg2_binary-2.7.3.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

psycopg2_binary-2.7.3.2-cp35-cp35m-win_amd64.whl (994.0 kB view details)

Uploaded CPython 3.5mWindows x86-64

psycopg2_binary-2.7.3.2-cp35-cp35m-win32.whl (851.2 kB view details)

Uploaded CPython 3.5mWindows x86

psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.5m

psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 3.5m

psycopg2_binary-2.7.3.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.5mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

psycopg2_binary-2.7.3.2-cp34-cp34m-win_amd64.whl (985.4 kB view details)

Uploaded CPython 3.4mWindows x86-64

psycopg2_binary-2.7.3.2-cp34-cp34m-win32.whl (863.8 kB view details)

Uploaded CPython 3.4mWindows x86

psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.4m

psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 3.4m

psycopg2_binary-2.7.3.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.4mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

psycopg2_binary-2.7.3.2-cp33-cp33m-win_amd64.whl (985.5 kB view details)

Uploaded CPython 3.3mWindows x86-64

psycopg2_binary-2.7.3.2-cp33-cp33m-win32.whl (863.8 kB view details)

Uploaded CPython 3.3mWindows x86

psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.3m

psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 3.3m

psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7mu

psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 2.7mu

psycopg2_binary-2.7.3.2-cp27-cp27m-win_amd64.whl (987.4 kB view details)

Uploaded CPython 2.7mWindows x86-64

psycopg2_binary-2.7.3.2-cp27-cp27m-win32.whl (857.0 kB view details)

Uploaded CPython 2.7mWindows x86

psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7m

psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_i686.whl (2.4 MB view details)

Uploaded CPython 2.7m

psycopg2_binary-2.7.3.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.7 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

File details

Details for the file psycopg2_binary-2.7.3.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 43dd6524e2214420ac6acd50d4c7ef982b239e5270902981182c8305cac6fa43
MD5 d78504e9c06142427a8f8d07df268942
BLAKE2b-256 f1b725324a7e060852b5f1fc49febc51a947700f870123eb3336721e980b311b

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a98c1fabf0028314e5e07bbc79dba72d39a70a2de93d752d3cb14f83dc60ce64
MD5 4fab96fb5c09c815fcf8091bd0f7102b
BLAKE2b-256 ade7decda1a6b14a4ddcdf654646250822bf027d8086f27f79836fc2010e862c

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f46be845f25fe3d055fc029dabb7df14a9480caa31955c804f7efa7dc2cd84ff
MD5 83812eed824751eda34d049a7d92a8dc
BLAKE2b-256 b9901ee7ad98fc6b241897ad77bb53cc47fec2d218bbcfe59e518ffcbfd41fe8

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4077346d4134213a35e520098b79c5c497495253ca4c53a22d9dde057e3238e1
MD5 e1f7188abee03d2297af8e9b000f99b7
BLAKE2b-256 8116659c2dfa48be1475fc06609dd2ea4033aa5b933cfdff64908f2ed9853276

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 04586f20882d2903167a7396e13b1c3c34ecbab15cf2f2855ec078d308e5ffee
MD5 895584003ae5e1ac30ea7b75d3542754
BLAKE2b-256 9f87166e3cdaece4c110a3a927bd47fec1c201d3ed92f47ca10e129b1a7d7a0e

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b35aa95298e724dc5e32022fb4d0f21e4331259aa5d38ef04aa10b4f35fb7135
MD5 ee2cba3dd5871fedad2197a2fdcea33e
BLAKE2b-256 8e6de0d4f44d961f822e4d7b66a2c84be55f3fc9b24a7dbc813e31cd6495c318

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6755957fdb39c4c9d664c6c943c12797d6bae2a4d50911e637960745a6e1cfed
MD5 2550293986e8f2f56d2d7b1a8f198248
BLAKE2b-256 ef3c24e6d699e45dacae60d462e70e4a7d0b692d99dac475b90a34cdd2ae53f8

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 84c7482d67c8471a440c4e34b71e597095f09ea1aefc9b470742ae311eba884c
MD5 e55b0a6b6b0426de591ae1a5e0b92a11
BLAKE2b-256 52a6bd83568a744a6f740378b5a1debb75adb5c1c5b52e8483cef9b2bb68f13e

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 dd29e41ad6b3fd39614397e0578d1c102c59366a8e6e59cf9449b13cf5945428
MD5 627d1f8db3054d879acf052b7a5b9c90
BLAKE2b-256 181a9a8aa19e6603c5e16683cfd225b703fea2fd53aaace9764ac6871f326534

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 84e13ffb37ec9fcda708c2c8757a9cf6c99612bfda102d597d401bad6d84ec97
MD5 b285d3ef911eb1c86479e304b900009e
BLAKE2b-256 0f21c1c3ab1bb546428d5fa932091287258838d84879197c663db62579254739

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 75831f18f2cbec2362f69b991fa07e977050bdae142486d81fb2322c46053098
MD5 4f7e798c3cfca260929a8f5ab78ebc66
BLAKE2b-256 016f13c2c603a49d081f8236d691437df7b58b23a89f848ffa74e4a467d4c647

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 40a566b5ed74cf29c59c84ea16d3362e502ec0d751fd2f4951196a0e67d5f733
MD5 7e881c858a281296e1964f034c6b39b1
BLAKE2b-256 b1d7e248f520552e8b70482a29f7def90a7a4134e1fd31478edeeda3658eed4d

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e341d6c0286b04d19ba9519b3b838aa6bbc0708899c19876ddb331f724833ebe
MD5 d3d09c6e17f3754f84c8cb4ce62a8860
BLAKE2b-256 747c1db9a562571b9568d59f4ea8abca81d9cfde9c7707c939428156476eef85

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1cd1864c7ab774ffd2413ea9111fb622fc054fd94da55e7ab706fec2d1ad99c9
MD5 c367ebed87106bcfbf13c99364ad226f
BLAKE2b-256 b95dc2d6fd4ca9cd2f4594def2df6b862eee3514a9f5b71661b884a0c8b12b8b

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f87d03e1aa964dbc04e04c7e971b83e9dc9d853d22d51bb8e9cc07321d96d7ac
MD5 d7b1879b36e362d7bb028787aca38c65
BLAKE2b-256 ef989cd066b337791aaee5addff0e6fd9013dc6d21050494a021dde5753dd67d

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 a56b547d25ecb6f0b8d93f6bd516f0d7586fda0cdb577805d113f91344f400dc
MD5 0cf4e910c08a02b19f73f1b419a99f38
BLAKE2b-256 c82c8d2f5bee0499192abef899bcd002afa9630a0e2c8308ce2a14c660f8ea09

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 0f590227cdffff9949bc1121b066c4c2912bc2918b1ae9f5b094f5d75a8f7110
MD5 e52636919fbf4f9931adc74267c3848b
BLAKE2b-256 158d3a59d0f151e50846f0215f1106984052bb3affbebbdb97883de208ae0971

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bb82e1224a27d6de29d4a9103388b4badd8677f4afba81e32f816cfcd9c48f3c
MD5 19b976794677aa3397a5e0ebff0c45fb
BLAKE2b-256 c1a5a950978064856bccb4200bac7766aa31e188160a9f7c45e8b31019f102f8

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3c9b075186650b61aa7f0e5ffb271e5847277a261885b32b66e27457e080f93d
MD5 5c69a14dd8a6979ce42e13fcb44fbaa7
BLAKE2b-256 21addcbeb42ef49d04cd259916d334012e6271fad626c7ebd7fa2480502ab82f

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 db93a27a45a0a4212fa7b10737f0cd1d977aa794e9f2332709b113e3f78e1f48
MD5 850764f9f2b5d4ca7e186e89eaf8ec3b
BLAKE2b-256 e3a08de7a21ab6f0ca1907794e9c633809f490dae8c61bc4a4025a37de3927f2

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac5a55f2bb74680dc7c68106890f9fdd8c9d5486ca293b1c835d19554af4cbfa
MD5 16f7be7c9c6d05bac1d0da285525d160
BLAKE2b-256 106b09f3d3d169e381a5f44af811176ec9752f8e90269c5420564d2d70a005da

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 cc6d123eb1fabc32eb3a73fc493b0cce9ae74814aeae832b8b63d96316ccb758
MD5 3da07e46fc9f77c85aa523cb31b545ba
BLAKE2b-256 a45d48a72d7ac5054fd5ac6e9695b6a670016f0b398f592a34d31eaf01a12a34

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d532df64069811425342818d86e33907b493acce291ebd97dcccd568211de381
MD5 dff98d69217f0efacb7154d2ca46b1c1
BLAKE2b-256 2a664af5288049df29483157661970204fe5e842a2ceae9d829906ea431f0723

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9163ef988aabcb0e2c959dc83ce74ff80abac0f609fce2ea37a881b6e4e5a6b6
MD5 2605a2b0e80292f2d226190bd18df09b
BLAKE2b-256 670125f011d89be7a77425dc0176b67dbb3fc70e45ece11c87533b5a9974fcaa

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac9d634768cfa6445cabd32be50d6db7ecb3879294eadf071ebddd8a4ad2b979
MD5 d0c3b79a83480f1c42fcf27f67171c08
BLAKE2b-256 934846edbf80c0ef529a189e9e9a2bb76d2587e4d982f0c4af3c8124e7ad277e

See more details on using hashes here.

File details

Details for the file psycopg2_binary-2.7.3.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for psycopg2_binary-2.7.3.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3e8d1221f2d9e885a774b1f30bd33fcea1cc55d0c1d10554526ab717123342fc
MD5 3444e917d5bfacc6b03ece436fe56533
BLAKE2b-256 4b7c3ae343a0dcf2f20901725337de919d16371d9f271c07f351eb79f65576f4

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