{ "info": { "author": "Bas Wind", "author_email": "mailtobwind@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Database", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "rethinkengine\n=============\n\nRethinkDB Object-Document Mapper written in Python\n\nRethinkengine is currently in development and not ready for production use.\n\nRunning unit tests\n------------------\n\n[![Build Status](https://travis-ci.org/bwind/rethinkengine.png?branch=master)](https://travis-ci.org/bwind/rethinkengine) [![Coverage Status](https://coveralls.io/repos/bwind/rethinkengine/badge.png)](https://coveralls.io/r/bwind/rethinkengine)\n\nIn the root of the repository you'll find `runtests.sh`, which will run all the tests and show coverage stats. Requires packages `nose` and `coverage` to be installed. Rethinkengine aims to be compatible with Python versions 2.6 and 2.7. Python 3 support will be added later.\n\nConnecting to RethinkDB\n-----------------------\n\n from rethinkengine import connect\n connect('dbname')\n\nIf `dbname` doesn't exist, it will be created for you.\n\nDefining Documents\n------------------\n\n from rethinkengine import *\n\n class User(Document):\n name = StringField()\n colors = ListField()\n\n # Create the table\n User.table_create()\n\nStoring data\n------------\n\n u = User(name='John', colors=['red', 'blue'])\n u.save()\n\n u.colors = []\n u.save()\n\nRetrieving data\n---------------\n\n for u in User.objects.all():\n print u.name, u.colors\n\n for u in User.objects.filter(name='John'):\n print u.name, u.colors\n\n for u in User.objects.all().order_by('name'):\n print u.name, u.colors", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/Propeller", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bwind/rethinkengine", "keywords": "rethinkdb object-document mapper", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "rethinkengine", "package_url": "https://pypi.org/project/rethinkengine/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rethinkengine/", "project_urls": { "Download": "https://pypi.python.org/pypi/Propeller", "Homepage": "https://github.com/bwind/rethinkengine" }, "release_url": "https://pypi.org/project/rethinkengine/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "RethinkDB Object-Document Mapper", "version": "0.1.0" }, "last_serial": 1122890, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2ec31e1b6f083bf0d9dec1e7db02ea34", "sha256": "803351d430aa7c3a1d036501d29be2c0ea27ccdcf519a36ecb14002ecbab349a" }, "downloads": -1, "filename": "rethinkengine-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2ec31e1b6f083bf0d9dec1e7db02ea34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6356, "upload_time": "2013-09-26T13:30:43", "url": "https://files.pythonhosted.org/packages/9e/2f/d6f33ca57ccfe0541947252421dc0e311415f9c62ca4edfb6b6b0ab7f5e9/rethinkengine-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ec31e1b6f083bf0d9dec1e7db02ea34", "sha256": "803351d430aa7c3a1d036501d29be2c0ea27ccdcf519a36ecb14002ecbab349a" }, "downloads": -1, "filename": "rethinkengine-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2ec31e1b6f083bf0d9dec1e7db02ea34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6356, "upload_time": "2013-09-26T13:30:43", "url": "https://files.pythonhosted.org/packages/9e/2f/d6f33ca57ccfe0541947252421dc0e311415f9c62ca4edfb6b6b0ab7f5e9/rethinkengine-0.1.0.tar.gz" } ] }