GitHub - wey-gu/py-pglite: PGlite wrapper in Python for testing. Test your app with Postgres just as lite as SQLite.
py-pglite
A Python testing library that provides seamless integration between PGlite and Python test suites. Get the full power of PostgreSQL in your tests without the overhead of a full PostgreSQL installation.
🎯 Why py-pglite?
⚡ Blazing Fast: In-memory PostgreSQL for ultra-quick test runs
🛠️ Effortless Setup: No PostgreSQL install needed—just Node.js(I know)!
🐍 Pythonic: Native support for SQLAlchemy & SQLModel in your tests
🧊 Fully Isolated: Every test module gets its own fresh database
�...
Read more at github.com