Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

PostgreSQL foundations for Python

Project Description

The PostgreSQL foundation project provides data and classes that relate to core PostgreSQL elements. Exception hierarchy, type implementations, type Oid identification, and encoding aliases to name a few.

The Postgres foundation package provides various utilities for working PostgreSQL:

  • PostgreSQL exception classes and SQL state codes
  • PostgreSQL types and named Oids
  • Version parser
  • pg_config dictionary converter
  • encoding aliases
  • bytea codec
  • ‘optparse’ options for command line client programs
  • pgpass file parser
  • environment variable collector
  • PQ IRI parser (think DSN, but in URL form)
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pg_foundation-1.1.1.tar.gz (35.6 kB) Copy SHA256 Checksum SHA256 Source May 6, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting