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.4.0

The package is around 11MB.

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)

On the first call to bin(), the archive baked into the wheel is unpacked in place.

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 Distribution

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

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

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: postgresql_binaries-14.22.0.dev0-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.dev0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d6bc3b8ffcaee7a99c8076accbb8680e721ff25e45cee750507c0b885636d1f
MD5 0da1d57e526c097ed290a9440d1c8c7e
BLAKE2b-256 f4790483bd4962f8f6787211b2862082c1e7841553d652c6a1f86808dbec60c6

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