{ "info": { "author": "Sourcepirate", "author_email": "sathyanarrayanan@yandex.com", "bugtrack_url": null, "classifiers": [], "description": "## Tailow\n[![Build Status](https://travis-ci.org/sourcepirate/tailow.svg?branch=master)](https://travis-ci.org/sourcepirate/tailow)\n\nA ORM wrapper around motor\n\n## Usage\n\n```python\nimport asyncio\nfrom tailow.fields import *\nfrom pymongo import ASCENDING\nfrom tailow.document import Document\n\nclass Address(Document):\n\n address = StringField(required=True)\n\n\nclass Student(Document):\n\n name = StringField(required=True)\n age = IntegerField(required=True)\n std = IntegerField(required=True)\n address = ReferenceField(Address)\n\n class Meta:\n name = \"students\"\n indexes = [(age, ASCENDING)]\n\n\nasync def get_all_students():\n values = await Student.objects.filter(name=\"sathya\").limit(10).skip(2).find()\n print(values)\n\nevloop = asyncio.get_event_loop()\nevloop.run_until_complete(get_all_students())\n\n```\n\n## Status\n\nWork in progress.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sourcepirate/tailow.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "tailow", "package_url": "https://pypi.org/project/tailow/", "platform": "", "project_url": "https://pypi.org/project/tailow/", "project_urls": { "Homepage": "https://github.com/sourcepirate/tailow.git" }, "release_url": "https://pypi.org/project/tailow/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "A async wrapper for mongodb", "version": "0.1.0" }, "last_serial": 4092296, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ef9736c0b8e7ecb7059dae2b87cd85e9", "sha256": "4a3308e269f1f1de1a275638b67ed6b15e2faf60b6eaa9ac7dd0880b4c641c15" }, "downloads": -1, "filename": "tailow-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "ef9736c0b8e7ecb7059dae2b87cd85e9", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 21813, "upload_time": "2018-07-23T09:03:06", "url": "https://files.pythonhosted.org/packages/c0/3e/1159ca3c8cc95f1e90e198a2be6dfed3d615b9bf4cdb1b79f250d520eb5b/tailow-0.1.0-py3.6.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ef9736c0b8e7ecb7059dae2b87cd85e9", "sha256": "4a3308e269f1f1de1a275638b67ed6b15e2faf60b6eaa9ac7dd0880b4c641c15" }, "downloads": -1, "filename": "tailow-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "ef9736c0b8e7ecb7059dae2b87cd85e9", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 21813, "upload_time": "2018-07-23T09:03:06", "url": "https://files.pythonhosted.org/packages/c0/3e/1159ca3c8cc95f1e90e198a2be6dfed3d615b9bf4cdb1b79f250d520eb5b/tailow-0.1.0-py3.6.egg" } ] }