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.2.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for psqlpy_piccolo-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753306b193622d757176c613451375351f92f882cf1ccde48efc818716d4dbe0 |
|
MD5 | 28f375550a46e63371c6c95dd05ef9a4 |
|
BLAKE2b-256 | 79423d54bc00c334bedfd66f1550bf03e7e19c37b02eee80a45b30978ab43a1e |