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.1a0.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for pgtoolkit-0.0.1a0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db117f461a781f52cd3ff80a6c688937b87256035101bbf52d4ac7b0373ee3d7 |
|
MD5 | 017d3dfffcae800b3ff3096eab42f664 |
|
BLAKE2b-256 | a3c61f3dfd3181b963de8deddd4db3e2140064d399237f0550dea20936407f7c |