Skip to main content

PostgreSQL binaries for Linux, MacOS and Windows

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

postgresql_binaries-16.13.0-py3-none-win_amd64.whl (45.6 MB view details)

Uploaded Python 3Windows x86-64

postgresql_binaries-16.13.0-py3-none-manylinux_2_17_x86_64.whl (10.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

postgresql_binaries-16.13.0-py3-none-manylinux_2_17_aarch64.whl (10.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

postgresql_binaries-16.13.0-py3-none-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

postgresql_binaries-16.13.0-py3-none-macosx_10_9_x86_64.whl (9.6 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file postgresql_binaries-16.13.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: postgresql_binaries-16.13.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 45.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

File hashes

Hashes for postgresql_binaries-16.13.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88182e35abea8686c737392d9b8d59370fa151d05f66cdbf68a8dc31d6f5e10e
MD5 7aeffcf89e87b3f43f96d504912a47fc
BLAKE2b-256 c3c1c3c2990d08833b5ac2e144987a8d5a585c8becad6096f4a01f57a3fc8ab3

See more details on using hashes here.

File details

Details for the file postgresql_binaries-16.13.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: postgresql_binaries-16.13.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

File hashes

Hashes for postgresql_binaries-16.13.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 66b98d0be86068e4a3531d3afdc98c6ed0abdef9fdfa4f1983c9e1295bd6af74
MD5 84a1ea5d9c74022a55c8f4713457b5ef
BLAKE2b-256 36edea974ca8313da8818c224c35365767b03d34763339f02e680ff7d504925f

See more details on using hashes here.

File details

Details for the file postgresql_binaries-16.13.0-py3-none-manylinux_2_17_aarch64.whl.

File metadata

  • Download URL: postgresql_binaries-16.13.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

File hashes

Hashes for postgresql_binaries-16.13.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 eda03e6634e5f000d271902cd6dfee3fd4e9dc279e9960720f6497c209a4bd9b
MD5 fef34e8da4b4a8563a6552dcb6884100
BLAKE2b-256 3ae2bf9c1f70ccd78352cef8d436db5cbb2b06654292e2b3395a8ba05c65a570

See more details on using hashes here.

File details

Details for the file postgresql_binaries-16.13.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: postgresql_binaries-16.13.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

File hashes

Hashes for postgresql_binaries-16.13.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ead36fe5e6107dcb80ddeba96bfdaf6b69db7bb7b57b7e16f107a3e053fb416
MD5 b0e7aa712925a99d50a184ac16fa88b4
BLAKE2b-256 b1a545f2787b2cb355a65da42f27335b6b35bf3e2ed72566d5342d9b3708fb18

See more details on using hashes here.

File details

Details for the file postgresql_binaries-16.13.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: postgresql_binaries-16.13.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

File hashes

Hashes for postgresql_binaries-16.13.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5229d39351eb68abadbbf3959a7e7856ee223e40dc4362dd6d0d654ccb339a88
MD5 51391e6519827d09eb8fc8a662b56b52
BLAKE2b-256 a8e4c7559bf66eb738d3c42c8f775d8b8021f9ba347b6f92a90f8454a32f461a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page