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.8 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.8 to 3.14 and PostgreSQL versions 12 to 18 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.2.3.tar.gz (275.4 kB view details)

Uploaded Source

Built Distributions

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

pygresql-6.2.3-cp314-cp314-win_amd64.whl (101.9 kB view details)

Uploaded CPython 3.14Windows x86-64

pygresql-6.2.3-cp313-cp313-win_amd64.whl (100.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pygresql-6.2.3-cp312-cp312-win_amd64.whl (100.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pygresql-6.2.3-cp311-cp311-win_amd64.whl (100.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pygresql-6.2.3-cp310-cp310-win_amd64.whl (100.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pygresql-6.2.3-cp39-cp39-win_amd64.whl (100.3 kB view details)

Uploaded CPython 3.9Windows x86-64

File details

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

File metadata

  • Download URL: pygresql-6.2.3.tar.gz
  • Upload date:
  • Size: 275.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3.tar.gz
Algorithm Hash digest
SHA256 c1209732eca102cf46a15b794b5bdcd90b204835c49b6b9221da979c31da0eb8
MD5 c6f12ab8d12ca21439198562bc396ddc
BLAKE2b-256 0a40e5fab84cc48d09907cd0950c2026d1304449fbd037f2f37204a6f93d8649

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 101.9 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ed3ffff6c66deb7f7efdbd2cc95cc937f4a394c731d1c21b896b477bda317b36
MD5 d2e77249ef47073f683743769680115f
BLAKE2b-256 36b79f431ac35dcc4940aa3d359348943ab39532268d0d40c01f15155c4d2eaf

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 100.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9b17d2c94b9d31dc811aed83a4a48eb3354397e38d19a348bdfc1e6435fcd256
MD5 afc15d7860d0d55461c00a08fcdd0784
BLAKE2b-256 d7cb279a91df9f802a7a7741f5395a12f8c4c678cf834ece469f03afcce338fc

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 100.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 efeaf80e160cb5702ac8ad51abbd4566d21766e50f56c6fe2b188504ae0b03fd
MD5 438f0e47c15f1421d1fb95d35f0a578c
BLAKE2b-256 72f13d955dbbc503577e51fbd28ab6e0d8db775fc2b1b837f137f3c4808592b1

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7142f6469f60fc1c95e3cd419807341bca708711c778d3b59ff2abe625f8d237
MD5 d10f981f3d615d90c352880123ec75ab
BLAKE2b-256 44f9ebc325f28fab4b99759fd2f76fc0df2cb0203f896ae36a04286087a5300c

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 176d81cefdeb921a805f4126195951920d0c6e7c6b1dc1273e25336692c05ef0
MD5 11e0d7d0491209d9ff36890f60e41395
BLAKE2b-256 ba10f8d20158629ac3b649896752dd6020656f1a2fcbb0389e355b8d6a683066

See more details on using hashes here.

File details

Details for the file pygresql-6.2.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pygresql-6.2.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygresql-6.2.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a41999b623b712c7a06acca2eb2db1b9eac56b1e9dacf0443419c2ceeb6760fc
MD5 c937656c53bcbaf4fd1ff24be70a3c11
BLAKE2b-256 64a636856ad413bae2378ab322df465de262711a6dcc6e8bc85e3b0326f30b5a

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