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 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 Distribution

postgresql_binaries-0.0.4.tar.gz (1.2 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.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postgresql_binaries-0.0.4.tar.gz
  • Upload date:
  • Size: 1.2 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.4.tar.gz
Algorithm Hash digest
SHA256 77be44c779896800c304bccbbf4576ca0f317fff7367a862424b9024bce7e85e
MD5 08cbac45796329f6ad81ea6731074bae
BLAKE2b-256 bd0cb774c3acc6f3942b497d1102a7ead10db47bbe8590a02eb439f34be57b4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postgresql_binaries-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd5703089fa627c96c8ba0f2b89a3921870b16f38659e5540a4b5651e461d06
MD5 b4f9cef23391e74f04ffcec81171853f
BLAKE2b-256 07651b404f4e6642586dec5a9a37c933a20882c12ea968b96c8a5725e8e9f5eb

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