This is a third-party Rust engine for Piccolo ORM.
Under the hood, this engine uses PSQLPy, which is Rust-based and blazingly fast 🔥.
You can install package with pip
or poetry
.
poetry:
$ poetry add psqlpy-piccolo
pip:
$ pip install psqlpy-piccolo
Usage is as easy as possible.
PSQLPy based engine has the same interface as other engines from piccolo.
from psqlpy_piccolo import PSQLPyEngine
DB = PSQLPyEngine(
config={
"host": "127.0.0.1",
"port": 5432,
"user": "postgres",
"password": "postgres",
"database": "psqlpy-piccolo",
},
)