PSQLPy-based engine for Piccolo-orm
Project description
psqlpy-piccolo
This is a third-party Rust engine for Piccolo ORM.
Under the hood, this engine uses PSQLPy, which is Rust-based and blazingly fast 🔥.
Installation
You can install package with pip
or poetry
.
poetry:
$ poetry add psqlpy-piccolo
pip:
$ pip install psqlpy-piccolo
Usage
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",
},
)
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
psqlpy_piccolo-0.1.3.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for psqlpy_piccolo-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ddf6977d2f0dbc646ad09b98f10b34010e2d1cc37c58ea3c54e21d489bc1a6 |
|
MD5 | af95e2ff2baf96ba95c7b6e572e5cc21 |
|
BLAKE2b-256 | e107899f98017e3d7922703f52884a6eb327790f5d95724dc1a7d8fbccb92618 |