quazydb
#######
.. image:: https://raw.githubusercontent.com/zergos/quazydb/master/docs/source/images/logo_mini.png
Powerful yet simple Python ORM
Let's combine all modern ORMs with business essence into something intuitive and simple.
Example:
========
.. code-block:: python
import random
from quazy import DBFactory, DBTable
class Product(DBTable):
name: str
price: float
description: str = None
if __name__ == "__main__":
db = DBFactory.postgres(conninfo="postgresql://quazy:quazy@127.0.0.1/quazy")
db._debug_mode = True
db.use_module()
db.clear()
db.create()
for i in range(100):
db.insert(Product(name=f'Product #{i + 1}', price=random.randint(1, 1000) / 100))
q = Product.query().filter(lambda x: x.price >= 5)
print("Total amount:", q.fetch_count())
print("Average price:", q.fetch_avg("price"))
print("Products:")
for x in q:
print(x.name, "->", x.price)
Documentation
=============
https://quazydb.readthedocs.io/en/latest/
Raw data
{
"_id": null,
"home_page": null,
"name": "quazydb",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": "Andrey Aseev <invent@zergos.ru>",
"keywords": "ORM, database, postgres, model, data",
"author": null,
"author_email": "Andrey Aseev <invent@zergos.ru>",
"download_url": null,
"platform": null,
"description": "quazydb\r\n#######\r\n\r\n.. image:: https://raw.githubusercontent.com/zergos/quazydb/master/docs/source/images/logo_mini.png\r\n\r\nPowerful yet simple Python ORM\r\n\r\nLet's combine all modern ORMs with business essence into something intuitive and simple.\r\n\r\nExample:\r\n========\r\n\r\n.. code-block:: python\r\n\r\n import random\r\n\r\n from quazy import DBFactory, DBTable\r\n\r\n\r\n class Product(DBTable):\r\n name: str\r\n price: float\r\n description: str = None\r\n\r\n\r\n if __name__ == \"__main__\":\r\n db = DBFactory.postgres(conninfo=\"postgresql://quazy:quazy@127.0.0.1/quazy\")\r\n db._debug_mode = True\r\n db.use_module()\r\n\r\n db.clear()\r\n db.create()\r\n\r\n for i in range(100):\r\n db.insert(Product(name=f'Product #{i + 1}', price=random.randint(1, 1000) / 100))\r\n\r\n q = Product.query().filter(lambda x: x.price >= 5)\r\n print(\"Total amount:\", q.fetch_count())\r\n print(\"Average price:\", q.fetch_avg(\"price\"))\r\n print(\"Products:\")\r\n for x in q:\r\n print(x.name, \"->\", x.price)\r\n\r\nDocumentation\r\n=============\r\n\r\nhttps://quazydb.readthedocs.io/en/latest/\r\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Powerful yet simple Python ORM",
"version": "1.1.5",
"project_urls": {
"Documentation": "https://quazydb.readthedocs.io/en/latest/",
"Issues": "https://github.com/zergos/quazydb/issues",
"Repository": "https://github.com/zergos/quazydb.git"
},
"split_keywords": [
"orm",
" database",
" postgres",
" model",
" data"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b877515793e85905bb077d2d8774b8bb06f0979d71a615ad65c4af956258a2a6",
"md5": "6ea0ab7759cdc8cc6e8d0b631cec7acd",
"sha256": "0e1c4c406388749bc6cce84eb3529ae3b0c4bc53da55af8ecc80ad0cb027dbc9"
},
"downloads": -1,
"filename": "quazydb-1.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6ea0ab7759cdc8cc6e8d0b631cec7acd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 55641,
"upload_time": "2025-10-06T03:41:02",
"upload_time_iso_8601": "2025-10-06T03:41:02.472109Z",
"url": "https://files.pythonhosted.org/packages/b8/77/515793e85905bb077d2d8774b8bb06f0979d71a615ad65c4af956258a2a6/quazydb-1.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-06 03:41:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zergos",
"github_project": "quazydb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "quazydb"
}