[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/psqlpy-piccolo?style=for-the-badge)](https://pypi.org/project/psqlpy-piccolo/)
# psqlpy-piccolo
This is a third-party Rust engine for [Piccolo ORM](https://github.com/piccolo-orm/piccolo).
Under the hood, this engine uses [PSQLPy](https://github.com/qaspen-python/psqlpy), which is Rust-based and blazingly fast 🔥.
## Installation
You can install package with `pip` or `poetry`.
poetry:
```bash
$ poetry add psqlpy-piccolo
```
pip:
```bash
$ pip install psqlpy-piccolo
```
## Usage
Usage is as easy as possible.
PSQLPy based engine has the same interface as other engines from piccolo.
```python
from psqlpy_piccolo import PSQLPyEngine
DB = PSQLPyEngine(
config={
"host": "127.0.0.1",
"port": 5432,
"user": "postgres",
"password": "postgres",
"database": "psqlpy-piccolo",
},
)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "psqlpy-piccolo",
"maintainer": "Kiselev Aleksandr",
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": "chandr@chandr.net",
"keywords": "python, postgresql, psqlpy, piccolo, async-engine, psqlpy-engine",
"author": "chandr-andr (Kiselev Aleksandr)",
"author_email": "chandr@chandr.net",
"download_url": "https://files.pythonhosted.org/packages/93/65/3442936e77f9b09d6ddb816e2a274f9399cd898593cfb444d4877eb129f7/psqlpy_piccolo-0.1.7.tar.gz",
"platform": null,
"description": "[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/psqlpy-piccolo?style=for-the-badge)](https://pypi.org/project/psqlpy-piccolo/)\n\n# psqlpy-piccolo\n\nThis is a third-party Rust engine for [Piccolo ORM](https://github.com/piccolo-orm/piccolo). \nUnder the hood, this engine uses [PSQLPy](https://github.com/qaspen-python/psqlpy), which is Rust-based and blazingly fast \ud83d\udd25.\n\n## Installation\n\nYou can install package with `pip` or `poetry`.\n\npoetry:\n\n```bash\n$ poetry add psqlpy-piccolo\n```\n\npip:\n\n```bash\n$ pip install psqlpy-piccolo\n```\n\n## Usage\n\nUsage is as easy as possible. \nPSQLPy based engine has the same interface as other engines from piccolo.\n\n```python\nfrom psqlpy_piccolo import PSQLPyEngine\n\n\nDB = PSQLPyEngine(\n config={\n \"host\": \"127.0.0.1\",\n \"port\": 5432,\n \"user\": \"postgres\",\n \"password\": \"postgres\",\n \"database\": \"psqlpy-piccolo\",\n },\n)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "PSQLPy-based engine for Piccolo-orm",
"version": "0.1.7",
"project_urls": null,
"split_keywords": [
"python",
" postgresql",
" psqlpy",
" piccolo",
" async-engine",
" psqlpy-engine"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d22f7d9947205ad28e91795db0216118c28303c001de69f2130b41828538eb58",
"md5": "f1aa1a7858bacaa86fb28dcfe1f14685",
"sha256": "7824d0ecc42d2ec55c328d01dafeedb2745cfaf5c842ce91a7b55acd5b009fa9"
},
"downloads": -1,
"filename": "psqlpy_piccolo-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1aa1a7858bacaa86fb28dcfe1f14685",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 7541,
"upload_time": "2024-07-25T09:46:11",
"upload_time_iso_8601": "2024-07-25T09:46:11.953888Z",
"url": "https://files.pythonhosted.org/packages/d2/2f/7d9947205ad28e91795db0216118c28303c001de69f2130b41828538eb58/psqlpy_piccolo-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "93653442936e77f9b09d6ddb816e2a274f9399cd898593cfb444d4877eb129f7",
"md5": "87bc786a82eca0ee6083d11b6ccd5d9b",
"sha256": "5a0a768cf85f4955de68bd64024be355bc0e44bff4d9ce36a2fe353267873307"
},
"downloads": -1,
"filename": "psqlpy_piccolo-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "87bc786a82eca0ee6083d11b6ccd5d9b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 7974,
"upload_time": "2024-07-25T09:46:13",
"upload_time_iso_8601": "2024-07-25T09:46:13.222352Z",
"url": "https://files.pythonhosted.org/packages/93/65/3442936e77f9b09d6ddb816e2a274f9399cd898593cfb444d4877eb129f7/psqlpy_piccolo-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-25 09:46:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "psqlpy-piccolo"
}