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.0a2.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for PyPgConfig-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faf8197b3101a673f89765e57233d3ff7798d57f3e69b95ebd34db7c5014d65 |
|
MD5 | 49ff90efc6909c4a58b41040c73e876b |
|
BLAKE2b-256 | 275e385c77d57050abaf1ad5102b21e0adcadd57d9e0be36b84f9f108e4528d5 |