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

Uploaded Python 3Windows x86-64

postgresql_binaries-17.9.0-py3-none-manylinux_2_17_x86_64.whl (11.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

postgresql_binaries-17.9.0-py3-none-manylinux_2_17_aarch64.whl (11.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

postgresql_binaries-17.9.0-py3-none-macosx_11_0_arm64.whl (9.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

postgresql_binaries-17.9.0-py3-none-macosx_10_9_x86_64.whl (10.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: postgresql_binaries-17.9.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 50.3 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-17.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a86656cfd7f98da7d0327c9c3eabe114e544fb50e5ee7e9737d45ac4a9fd4a91
MD5 0d276c8f2ae26ba5c17ac8fa8b395365
BLAKE2b-256 dc73b3348110f82c56fe6408c260090cd4f6ba59bddc4fb3551c76c1ac7da78b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-17.9.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 11.5 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-17.9.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 46ed4f487dec1b72bb0fa950345c9b84aa049cce4a3f13be6d98136c9cdf4adb
MD5 e3ce1520b54ba3b651a133976c63d7a9
BLAKE2b-256 0ff1d729b2516a79e6fe0951bf50c0923d4c5a3c4c623ec5b63e3d0fa01854c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-17.9.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 11.3 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-17.9.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 df0bf47f99a42eff7b2f295be922bc501bcc7df105264a14262cde13a2727e23
MD5 6eb062ee45f60f6864fff27a4a034654
BLAKE2b-256 88abe56d5da6c5fc25755d0b34f7f2d8528d6e2c92105acfa291ef5fa56252d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-17.9.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 9.8 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-17.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82bdb8dc50f8c379ce252fd3e9f3261ed95372f46eb8150921420ddc7ff860fc
MD5 ca53e5dad2acbb93e7d05bca9ef9775c
BLAKE2b-256 f435b54b022e96f6128b09a82f6c824efe2f4338f130877a03cc5bd52b016cf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-17.9.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 10.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-17.9.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5dea4d2f6b485a043aa52dc3fd9fd02b70f097ae60e24c6a245d1f4b31d575bc
MD5 6e6d4abed526c30a1b766379dacc8bb3
BLAKE2b-256 789e9d789aad243856efceac0c8e14273dc04c3e5849c6bae2c9b713b4daa348

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