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-18.3.0-py3-none-win_amd64.whl (53.5 MB view details)

Uploaded Python 3Windows x86-64

postgresql_binaries-18.3.0-py3-none-manylinux_2_17_x86_64.whl (11.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

postgresql_binaries-18.3.0-py3-none-manylinux_2_17_aarch64.whl (11.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

postgresql_binaries-18.3.0-py3-none-macosx_11_0_arm64.whl (10.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

postgresql_binaries-18.3.0-py3-none-macosx_10_9_x86_64.whl (10.6 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: postgresql_binaries-18.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 53.5 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-18.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5a653f09173e8138658f418ff67f3ce5d6637846480a594a9ca9c0dd558b8d62
MD5 7748941f4b9b8914e3c42ba9a7f8c94c
BLAKE2b-256 76fa636e00b7b80a9ddc5c4c4c2b24ec8247846806903a1c1450708486777334

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-18.3.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 11.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-18.3.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0781bc178b2f5ac260f076bd347d66133102f96c06137083d1be88efed6ead4c
MD5 d969f1298ab8d8f4580d0756ad65fa72
BLAKE2b-256 8e247dcbb59f0e6ef970776059d6d97bf28c6c5811e3f4b8bf92ed1650f30c1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-18.3.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 11.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-18.3.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 45cbfc61f37e806e4b13c67ccd102f4f59fceefa35a33c67ff784244bd58350a
MD5 a03e80663daf005abf2d1967c46bf670
BLAKE2b-256 c26ce696d64a8862de84b7761f8f572297476fd120d750b6179655e5dc3758fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-18.3.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 10.1 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-18.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e281fb4d3207434694def96d1483b414a193ee9c0af04c677311c3a1349855f
MD5 db9cc2f11e4199789d6f5174c514c70c
BLAKE2b-256 0216a65d7834c7211429792a72e100d500dbde26c984891c82ac07e74c1f0162

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-18.3.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 10.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-18.3.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dc9c3cb83a0f12e97d8b7def4267c4dc8abaf4373f2ddac3b3c761843b0f68ce
MD5 4625a02e9c479b40c97fa112b2e80e67
BLAKE2b-256 b88f07078224df3ab8c79092813507cf5c2d07383dc49fe688d57788aaa65774

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