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

Uploaded Python 3Windows x86-64

postgresql_binaries-14.22.0-py3-none-manylinux_2_17_x86_64.whl (10.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

postgresql_binaries-14.22.0-py3-none-manylinux_2_17_aarch64.whl (10.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

postgresql_binaries-14.22.0-py3-none-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

postgresql_binaries-14.22.0-py3-none-macosx_10_9_x86_64.whl (9.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 42.9 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-14.22.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 25cbc62bc03d9da5bb5cf3e352e1a31f103186969d9e7f0402cb4e28eba39e8d
MD5 8388d4c6971fe7d1dd942a0a3e3860ab
BLAKE2b-256 caf5fa3a28b0cfd0b05a57a9d683800e2e42d8840068d5399c59c7939fa040bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 10.3 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-14.22.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 39f5691d9beaa40f98bb4878896dedad0f91462a9060dabefab6281c0fe52b05
MD5 6265b4e6b0e03b29f1a3286e05749523
BLAKE2b-256 a16cb2903f744fe985c9546353e89f86c4ed5416e925c69759fa591583fd0150

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 10.1 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-14.22.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 53396cdc8f9df0ec25e032acca02d557201302397428d4e183263c28a0cc6a1d
MD5 01c3a653478d8a8eb012314b909feb0e
BLAKE2b-256 8d03aaa4be7cee18e49817ef4b1c5d8521865eef3a37cc7060620e63132f92ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 8.9 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-14.22.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 816eafeabc7ef0da82f1a5e0845db221ba0767267a200a1fcb9a86daba4d4d7c
MD5 cbd92943244b16b8a3d89fb07fed530b
BLAKE2b-256 1eac1321660ecc299ae2f1e7ce626de4f8c33b886eb3015cc6adbd52a758faa0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 9.2 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-14.22.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f36ada1a202517a1a9a2df5cf398acb88b23149d5a5ba105f0a0582ee4a07aeb
MD5 f28ed125614c4fbc2a270cdd4566aeeb
BLAKE2b-256 23eeac2e995d191ec6bb194649d032362d136cafa8e48e6313978298b023a1d4

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