Skip to main content

PyGreSQL - Python interface for PostgreSQL

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.

Release files for PyGreSQL 6.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyGreSQL 6.2.3
File Size Uploaded
pygresql-6.2.3.tar.gz 275.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for PyGreSQL 6.2.3
File
pygresql-6.2.3-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
pygresql-6.2.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
pygresql-6.2.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
pygresql-6.2.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
pygresql-6.2.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
pygresql-6.2.3-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details

Total release size: 879.9 kB

Release files / pygresql-6.2.3.tar.gz

Download URL pygresql-6.2.3.tar.gz
Size 275.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c1209732eca102cf46a15b794b5bdcd90b204835c49b6b9221da979c31da0eb8
BLAKE2b-256 checksum
How to use checksums
0a40e5fab84cc48d09907cd0950c2026d1304449fbd037f2f37204a6f93d8649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp314-cp314-win_amd64.whl

Download URL pygresql-6.2.3-cp314-cp314-win_amd64.whl
Size 101.9 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ed3ffff6c66deb7f7efdbd2cc95cc937f4a394c731d1c21b896b477bda317b36
BLAKE2b-256 checksum
How to use checksums
36b79f431ac35dcc4940aa3d359348943ab39532268d0d40c01f15155c4d2eaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp313-cp313-win_amd64.whl

Download URL pygresql-6.2.3-cp313-cp313-win_amd64.whl
Size 100.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
9b17d2c94b9d31dc811aed83a4a48eb3354397e38d19a348bdfc1e6435fcd256
BLAKE2b-256 checksum
How to use checksums
d7cb279a91df9f802a7a7741f5395a12f8c4c678cf834ece469f03afcce338fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp312-cp312-win_amd64.whl

Download URL pygresql-6.2.3-cp312-cp312-win_amd64.whl
Size 100.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
efeaf80e160cb5702ac8ad51abbd4566d21766e50f56c6fe2b188504ae0b03fd
BLAKE2b-256 checksum
How to use checksums
72f13d955dbbc503577e51fbd28ab6e0d8db775fc2b1b837f137f3c4808592b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp311-cp311-win_amd64.whl

Download URL pygresql-6.2.3-cp311-cp311-win_amd64.whl
Size 100.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7142f6469f60fc1c95e3cd419807341bca708711c778d3b59ff2abe625f8d237
BLAKE2b-256 checksum
How to use checksums
44f9ebc325f28fab4b99759fd2f76fc0df2cb0203f896ae36a04286087a5300c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp310-cp310-win_amd64.whl

Download URL pygresql-6.2.3-cp310-cp310-win_amd64.whl
Size 100.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
176d81cefdeb921a805f4126195951920d0c6e7c6b1dc1273e25336692c05ef0
BLAKE2b-256 checksum
How to use checksums
ba10f8d20158629ac3b649896752dd6020656f1a2fcbb0389e355b8d6a683066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / pygresql-6.2.3-cp39-cp39-win_amd64.whl

Download URL pygresql-6.2.3-cp39-cp39-win_amd64.whl
Size 100.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a41999b623b712c7a06acca2eb2db1b9eac56b1e9dacf0443419c2ceeb6760fc
BLAKE2b-256 checksum
How to use checksums
64a636856ad413bae2378ab322df465de262711a6dcc6e8bc85e3b0326f30b5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

6.2.3 This release

7 release files

6.2.2

7 release files

6.2.1

7 release files

6.2.0

7 release files

6.0.1

9 release files

6.0

9 release files

5.2.5

17 release files

5.2.4

15 release files

5.2.3

15 release files

5.2.1

13 release files

5.2

11 release files

5.1.2

15 release files

5.1

25 release files

5.0.7

25 release files

5.0.6

25 release files

5.0.4

21 release files

5.0.3

26 release files

5.0.2

26 release files

5.0.1

26 release files

5.0

26 release files

4.2.2

14 release files

4.2.1

14 release files

4.2

13 release files

4.1.1

9 release files

4.1

7 release files

4.0

5 release files

3.8.1

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page