Access pg_config from Python
Project description
PyPgConfig🐘❤️🐍
Access pg_config from Python
Installation |
Usage |
Installation
Install this tool using pip
:
pip install PyPgConfig
Usage
from pypgconfig import detect
pgconf = detect()
pgconf.version # "15.4"
pgconf.version.major # 15
pgconf.version.minor # 4
pgconf.libs # ["pgcommon", "pgport", "lz4", "xml2" ]
pgconf.with_python # True
pgconf.pythonpath # Path("/opt/homebrew/bin/python3.11")
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
PyPgConfig-0.1.0a1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for PyPgConfig-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21007bb0583e8fd601cf3e51e519dfd345117cc7195f1272cdc0196354417328 |
|
MD5 | 344bea533277fecb7821cc8fd0e2671c |
|
BLAKE2b-256 | 37a050c8aabad69bf25b5339a58be9ab6a2d3478253bf3ef19f030ef1f0e07a8 |