Skip to main content

Postgresql Binaries

Uses releases from theseus-rs/postgresql-binaries and publishes them to pypy, so that you can do:

pip install postgresql-binaries==18.3.0

Then to use, eg:

import postgresql_binaries
import subprocess

cmd = [
    str(postgresql_binaries.bin() / "initdb"),
    *("-D", directory),
    *("-U", "postgres"),
    *("--auth-host", "trust"),
]
subprocess.check_call(cmd)

Packages are around 10MB. On the first call to bin(), the archive baked into the wheel is unpacked in place.


This library is intentionally really dumb, and intended to be built upon. There are mixed opinions on whether (ab)using PyPI to host binary files is a good idea. There are similar packages around, but they don't handle versioning well and include too much other junk.

Metadata

Release files for postgresql-binaries 17.11.0

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

Built distributions (wheels)

Table of built distributions (wheels) for postgresql-binaries 17.11.0
File
postgresql_binaries-17.11.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
postgresql_binaries-17.11.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
postgresql_binaries-17.11.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
postgresql_binaries-17.11.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
postgresql_binaries-17.11.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 99.4 MB

Release files / postgresql_binaries-17.11.0-py3-none-win_amd64.whl

Download URL postgresql_binaries-17.11.0-py3-none-win_amd64.whl
Size 51.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
252e491d341bd652d5745145d752c42436c4eb33d91b0e73aa895f1a654b9d4d
BLAKE2b-256 checksum
How to use checksums
07a3dea2d81d20a86596901fe67dc702cfdb87ef59358362fa0656ee11385377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / postgresql_binaries-17.11.0-py3-none-manylinux_2_17_x86_64.whl

Download URL postgresql_binaries-17.11.0-py3-none-manylinux_2_17_x86_64.whl
Size 11.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a222525752d64f8788693f559f736d6de130cc973f28c99badffff69e2cf2224
BLAKE2b-256 checksum
How to use checksums
32e32c8e259a6a45a6219bfacb62f61f809a4b91d76d41c551979eb176be1823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / postgresql_binaries-17.11.0-py3-none-manylinux_2_17_aarch64.whl

Download URL postgresql_binaries-17.11.0-py3-none-manylinux_2_17_aarch64.whl
Size 11.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f3885e7489405eb1c583c5da8d818e9ef69a418c64b58d71a4478202365b248f
BLAKE2b-256 checksum
How to use checksums
100fb04a35e3c439bd26c617fa272a05118e7063d84dd925d5fc0953dd04bab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / postgresql_binaries-17.11.0-py3-none-macosx_11_0_arm64.whl

Download URL postgresql_binaries-17.11.0-py3-none-macosx_11_0_arm64.whl
Size 12.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
85f6ac5af7b66289109cc79a3de21124eb254ceb25591a967ace74e27ff86203
BLAKE2b-256 checksum
How to use checksums
5f8165da58ac5fcde01a56e2a48e70837959f13ddc68413945e42edced9a8673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / postgresql_binaries-17.11.0-py3-none-macosx_10_9_x86_64.whl

Download URL postgresql_binaries-17.11.0-py3-none-macosx_10_9_x86_64.whl
Size 12.9 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
8c637b74f7c52b3c360d1948945a05f8c1aa92b6051f3fe406c6a63c0ad7ae32
BLAKE2b-256 checksum
How to use checksums
d554cd0aab7651a70e1d3e3d69acf9efa12089eb4aeaae29efd5f0014f3c2b07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for postgresql-binaries 17.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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