Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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")

Release files for PyPgConfig 0.1.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyPgConfig 0.1.0a2
File Size Uploaded
PyPgConfig-0.1.0a2.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyPgConfig 0.1.0a2
File Interpreter ABI Platform
PyPgConfig-0.1.0a2-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / PyPgConfig-0.1.0a2.tar.gz

Download URL PyPgConfig-0.1.0a2.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
064f2a736d384811eb542530c122b3532118eb58e7198f4fa29da4ccccf40194
BLAKE2b-256 checksum
How to use checksums
ffa13a28fd3ea96f20c202e4023e9b36cf5b54dce75012c2211a58a5bd2ad18e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / PyPgConfig-0.1.0a2-py3-none-any.whl

Download URL PyPgConfig-0.1.0a2-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8faf8197b3101a673f89765e57233d3ff7798d57f3e69b95ebd34db7c5014d65
BLAKE2b-256 checksum
How to use checksums
275e385c77d57050abaf1ad5102b21e0adcadd57d9e0be36b84f9f108e4528d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.0a2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page