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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for psycopg2-2.7.3.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d64fed2681552ed642e9c0cc831a9e95ab91de72b47d0cb68b5bf506ba88647 |
|
MD5 | d887e5e07f6e307f8ef036d3dedb4d70 |
|
BLAKE2b-256 | f433e2bd552008fdb49d063018a373fbd758b03092c743bcdc70b9c749bfc0f9 |
Hashes for psycopg2-2.7.3.2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc993c9331d91766d54757bbc70231e29d5ceb2d1ac08b1570feaa0c38ab9582 |
|
MD5 | 2cf47814a72ab53425e32bff91f8649f |
|
BLAKE2b-256 | 725d65f3a8e71e6b00919cdad83b77b7428f0b09babdcd913f0c990e288c2f2b |
Hashes for psycopg2-2.7.3.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 697ff63bc5451e0b0db48ad205151123d25683b3754198be7ab5fcb44334e519 |
|
MD5 | 52d98207b8f3177587300e0d5697939f |
|
BLAKE2b-256 | 29dcbf65b06574324222e1a9fd2c80a3acdc0b77d5812ac3d0568dede83d6a50 |
Hashes for psycopg2-2.7.3.2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1286dd16d0e46d59fa54582725986704a7a3f3d9aca6c5902a7eceb10c60cb7e |
|
MD5 | eec5d7e00a6f158d146378a57ee91894 |
|
BLAKE2b-256 | 57df8349946da62c5c978ffb015fe8e55d298c4b8138f0a6ef29037b43d7f162 |
Hashes for psycopg2-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 | 7c31dade89634807196a6b20ced831fbd5bec8a21c4e458ea950c9102c3aa96f |
|
MD5 | 7bc5642f2b450d7ac58c57a07f25512d |
|
BLAKE2b-256 | 39cf76707dc80505b35482a9a8a24a35e326cd7453dda5dca9ff18df1ec29280 |
Hashes for psycopg2-2.7.3.2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2954557393cfc9a5c11a5199c7a78cd9c0c793a047552d27b1636da50d013916 |
|
MD5 | eb93598a706125f476f6295fa5032917 |
|
BLAKE2b-256 | 603869666d1ea1e0403b79ca31d34896d85b66841f97c4cb4e926fd9662d8ea2 |
Hashes for psycopg2-2.7.3.2-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57baf63aeb2965ca4b52613ce78e968b6d2bde700c97f6a7e8c6c236b51ab83e |
|
MD5 | ab78f67b126d15ebbd8051e415fb6ca6 |
|
BLAKE2b-256 | 52826f603e7241a8c5fae2d82529e8e0378b121d1918ebb7df588938aada9556 |
Hashes for psycopg2-2.7.3.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd4c848f0e9d805d531e44973c8f48962e20eb7fc0edac3db4f9dbf9ed5ab82 |
|
MD5 | da7568beaaed34243340bc4232d6a4a4 |
|
BLAKE2b-256 | a74bca0763be01bd7084b0cc06c6c83cbcfc0ef8238063bfe6b3e2a974dd0f80 |
Hashes for psycopg2-2.7.3.2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 207ba4f9125a0a4200691e82d5eee7ea1485708eabe99a07fc7f08696fae62f4 |
|
MD5 | 50161bf491650290863436b8cc0d41c6 |
|
BLAKE2b-256 | c8933a908c574487c075c7c62fe53fc21c5037ac82015e46e91a27eddfb4d5d6 |
Hashes for psycopg2-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 | 82c40ea3ac1555e0462803380609fbe8b26f52620f3d4f8eb480cfd8ceed8a14 |
|
MD5 | 0a90f95b5e200e8d5ead89fa9f7a1f91 |
|
BLAKE2b-256 | 052e465cf2b3fe24526fe150ee6e7a5c9de010e346f13fb55d5fa1a91e659ed2 |
Hashes for psycopg2-2.7.3.2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf708455cd1e9fa96c05126e89a0c59b200d086c7df7bbafc7d9be769e4149a3 |
|
MD5 | 467e6378d78b12a434d57361a9c44f15 |
|
BLAKE2b-256 | 0c2650de12926c12cb44b32bb554ce8393c1baa7f0340479eb5a61a879cfabe0 |
Hashes for psycopg2-2.7.3.2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5942a4daf1ffac42109dc4a72f786af4baa4fa702ede1d7c57b4b696c2e7d6 |
|
MD5 | c2000749e80940840cc2a465d574c6dd |
|
BLAKE2b-256 | fc5fec44b52203972cb95381462ec31fd71790b7bc6140b08ed69813604d73da |
Hashes for psycopg2-2.7.3.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f54452c7787dbdc0a634ca9773362b91709917f0b365ed14b831f03cbd34ba |
|
MD5 | 6c4495658a23dee43b1b94e18781a7dc |
|
BLAKE2b-256 | 4a91b34340f466af9320f66c2797e5ecca108667b945335c119c15e744887eee |
Hashes for psycopg2-2.7.3.2-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c2f1a76a9ebd9ecf7825b9e20860139ca502c2bf1beabf6accf6c9e66a7e0c3 |
|
MD5 | 0500025194dd76c9c369e127aab4934e |
|
BLAKE2b-256 | 703059adfd5a7757c879af533e3d4031e03aaab35c1aa60a0f1e14d80725443e |
Hashes for psycopg2-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 | 40fa5630cd7d237cd93c4d4b64b9e5ed9273d1cfce55241c7f9066f5db70629d |
|
MD5 | 01fddf10e845b2babe4c901fe62edf6d |
|
BLAKE2b-256 | b1f49fc4c9ac08d052ec721055c92c5f9bd4b76acc6ee6184386803423edc71f |
Hashes for psycopg2-2.7.3.2-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ac07240e2304181ffdb13c099840b5eb555efc7be9344503c0c03aa681de79 |
|
MD5 | 103d56cad0006cbdee4bc08d04074b0e |
|
BLAKE2b-256 | 29bb4f6c441e38f7aa76283b70f6280fa5e73d576d91eebc4151cdb490430dc7 |
Hashes for psycopg2-2.7.3.2-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 009e0bc09a57dbef4b601cb8b46a2abad51f5274c8be4bba276ff2884cd4cc53 |
|
MD5 | b782a6d544cd6bb2301230d6d203634e |
|
BLAKE2b-256 | fa5126e4126bad439465b83de556e4f6f825bb633c5a008e38509af61dad2889 |
Hashes for psycopg2-2.7.3.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9358e203168fef7bfe9f430afaed3a2a624717a1d19c7afa7dfcbd76e3cd95c |
|
MD5 | f7be82dfb299214e02da257a1e131a61 |
|
BLAKE2b-256 | 988444ea2121fd1d118c4f00424a439ac96201baf0beb4e601a79835e516892a |
Hashes for psycopg2-2.7.3.2-cp33-cp33m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92179bd68c2efe72924a99b6745a9172471931fc296f9bfdf9645b75eebd6344 |
|
MD5 | a123606d73f2802705ac49ec588ddea8 |
|
BLAKE2b-256 | 8d3cd075ed8e82c3bc75b3acabda7acc7b947f6a12a082b3460196a3d844a7ba |
Hashes for psycopg2-2.7.3.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a9c6c62e6e05df5406e9b5235c31c376a22620ef26715a663cee57083b3c2ea |
|
MD5 | 5cf6cb3c9cd0765c07ed0c71fa9e2e81 |
|
BLAKE2b-256 | cbd1253c42d85af6b85a6857b6a414e7230d26a026236e3208c0bd9cb16cc118 |
Hashes for psycopg2-2.7.3.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988d2ec7560d42ef0ac34b3b97aad14c4f068792f00e1524fa1d3749fe4e4b64 |
|
MD5 | 9c331c50d9241ab47af1ba60b03b78a4 |
|
BLAKE2b-256 | eb5e1cbb6ad794ec112fb55b2de70c76af9d108212f86fbcd6e9e8826f2b5a9b |
Hashes for psycopg2-2.7.3.2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e4128ba1ea56f02522fffac65520091a9de3f5c00da31539e085e13db4771b |
|
MD5 | 3b859b4f3193589b2e4fa8b2a0fae129 |
|
BLAKE2b-256 | 2bac5952dec96e11d8640918de5409fa5f683f11ed6db15d6af96af2f8272752 |
Hashes for psycopg2-2.7.3.2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a75565181e75ba0b9fb174b58172bf6ea9b4331631cfe7bafff03f3641f5d73 |
|
MD5 | 1e89e53ed8cde94920c6eaf6f822783d |
|
BLAKE2b-256 | 5bd7766a4f60165a0f9cc047199fc46f1bc079053ffb7cec164b46aa1f029e1e |
Hashes for psycopg2-2.7.3.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddca39cc55877653b5fcf59976d073e3d58c7c406ef54ae8e61ddf8782867182 |
|
MD5 | 9b0c9a5f31222cea4aac6fef9cefd6c2 |
|
BLAKE2b-256 | 2a2460e5f887385c62e269b2342472c1eeec2fb88f622b0247bb784774b587a4 |
Hashes for psycopg2-2.7.3.2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d6266348b15b4a48623bf4d3e50445d8e581da413644f365805b321703d0fac |
|
MD5 | 51fdecf0cf79417647c6cdb26091be67 |
|
BLAKE2b-256 | 0ab275aa427ae26ff3bbf92c956f329a73c028e8654ecc9f31eafc59634a3536 |
Hashes for psycopg2-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 | 317612d5d0ca4a9f7e42afb2add69b10be360784d21ce4ecfbca19f1f5eadf43 |
|
MD5 | d50ace5d48540b701c1b22eee79c1cfd |
|
BLAKE2b-256 | 37af143ebd81d5e1fbb6c908c33247e760a6596e1b88366650271ad69ec2d513 |
Hashes for psycopg2-2.7.3.2-cp26-cp26mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25250867a4cd1510fb755ef9cb38da3065def999d8e92c44e49a39b9b76bc893 |
|
MD5 | c5c16078e95f3f9838bcf28434ebdca7 |
|
BLAKE2b-256 | 043f09afec2599dd3a81d372040a0c2c7a3e04cff09aa13ed81b94f7b0b3a887 |
Hashes for psycopg2-2.7.3.2-cp26-cp26mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0344b181e1aea37a58c218ccb0f0f771295de9aa25a625ed076e6996c6530f9e |
|
MD5 | 2c5e44636adddbd597bf4c3170136d08 |
|
BLAKE2b-256 | 5c13d413d368ac957fb4932beaf94e9824ff805846ad688b1f92bf0bfb058631 |
Hashes for psycopg2-2.7.3.2-cp26-cp26m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cf5d84290c771eeecb734abe2c6c3120e9837eb12f99474141a862b9061ac51 |
|
MD5 | 53c21dd96f912a4f875e88b509241263 |
|
BLAKE2b-256 | a74a82ec8b785ab96f7ff0f1029ff5bd962fbf1775a3b57e613800bd6c311ed7 |
Hashes for psycopg2-2.7.3.2-cp26-cp26m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594aa9a095de16614f703d759e10c018bdffeafce2921b8e80a0e8a0ebbc12e5 |
|
MD5 | ed7a3b80571e030613ae2ec4d7a84c2b |
|
BLAKE2b-256 | e2db48cae7582bc04b9fc092343d183fc485f21db7fb68f7c834ded3e29d4ec0 |