pygresql 6.2.3


pip install pygresql

  Latest version

Released: Jan 25, 2026


Meta
Author: D'Arcy J. M. Cain
Requires Python: >=3.8

Classifiers

Development Status
  • 6 - Mature

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • C
  • Python
  • Python :: 3
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • SQL

Topic
  • Database
  • Database :: Front-Ends
  • Software Development :: Libraries :: Python Modules

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.

6.2.3 Jan 25, 2026
6.2.2 Jan 03, 2026
6.2.1 Dec 27, 2025
6.2.0 Dec 21, 2025
6.1.0 Dec 05, 2024
6.0.1 Apr 19, 2024
6.0 Oct 03, 2023
6.0b1 Sep 06, 2023
5.2.5 Aug 28, 2023
5.2.4 Mar 26, 2022
5.2.3 Jan 30, 2022
5.2.2 Dec 09, 2020
5.2.1 Sep 25, 2020
5.2 Jun 21, 2020
5.1.2 Apr 19, 2020
5.1.1 Mar 05, 2020
5.1 May 19, 2019
5.0.7 May 19, 2019
5.0.6 Jul 30, 2018
5.0.4 Jul 26, 2017
5.0.3 Dec 10, 2016
5.0.2 Sep 14, 2016
5.0.1 Aug 20, 2016
5.0 Mar 21, 2016
4.2.2 Mar 18, 2016
4.2.1 Feb 19, 2016
4.2 Jan 22, 2016
4.1.1 Jan 14, 2013
4.1 Jan 03, 2013
4.0 Jun 30, 2009
3.8.1 Jun 05, 2006
5.1.win32 May 19, 2019
5.1.win May 19, 2019
5.1.1.win32 Mar 05, 2020
5.1.1.win Mar 05, 2020
5.0.win32 Mar 21, 2016
5.0.win Mar 21, 2016
5.0.7.win32 May 19, 2019
5.0.7.win May 19, 2019
5.0.6.win32 Jul 30, 2018
5.0.6.win Jul 30, 2018
5.0.4.win32 Jul 26, 2017
5.0.4.win Jul 26, 2017
5.0.3.win32 Dec 10, 2016
5.0.3.win Dec 10, 2016
5.0.2.win32 Sep 14, 2016
5.0.2.win Sep 14, 2016
5.0.1.win32 Aug 20, 2016
5.0.1.win Aug 20, 2016
4.2.win32 Jan 22, 2016
4.2.win Jan 22, 2016
4.2.2.win32 Mar 18, 2016
4.2.2.win Mar 18, 2016
4.2.1.win32 Feb 19, 2016
4.2.1.win Feb 19, 2016
4.1.win32 Jan 03, 2013
4.1.win Jan 03, 2013
4.1.1.win32 Jan 14, 2013
4.1.1.win Jan 14, 2013
4.0.win32 Jun 30, 2009
3.8.1.win32 Jun 05, 2006
No dependencies