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

Total release size: 89.3 MB

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

Download URL postgresql_binaries-15.19.0-py3-none-win_amd64.whl
Size 44.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
867f08637ce9120f3381c8b963d8a7becfd8b656589bf7ae70cba38385cdc905
BLAKE2b-256 checksum
How to use checksums
ffe962535430a7e6c52d63798252bfc4cb36bc18a63b7b5d138d4833824d811f
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-15.19.0-py3-none-manylinux_2_17_x86_64.whl

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

Download URL postgresql_binaries-15.19.0-py3-none-manylinux_2_17_aarch64.whl
Size 10.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d2e4dd91135c2242e69dc4e47b24d003a5c9c88e58a444f2da40207b42dc91a8
BLAKE2b-256 checksum
How to use checksums
e12b7f0e6c0a70923c0b52f1e9342ceaca4dee91813452cb2d9282eb48d7a810
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-15.19.0-py3-none-macosx_11_0_arm64.whl

Download URL postgresql_binaries-15.19.0-py3-none-macosx_11_0_arm64.whl
Size 11.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
43f90d2e360c85c94b1b4957d2077edd09890cd0db2fc719099090a2e2a4cc10
BLAKE2b-256 checksum
How to use checksums
1e581c42bb0b03e0d4e69024edb5ff1635d28d6ef166b7d5bc786797bc634699
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-15.19.0-py3-none-macosx_10_9_x86_64.whl

Download URL postgresql_binaries-15.19.0-py3-none-macosx_10_9_x86_64.whl
Size 12.0 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b8982830cd2f78f4d0b95fe17315707dd4d3b52f6d1569fa076f21a7121564a8
BLAKE2b-256 checksum
How to use checksums
b5fdf0ce5bbfebc4f248621cbccb3cd87e7c6c990b17c3229a7631f4b01e5f71
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 15.19.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