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.5.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for psqlpy_piccolo-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9a47d63b3e632757e5b0481a7d8ece4c4ccc884e9c212c50cbe790166278e20 |
|
MD5 | 28ce0460e7022e80efd3ec9397b68b0a |
|
BLAKE2b-256 | bcac0a3b4e63f1a64c8d67afa2a8c7fe2a805d95c92b138186da7fb2d33949cd |