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.13 and PostgreSQL versions 10 to 17 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.1.0.tar.gz (272.0 kB view details)

Uploaded Source

Built Distributions

PyGreSQL-6.1.0-cp313-cp313-win_amd64.whl (100.2 kB view details)

Uploaded CPython 3.13Windows x86-64

PyGreSQL-6.1.0-cp313-cp313-win32.whl (94.1 kB view details)

Uploaded CPython 3.13Windows x86

PyGreSQL-6.1.0-cp312-cp312-win_amd64.whl (100.2 kB view details)

Uploaded CPython 3.12Windows x86-64

PyGreSQL-6.1.0-cp312-cp312-win32.whl (94.1 kB view details)

Uploaded CPython 3.12Windows x86

PyGreSQL-6.1.0-cp311-cp311-win_amd64.whl (99.5 kB view details)

Uploaded CPython 3.11Windows x86-64

PyGreSQL-6.1.0-cp311-cp311-win32.whl (94.6 kB view details)

Uploaded CPython 3.11Windows x86

PyGreSQL-6.1.0-cp310-cp310-win_amd64.whl (99.5 kB view details)

Uploaded CPython 3.10Windows x86-64

PyGreSQL-6.1.0-cp310-cp310-win32.whl (94.6 kB view details)

Uploaded CPython 3.10Windows x86

PyGreSQL-6.1.0-cp39-cp39-win_amd64.whl (99.5 kB view details)

Uploaded CPython 3.9Windows x86-64

PyGreSQL-6.1.0-cp39-cp39-win32.whl (94.6 kB view details)

Uploaded CPython 3.9Windows x86

File details

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

File metadata

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

File hashes

Hashes for pygresql-6.1.0.tar.gz
Algorithm Hash digest
SHA256 d5ae8e68bf33c0ba0566a6d708ff68296fddda7d2f7dd6cce7bfd5cc6fd5b2f8
MD5 cea940cb6943d63e2d5beacde379df9a
BLAKE2b-256 7655edbeb1fdf3e2f63485588cb78a5d9f2d27e9f21773f0f7b49102aacef742

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.1.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: PyGreSQL-6.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 100.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for PyGreSQL-6.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a3b3c5e139f6f64bbf11d7e6090b6099123c4938752cb17d5bf8800dc1b993d5
MD5 2205eb598614398db447320b841436fd
BLAKE2b-256 1b7657dfa66ce71778aa222f1e7674f526e750b912a3cb32a939dfa21c64d1d9

See more details on using hashes here.

File details

Details for the file PyGreSQL-6.1.0-cp313-cp313-win32.whl.

File metadata

  • Download URL: PyGreSQL-6.1.0-cp313-cp313-win32.whl
  • Upload date:
  • Size: 94.1 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for PyGreSQL-6.1.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 5dddd2c4e973cc6d9796bc6d9a599d915279ac957e56f4ed0458d9683f06bcc6
MD5 0a40dcc1ef8722a896ef21584ea48385
BLAKE2b-256 728be00fed37998727a65f53326826675627cc1b8f4199e6cd0b48719655d703

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6a792aec1cc8a65f61d94983e08490c92f37e3bdb1e7c61818fdc910f9f7c5b0
MD5 b2ae5a73c91491bca1f03ec5c9849fa4
BLAKE2b-256 f378fcd24b61bbc6621640401f068e1daf65b342f3b0af1e71a2735c19669f6f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 e4d0b2fc6f0c45b96ed3ec7993e5c0dec1a672f022fff771ad8c0cd636fd2e14
MD5 6828bf079b58ebd351dababe803cfe26
BLAKE2b-256 3dc2c00f19ece358d04701dfc4ceba215f4ae741d4c3cb86945ef8869de5b659

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 066f4368b048cbac08d59431441dbd6765857511db6973cc4663f8a3fd99e987
MD5 69bed976a23a65623c1c194a03cc0aa2
BLAKE2b-256 bb5b4c6f503beadde1f3f9e784d80a09809273d7f610ab10bb83017f897c24c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 8cd5d1611a3f312bb484b21589ba40ccd79557ea4364e4e18038a6379ac457d3
MD5 62a0ff370a40a00e0b8c87f6610699c3
BLAKE2b-256 fbc2310045f030deb3154bdea111c3c94d7e75e630b8e69ca074a58795953684

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2466304b4fe80377c08d9b4c662d910a505a94a6194a7648a41b078834e56b8c
MD5 ef991f4730b7d98f8ce6bacaebed6177
BLAKE2b-256 29b9b8aa2763d68324b60d3c69c800418646d5757e6606bf2b5ee273751352d3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 35353cdd528a277b1379d1bdf8d48f17b428dd287eaf9544276ed4622d0893f7
MD5 5377fbfb8af0b57d7ba7795798ca2976
BLAKE2b-256 ceb6900bbc2858fcbe85635e8141ee6ff1da12b65dd6e98356bfb68b73849526

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f3c91b64045e8f0c9c8e0ce02fe0dd8fbb06cf4da441ecb80187bc19b1109f30
MD5 ceeb5ab910e469c738d944d21be766ab
BLAKE2b-256 faf45195175d07de4eb49da2b8f28cc897a2d18fd0a063a69211e14df37beff1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGreSQL-6.1.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 a94408da794e6892e559c41d6059a0e5e542440c806dd70e9bc8c501f5cdaf4a
MD5 13f6825fc5e265fcc9e8b3131462207f
BLAKE2b-256 0a06c3a3600ffad9fbad2a33960f0325cd4a44dfa2336650614aad2e4ca01aae

See more details on using hashes here.

Supported by

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