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

Uploaded Python 3Windows x86-64

postgresql_binaries-15.17.0-py3-none-manylinux_2_17_x86_64.whl (10.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

postgresql_binaries-15.17.0-py3-none-manylinux_2_17_aarch64.whl (10.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

postgresql_binaries-15.17.0-py3-none-macosx_11_0_arm64.whl (9.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

postgresql_binaries-15.17.0-py3-none-macosx_10_9_x86_64.whl (9.4 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: postgresql_binaries-15.17.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 43.7 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-15.17.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 18bfe501cdd1e168414fbc808e1d0f6bfc6b69cdf8c42db6ba76e94bb8a6f190
MD5 a08b8a64b90857bf803375033da4a38a
BLAKE2b-256 e346b265a94036c6022dcc079bfef1d133ae995d7e011249b0e9e53144afde86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-15.17.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 10.6 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-15.17.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5b7fb5b715be7aeba8fc8994596b13bbab7b84603af84daa6b7ca2a55465f630
MD5 f0390ab76d65a0fc4d3be5ed57a327c8
BLAKE2b-256 3fd7428136b574fc49a6c77bdc724e29a50fc5ec46972f7f032ee62ed6ccfe2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-15.17.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 10.4 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-15.17.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 b7481d31741cf4df1eee5285a44bcb3522924be0784767c1e711521dc8cb5916
MD5 6dbc56b4a44a74b92a3e6f0eb1429efa
BLAKE2b-256 7d816f8248e93be1d5842bf964efea2ed3f059dde7a71a02a9c48204a606d24c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-15.17.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 9.0 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-15.17.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6018faaf098be5766b33cfb7bcd1dd784096149002e98ba6b9b36d40245eeaff
MD5 32db64dec05a9f7808640d5cf115b5df
BLAKE2b-256 5e0fb13a618db9bbf6ca7b9b040fb3aa8bcdb70ce8a47d4d4c078008c0cd77f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-15.17.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 9.4 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-15.17.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18d512bb4da11b830a83897b2edf61c577bd20ff4d9b0485650204d7bdfd0931
MD5 dcd1e6263fa3daccc99590b195bbeb71
BLAKE2b-256 35f299e9c76168615fd459f775cdb4f8b557003a4084db1a95edcd88a6468495

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