{ "info": { "author": "Phil Demetriou", "author_email": "inbox@philonas.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Database", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "JetEngine\n=========\n\nJetEngine is a no-nonsense **Python 3.5+** asyncio\n`MongoDB `__ ODM based on\n`MongoEngine `__ and\n`MotorEngine `__. This package\nbuilds upon prior work by `ilex `__ and `Bj\u00f6rn\nFriedrichs `__ to introduce native\nAsynchronous I/O capabilities to MotorEngine.\n\nInstallation\n============\n\nYou can install this package using ``pip`` or the included ``setup.py``\nscript:\n\n::\n\n # Using pip\n pip install jetengine\n\n # Using setup.py\n python setup.py install\n\nUsage\n=====\n\n.. code:: python\n\n import asyncio\n import jetengine\n from jetengine import Document, StringField\n\n\n class User(Document):\n name = StringField(required=True)\n\n\n async def operations():\n chris = await User(name='Chris').save()\n user = await User.objects.get(chris._id)\n assert user.name == 'Chris'\n\n await User.objects.create(name='Someone')\n users = await User.objects.filter(name='Someone').find_all()\n assert len(users) == 1\n assert users[0].name == 'Someone'\n\n\n loop = asyncio.get_event_loop()\n jetengine.connect(\"example\", host=\"localhost\", port=27017, io_loop=loop)\n loop.run_until_complete(operations())\n\nLicense\n=======\n\n.. code:: text\n\n BSD 3-Clause License\n\n Copyright (c) 2019, Phil Demetriou\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n * Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kpdemetriou/jetengine", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "jetengine", "package_url": "https://pypi.org/project/jetengine/", "platform": "", "project_url": "https://pypi.org/project/jetengine/", "project_urls": { "Homepage": "https://github.com/kpdemetriou/jetengine" }, "release_url": "https://pypi.org/project/jetengine/0.1.3/", "requires_dist": [ "easydict", "pymongo (==3.6)", "motor (==1.3.1)" ], "requires_python": "", "summary": "The no-nonsense asyncio MongoDB ODM for Python 3.5+.", "version": "0.1.3" }, "last_serial": 5410906, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "4c9b3481aab51c1f5076c3192ecbf703", "sha256": "38b2cae89d460d8cbea16713cf957e0ed41526ea2d7e4e0dbf4f418cac1a2eae" }, "downloads": -1, "filename": "jetengine-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4c9b3481aab51c1f5076c3192ecbf703", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 49218, "upload_time": "2019-06-17T16:45:36", "url": "https://files.pythonhosted.org/packages/c4/8c/7f8492fc37df1e81d16416dc4a96aca6421f3a5fa1b4411b0ca260172ce5/jetengine-0.1.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c9b3481aab51c1f5076c3192ecbf703", "sha256": "38b2cae89d460d8cbea16713cf957e0ed41526ea2d7e4e0dbf4f418cac1a2eae" }, "downloads": -1, "filename": "jetengine-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4c9b3481aab51c1f5076c3192ecbf703", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 49218, "upload_time": "2019-06-17T16:45:36", "url": "https://files.pythonhosted.org/packages/c4/8c/7f8492fc37df1e81d16416dc4a96aca6421f3a5fa1b4411b0ca260172ce5/jetengine-0.1.3-py3-none-any.whl" } ] }