dalibo / pgtoolkit

Postgres Support from Python
https://pgtoolkit.rtfd.io/
PostgreSQL License
21 stars 9 forks source link
hba pgpass postgres postgresql python

#################################### Postgres Cluster Support in Python ####################################

| |Tests status| |Codecov| |RTD|

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

It also provides a Python API for calling pgctl commands.

.. _pg_ctl: https://www.postgresql.org/docs/current/app-pg-ctl.html

.. code::

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:

Support

pgtoolkit <https://github.com/dalibo/pgtoolkit>_ home on GitHub is the unique way of interacting with developers. Feel free to open an issue to get support.

.. |Codecov| image:: https://codecov.io/gh/dalibo/pgtoolkit/branch/master/graph/badge.svg :target: https://codecov.io/gh/dalibo/pgtoolkit :alt: Code coverage report

.. |Tests status| image:: https://github.com/dalibo/pgtoolkit/actions/workflows/tests.yml/badge.svg :target: https://github.com/dalibo/pgtoolkit/actions/workflows/tests.yml :alt: Continuous Integration report

.. |RTD| image:: https://readthedocs.org/projects/pgtoolkit/badge/?version=latest :target: https://pgtoolkit.readthedocs.io/en/latest/ :alt: Documentation