Run Postgres Tests with Python Without Docker, Brew, or Apt

Pip install Postgres – no Docker/Brew/apt

Run Postgres Tests with Python Without Docker, Brew, or Apt

I built a lightweight Python library to simplify PostgreSQL testing without relying on Docker, Brew, or system package managers. By bundling binaries directly, you can spin up fresh databases for Pytest instantly, create per-thread instances, or restore from archives with minimal overhead. The tool also includes a local query plan analyzer and supports rapid setup via uvx for throwaway environments.

Simple Postgres helpers for testing with Python - no docker, brew, apt, etc.
  1. leontrolski

    Some discussion on (ab?)using pypi to distribute binaries - https://discuss.python.org/t/use-of-pypi-as-a-generic-storag...

  2. PunchyHamster

    why would you use the worst package manager instead of the better ones?

  3. hmokiguess

    Ewww

More from this day

2026-07-26