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 18.6.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 18.6.0
File
postgresql_binaries-18.6.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
postgresql_binaries-18.6.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
postgresql_binaries-18.6.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
postgresql_binaries-18.6.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
postgresql_binaries-18.6.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 103.6 MB

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

Download URL postgresql_binaries-18.6.0-py3-none-win_amd64.whl
Size 53.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
075f493fd899a5aeef1aea47dbd6b662e6b634c0b904e4e754fdaf6fef2db343
BLAKE2b-256 checksum
How to use checksums
ab5e4b09b624f88fb3b61c6520c69acdaa5da55227853cc6bcba40771130f33f
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-18.6.0-py3-none-manylinux_2_17_x86_64.whl

Download URL postgresql_binaries-18.6.0-py3-none-manylinux_2_17_x86_64.whl
Size 12.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e25217097466f049d4b577b4e980f2ef5fbc6fb0a71f7260a2ef5ca247af0477
BLAKE2b-256 checksum
How to use checksums
c1d65bf88efbd89c599506a141e547ecb5607384dc3fa706360b971cd9bdd530
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-18.6.0-py3-none-manylinux_2_17_aarch64.whl

Download URL postgresql_binaries-18.6.0-py3-none-manylinux_2_17_aarch64.whl
Size 11.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3ebed8ab6f48450e1af1c991273dd438d559f692a38fad765f75ce52ca44c398
BLAKE2b-256 checksum
How to use checksums
8b7e59acdc480bad19a8122790453ec4b6de3eda230d034a0190c16250cd3fcc
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-18.6.0-py3-none-macosx_11_0_arm64.whl

Download URL postgresql_binaries-18.6.0-py3-none-macosx_11_0_arm64.whl
Size 12.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
79a3c84ca214d3c52aa1d4960fc9befc9354f0334b03c4bbd6a44207bbfeb143
BLAKE2b-256 checksum
How to use checksums
4c9fbf0a4e197be35fed95ed4ea346fd35f665f6dba6169fc4d71df62e3030fa
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-18.6.0-py3-none-macosx_10_9_x86_64.whl

Download URL postgresql_binaries-18.6.0-py3-none-macosx_10_9_x86_64.whl
Size 13.3 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3a9d64f002462e8e595db242eebf9dde44d4cf90ceba982878326eefbceda2af
BLAKE2b-256 checksum
How to use checksums
239675f71bedbd08645d57f635249fa2b25a385b2336c7523177147b4d511ab0
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 18.6.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