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

Total release size: 92.1 MB

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

Download URL postgresql_binaries-16.15.0-py3-none-win_amd64.whl
Size 46.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
5b4bc720edb424c132840849684cdc864bd828dff96097ee667337eb351623b0
BLAKE2b-256 checksum
How to use checksums
603148badb929dbc6235b4c14e8ce03bcab612c2740bb4f4cf2288383a3b7853
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-16.15.0-py3-none-manylinux_2_17_x86_64.whl

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

Download URL postgresql_binaries-16.15.0-py3-none-manylinux_2_17_aarch64.whl
Size 10.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
11d0ddeb1fdf9c5c8b059d658a3da0fd6fc0f420bff450d9204f3a4f3983007f
BLAKE2b-256 checksum
How to use checksums
3472a71ea5cb4cba31db9ab504a33ad24dc8af724f61d1611b4dd34cc19aa07e
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-16.15.0-py3-none-macosx_11_0_arm64.whl

Download URL postgresql_binaries-16.15.0-py3-none-macosx_11_0_arm64.whl
Size 12.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c73c7eacd71da727085aa3a4ebfa60b862ce8eacb72102df691b620d7a66460b
BLAKE2b-256 checksum
How to use checksums
5c8fe255d47e3e13e4429a3ff76112d137a1ad3fce052936ef70caced5856114
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-16.15.0-py3-none-macosx_10_9_x86_64.whl

Download URL postgresql_binaries-16.15.0-py3-none-macosx_10_9_x86_64.whl
Size 12.3 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4a1ec8dc225f404c677a43e84472b84e83482c6e7e34c183c44529477dcc6d74
BLAKE2b-256 checksum
How to use checksums
378cf854f31e4ccafae96a803fc8ed7d32ae308f4399efea20c80d92f13e712e
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 16.15.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