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.4.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for psqlpy_piccolo-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5b41c5ca1cd2d675dd0f3c3f5ed14e9961f4b820a02e3aaa1df647d94d1033 |
|
MD5 | 733a9635f138f53e2ac32370f149a587 |
|
BLAKE2b-256 | 7ef0c6efb035da744834103ef6978943d1151ce4ed19a5c0cca58fd6aff16c2d |