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 all the dependencies are met (i.e. you have the Python and libpq development packages installed in your system) the standard:

python setup.py build
sudo python setup.py install

should work no problem. In case you have any problem check the ‘install’ and the ‘faq’ documents in the docs or online.

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

Project details


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.6.2.tar.gz (376.3 kB view details)

Uploaded Source

Built Distributions

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

psycopg2-2.6.2-cp36-cp36m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

psycopg2-2.6.2-cp36-cp36m-win32.whl (802.4 kB view details)

Uploaded CPython 3.6mWindows x86

psycopg2-2.6.2-cp35-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.5Windows x86-64

psycopg2-2.6.2-cp35-none-win32.whl (801.3 kB view details)

Uploaded CPython 3.5Windows x86

psycopg2-2.6.2-cp34-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.4Windows x86-64

psycopg2-2.6.2-cp34-none-win32.whl (812.4 kB view details)

Uploaded CPython 3.4Windows x86

psycopg2-2.6.2-cp33-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.3Windows x86-64

psycopg2-2.6.2-cp33-none-win32.whl (812.5 kB view details)

Uploaded CPython 3.3Windows x86

psycopg2-2.6.2-cp32-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.2Windows x86-64

psycopg2-2.6.2-cp32-none-win32.whl (808.6 kB view details)

Uploaded CPython 3.2Windows x86

psycopg2-2.6.2-cp27-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 2.7Windows x86-64

psycopg2-2.6.2-cp27-none-win32.whl (808.0 kB view details)

Uploaded CPython 2.7Windows x86

psycopg2-2.6.2-cp26-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 2.6Windows x86-64

psycopg2-2.6.2-cp26-none-win32.whl (808.0 kB view details)

Uploaded CPython 2.6Windows x86

File details

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

File metadata

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

File hashes

Hashes for psycopg2-2.6.2.tar.gz
Algorithm Hash digest
SHA256 70490e12ed9c5c818ecd85d185d363335cc8a8cbf7212e3c185431c79ff8c05c
MD5 4a392949ba31a378a18ed3e775a4693f
BLAKE2b-256 7ba8dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bbc1c4065598146fe804bc0bc23c78429f1cf802ac6290518a371682a1569c4b
MD5 a1cc2cbb0d9a9191c64640d5129402c3
BLAKE2b-256 b6cbb7ad5008df09b8392942db9a262435bda778457be4aaba5fc79ead1444b4

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 c367d51de53bbe92c5f56dfc32278de79bbe706e64796306a44a6097130fdf84
MD5 be2016ebc0a83ef40d068baa25ee4f3f
BLAKE2b-256 6697e8922a18a142195cfdbdfc9ec84a8d1a46b09edae24a150d79ea90e6b55b

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 8c3b69d743e408527208d5ed6aa136b821bbd3cb1e236aa8479ff47ea986769c
MD5 c8101dfc2a2c2e6eb7e2054c8c0208b2
BLAKE2b-256 5e45de485228f46a2487da8e774fa2dbd772e7e03e65a3c31a322a224806e734

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp35-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp35-none-win32.whl
Algorithm Hash digest
SHA256 8ffbd1128df23c9fdfc3499084021055b3df7818f12ef87af5b3f33e27d58b0a
MD5 9355dc0c57491e4e42bc610428570994
BLAKE2b-256 85bb7ab5d5b040d6c8a26180acb864f50c1887f27e02e9fb4e94f1f730a4e01b

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 e03e5df05f85768af112e287cd89eecfce8a8ca2d6db3531402f7f0b0704d749
MD5 26ca03d4f4f65c75a530824981a60df6
BLAKE2b-256 fe23c67030ab4a43655d10b62acc658829054a97a147819a81094b1e9673e592

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp34-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp34-none-win32.whl
Algorithm Hash digest
SHA256 863fae11c31f5a7b9ce1e738149793214aad36cff4ca92d7111562e2fdbd7b57
MD5 819bcec9a26fb1877090cf60faf5bfc4
BLAKE2b-256 8f8020bdb48cfccaf31be57f7ae4b5165d7bb669cfaae5a42eaf00d55b2bf39b

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 1ee3f027684db469e3aafa9d4897ed1ca19c599b772e12dca7e61ed1b30ce26e
MD5 60816e4ffadd258f3bd1b5c3da62ecfe
BLAKE2b-256 2a34849e0491130bf2f67d72826ad64cfe8d9dc4e322b42ba99ab77dd96d970f

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp33-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 83afd42c95ac9e745ba9dcd28c20142ffa85a2ecc628d40fdc85342018ac016b
MD5 7d7dbd8e6203e2e757b46d77fcb30eee
BLAKE2b-256 6cb4d5bf17145954a3c8e80e3601d8eaf486f058ae09688910f1f0a22cb6b1d2

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp32-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp32-none-win_amd64.whl
Algorithm Hash digest
SHA256 ceee85d0b05e2b6e178e8aaa1d7e7ee679e5b712ef7a34798f5136321fe6bb3c
MD5 66243f1c0a3f0365489d84d0e9111e63
BLAKE2b-256 d3bdf989a3be8cd9fa696471ca399c005c903c3a4b840c419784fb27c0c62ae8

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp32-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp32-none-win32.whl
Algorithm Hash digest
SHA256 224bd45f838f8a714b8e711b4167158d86d01f398c678c46330caf59684a608f
MD5 0e9dca689b2395dea2498b3b82923b37
BLAKE2b-256 ba29bb6c465a38f6ba070ad4f4b17797ccc345dcd2cd42eb2f262aa75d86fa52

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 53973aea916a92a172e46b3181fc8f904c9013ae17513ee3029386084449ef07
MD5 08d618f1c5a4db211481e59102cc16f8
BLAKE2b-256 a40e29d29dceca6e465804ae612bc711a4741599ac849cf0a99acdbf53838581

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp27-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 6b6f745fb3a94a8d48b2e225e14808768ed33c52993ad6319b8f9cb972fec4dd
MD5 be33931d712a47275c3f4a373059f7ea
BLAKE2b-256 30b9629418a0fdc84506cfb9005ac066bb409b40661d2bfde6fc083d93237b27

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 48c1648d090ca72cf430920fb62f138cd02f9d2b035d2d2654af0a38f28bdc27
MD5 3ee8bcfeefb573b7a68000bd25f73f43
BLAKE2b-256 1404c449c231d35b1d26ebd902aea4f9237da744cd3a0bd9ff89caf616a6e6fc

See more details on using hashes here.

File details

Details for the file psycopg2-2.6.2-cp26-none-win32.whl.

File metadata

File hashes

Hashes for psycopg2-2.6.2-cp26-none-win32.whl
Algorithm Hash digest
SHA256 60f29f91a88fe7c2d1eb7fb64f3ea99b0bd3d06ea7169e187ccb2cb653f91311
MD5 24ece1e5ea08083289e564b2b864a5a6
BLAKE2b-256 49feedd5a96ece520bf6522e27360f0aa66305e8cafa177c3bf5d5418a6b0741

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