Install a local, non-root PostgreSQL Server with Python "pip"

From: Michel Pelletier via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org>
To: PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org>
Subject: Install a local, non-root PostgreSQL Server with Python "pip"
Date: 2021-09-01 13:05:10
Message-ID: 163050151024.700.1942336537066071288@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

Hello,

I'd like to announce the first release of postgresql-wheel, a Python package containing an entire compiled PostgreSQL server in a single pip installable file.

https://github.com/michelp/postgresql-wheel

While the pip "wheel" is universally used to package Python code and compiled shared libraries, the format is like other archive formats (apt, yum, etc) and can store any kind of compiled package artifacts, like an entire postgres installation binary.

postgresql-wheel uses the "manylinux" build environments to compile PostgreSQL and include an entire server installation in the wheel. This means you can install a local postgresql server into a virtual environment without any sudo or root privileges.

This package was developed to be useful for test runners that depend on postgresql, just add this wheel as a dependency and create and destroy any number of databases in your setup and teardown code, no external postgres server dependencies required!

-Michel

Browse pgsql-announce by date

  From Date Subject
Next Message MigOps via PostgreSQL Announce 2021-09-01 13:05:58 pg_dbms_job v1.1.0 has been released
Previous Message Psycopg Development Team via PostgreSQL Announce 2021-09-01 13:02:38 Psycopg 3.0 beta 1 released!