Manage Postgres cluster files from Python
Project description
pgtoolkit provides implementations to manage various file formats in Postgres cluster. Currently:
pg_hba.conf: render, validate and align columns.
.pgpass: render, validate and sort lines.
pg_service.conf: find, read, edit, render.
Cluster logs.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pgtoolkit-0.0.1a1.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for pgtoolkit-0.0.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e05998a747115c5f58e2a4af175764a31b8ec8e0d69aecc5dedf2af410ed7015 |
|
MD5 | 1a972410858525c143b7e31f07e38e4c |
|
BLAKE2b-256 | 5b8102b145a8606af8ec39095503a8195bbea493ed2322eca9a586af8823c805 |