Skip to main content

Python PostgreSQL interfaces

Project description

PyGreSQL is a Python module that interfaces to a PostgreSQL database. It wraps the lower level C API library libpq to allow easy use of the powerful PostgreSQL features from Python.

PyGreSQL should run on most platforms where PostgreSQL and Python is running. It is based on the PyGres95 code written by Pascal Andre. D’Arcy J. M. Cain renamed it to PyGreSQL starting with version 2.0 and serves as the “BDFL” of PyGreSQL. Christoph Zwerschke volunteered as another maintainer and has been the main contributor since version 3.7 of PyGreSQL.

The following Python versions are supported:

  • PyGreSQL 4.x and earlier: Python 2 only

  • PyGreSQL 5.x: Python 2 and Python 3

  • PyGreSQL 6.x and newer: Python 3 only

The current version of PyGreSQL supports Python versions 3.7 to 3.12 and PostgreSQL versions 10 to 16 on the server.

Installation

The simplest way to install PyGreSQL is to type:

$ pip install PyGreSQL

For other ways of installing PyGreSQL and requirements, see the documentation.

Note that PyGreSQL also requires the libpq shared library to be installed and accessible on the client machine.

Documentation

The documentation is available at pygresql.github.io/ and at pygresql.readthedocs.io, where you can also find the documentation for older versions.

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

pygresql-6.0.1.tar.gz (271.9 kB view details)

Uploaded Source

Built Distributions

PyGreSQL-6.0.1-cp312-cp312-win_amd64.whl (99.7 kB view details)

Uploaded CPython 3.12 Windows x86-64

PyGreSQL-6.0.1-cp312-cp312-win32.whl (93.8 kB view details)

Uploaded CPython 3.12 Windows x86

PyGreSQL-6.0.1-cp311-cp311-win_amd64.whl (99.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

PyGreSQL-6.0.1-cp311-cp311-win32.whl (94.2 kB view details)

Uploaded CPython 3.11 Windows x86

PyGreSQL-6.0.1-cp310-cp310-win_amd64.whl (99.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

PyGreSQL-6.0.1-cp310-cp310-win32.whl (94.2 kB view details)

Uploaded CPython 3.10 Windows x86

PyGreSQL-6.0.1-cp39-cp39-win_amd64.whl (99.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

PyGreSQL-6.0.1-cp39-cp39-win32.whl (94.2 kB view details)

Uploaded CPython 3.9 Windows x86

File details

Details for the file pygresql-6.0.1.tar.gz.

File metadata

  • Download URL: pygresql-6.0.1.tar.gz
  • Upload date:
  • Size: 271.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pygresql-6.0.1.tar.gz
Algorithm Hash digest
SHA256 925f83b5cc2fd73545f0f6ae0d94d0b97f419b8fc895815bf18a8ef0143295b3
MD5 cc78abbb94039d41fe55772b7e0b8c10
BLAKE2b-256 50f0afcadfd644773de2e542c0bcf7242f50e830bb27c07c24342fe76e269945

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 99.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a5c27546dcb21cfa51b45b2031a63a754164466976365d7a7583a7cd53f2293b
MD5 fa1185af9ec2d64e66e6807863728659
BLAKE2b-256 29c3319c579f4d69585387d864fd045fd2f7e1d6baead254da4eb0aec1486e8a

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 93.8 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 04c085b16b7e53eac8cfc76ca160a91963f2e7361b8c5d064a45ae68564bcc3a
MD5 18a1832838301c0344c5e60d76010871
BLAKE2b-256 42c5ab3c036d31b5d1673b6d47b26862b9b0bf94507a9383355f778ad104e9f0

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 99.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 41ada07c89a6c55a79fdea590e506fac05293a2fba0ed3d24ebfe1a2693622fd
MD5 ac4ecc87bb1bbf2e3f314aa4447793cb
BLAKE2b-256 ab6714a4d5b1c557fe0d9ca54e4e79a2165debb39c0acd26e277d1eeaefefebc

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 ba7e1ff03c6cd2f89da7ac94a77c5c872019a9b2d8663eae77fe7ee6277236af
MD5 ebed9550f3163bcc8871e115cdf06a3d
BLAKE2b-256 a672103aa6cc9a2bb4c9f6040f31ee162660230586a6d07a6b7267c9ed380cc2

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 99.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f8c43fd86d1f9235380717682161a7f69dcd873a880dfaab3e2bdb67899cea69
MD5 747344dbe3642668142a5517c134121a
BLAKE2b-256 348568cd4eecede3460af705403c315cc202fe4ca6095097f8e14aeb664d847f

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 4720e5d72e5c00484d420c1fcc1cc446475beba2dd97edaeae57e9dfe45af696
MD5 2af81bf3442e7accf0ca5d005cad5984
BLAKE2b-256 17b431adea62d6bf6ceb5dc9129e6bd593fff8812b41ae5bf38d0634ad20dd88

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 99.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0eadc3a1e322369225f48a05a70197e60c9123e7b84a0df9a217f05a65685951
MD5 cc94ee1c386f09270ef94a31fc5a4058
BLAKE2b-256 08c9274a3f635397e9b5eb1b85141abad371240df49360d7f6b5665314254cf6

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.0.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: PyGreSQL-6.0.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for PyGreSQL-6.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 da5f16032f21c2692e124c3bccd747c163710cb6c2ff75f98ffb5b00ca95f0cc
MD5 a3872e20ff716a8c35a3916ee0660c0e
BLAKE2b-256 0ac8c4f22b629b072eb2f2d54e0b153d82923040dd6cc7efef30976669b7bb08

See more details on using hashes here.

Supported by

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