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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PyPgConfig-0.1.0a2.tar.gz.
File metadata
- Download URL: PyPgConfig-0.1.0a2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
064f2a736d384811eb542530c122b3532118eb58e7198f4fa29da4ccccf40194
|
|
| MD5 |
bef3497aff89454fc5fadc2621c31027
|
|
| BLAKE2b-256 |
ffa13a28fd3ea96f20c202e4023e9b36cf5b54dce75012c2211a58a5bd2ad18e
|
File details
Details for the file PyPgConfig-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: PyPgConfig-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8faf8197b3101a673f89765e57233d3ff7798d57f3e69b95ebd34db7c5014d65
|
|
| MD5 |
49ff90efc6909c4a58b41040c73e876b
|
|
| BLAKE2b-256 |
275e385c77d57050abaf1ad5102b21e0adcadd57d9e0be36b84f9f108e4528d5
|