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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postgresql_binaries-0.0.2.tar.gz (1.1 kB view details)

Uploaded Source

Built Distribution

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

postgresql_binaries-0.0.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file postgresql_binaries-0.0.2.tar.gz.

File metadata

  • Download URL: postgresql_binaries-0.0.2.tar.gz
  • Upload date:
  • Size: 1.1 kB
  • Tags: Source
  • 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-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5c35e9159da4859e63c34f69488876c1fa4aacb602198803cf3b02c552d1a1f1
MD5 22f41b522811d0c3b42949e5c2968cca
BLAKE2b-256 678e21bde4155786110e03eb17f1da1c6b77cddbdbfc9dfd88717a858d38ea27

See more details on using hashes here.

File details

Details for the file postgresql_binaries-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: postgresql_binaries-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • 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-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f75f2f4a18900374ebe52a23f210178f2be3a9d971f2b4bc77823c882ca047f5
MD5 f3ea895f7d655efe32a6891dd2a62cc0
BLAKE2b-256 137b87334f1089247155216bc2e03d850ded7a5cb5152d45a2567a4cd6848f2f

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