Skip to main content
Continuous Integration report Code coverage report Documentation

pgtoolkit provides implementations to manage various file formats in Postgres cluster. Currently:

  • postgresql.conf: read, edit, save.

  • pg_hba.conf: render, validate and align columns.

  • .pgpass: render, validate and sort lines.

  • pg_service.conf: find, read, edit, render.

  • Cluster logs.

It also provides a Python API for calling pg_ctl commands.

import sys

from pgtoolkit.hba import parse


with open('pg_hba.conf') as fo:
    hba = parse(fo)

hba.write(sys.stdout)

The API in this toolkit must:

  • Use only Python stdlib.

  • Use Postgres idioms.

  • Have full test coverage.

  • Run everywhere.

Support

pgtoolkit home on GitHub is the unique way of interacting with developers. Feel free to open an issue to get support.

Metadata

Release files for pgtoolkit 0.33.0

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

Source distribution (sdist)

Source distribution for pgtoolkit 0.33.0
File Size Uploaded
pgtoolkit-0.33.0.tar.gz 57.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pgtoolkit 0.33.0
File Interpreter ABI Platform
pgtoolkit-0.33.0-py3-none-any.whl Python 3 none any Details

Total release size: 124.0 kB

Release files / pgtoolkit-0.33.0.tar.gz

Download URL pgtoolkit-0.33.0.tar.gz
Size 57.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ccadbce37bccedb82ab2c098e30618a502ecb60f1ec294752395c1058eaf8aca
BLAKE2b-256 checksum
How to use checksums
24ad1aae7d54fd54520714b1f80217280809677b7a2c2cd11e874fd25fbe0415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / pgtoolkit-0.33.0-py3-none-any.whl

Download URL pgtoolkit-0.33.0-py3-none-any.whl
Size 66.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeb6a24e2fcf40e795aa5a14ad8df6eca03176cca08c067735076bfb50a0aac6
BLAKE2b-256 checksum
How to use checksums
bd4f5f0a803da8eb276eafc6e9f05aa0f92b187e97b53b909ffc0d4f1be2f694
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.33.0 This release

2 release files

0.32.0

2 release files

0.31.1

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.27.0

2 release files

0.26.1

2 release files

0.24.1

2 release files

0.24.0

2 release files

0.22.0

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.17.0

2 release files

0.15.4

2 release files

0.15.3

2 release files

0.15.2

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.13.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 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