{ "info": { "author": "James E", "author_email": "naught0@github.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.6" ], "description": "AsyncUrban\n==========\n\n|docs| |pypi|\n\nYet another UrbanDictionary API wrapper.\n\nAsyncUrban is a non-blocking library, using asyncio and aiohttp, which\ncan be used to access UrbanDictionary data.\n\nInstallation\n------------\n\nMake sure you have Python3.5+ and run\n``py -3 -m pip install asyncurban`` for Windows, or\n``python3 -m pip install asyncurban`` for most other things.\n\nDocumentation\n-------------\n\nYou can find the docs at http://asyncurban.readthedocs.io/ and a brief example below.\n\nExamples\n--------\n\n.. code:: py\n\n >>> import asyncio\n >>> from asyncurban import UrbanDictionary\n >>> loop = asyncio.get_event_loop()\n\n # session and loop are optional kwargs for your convenience if \n # You already have them defined for your project\n >>> urban = UrbanDictionary(loop=loop)\n\n # Get a word definition\n >>> word = loop.run_until_complete(urban.get_word('dank'))\n >>> word.definition\n 'Also an expression requently used by stoners and hippies for something of high quality.'\n\n # Get a random word\n >>> random_word = loop.run_until_complete(urban.get_random())\n >>> print(random_word)\n Orgasm\n >>> random_word.definition\n \"When a woman reaches their 'climax'. It is the most desirable feeling EVER. Its like an explosion inside the body that feels so good.\"\n\n # You can even search for X matching words and get a list\n # The default is 3 but can be specified\n >>> word_list = loop.run_until_complete(urban.search('test', limit=5))\n >>> print(word_list)\n [, , , , ]\n >>> word_list[0].definition\n 'A process for testing things'\n\nIssues\n------\n\nFeel free to open up an issue or submit a PR if you have trouble or see a way to improve the code.\n\n.. |docs| image:: https://readthedocs.org/projects/asyncurban/badge/?version=latest\n :target: http://asyncurban.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. |pypi| image:: https://badge.fury.io/py/asyncurban.svg\n :target: https://badge.fury.io/py/asyncurban\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/naught0/asyncurban", "keywords": "dictionary,urban,urbandictionary,define", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "asyncurban", "package_url": "https://pypi.org/project/asyncurban/", "platform": "", "project_url": "https://pypi.org/project/asyncurban/", "project_urls": { "Homepage": "https://github.com/naught0/asyncurban" }, "release_url": "https://pypi.org/project/asyncurban/0.3.3/", "requires_dist": [ "aiohttp (>=2.3.7)" ], "requires_python": ">=3.5", "summary": "An asynchronous wrapper around the UrbanDictionary API.", "version": "0.3.3" }, "last_serial": 3537332, "releases": { "0.1.9": [ { "comment_text": "", "digests": { "md5": "5a99c18164865329a15315d27d141374", "sha256": "66921007cf7b6eb0485815ed7df0fef1656b6c5566308dd141170de18b0b387b" }, "downloads": -1, "filename": "asyncurban-0.1.9.tar.gz", "has_sig": false, "md5_digest": "5a99c18164865329a15315d27d141374", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3709, "upload_time": "2017-12-08T21:37:01", "url": "https://files.pythonhosted.org/packages/3d/94/415147ed5a7a1aa3ed31aaf2357979983fa17c1e1695177cf8cb6272335e/asyncurban-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "04fc8d4901137f930d9aa7dcca949eea", "sha256": "d41faeb7056881bc30bccd2476e58e25e4b346cf51cfcb24f0a19caf48058258" }, "downloads": -1, "filename": "asyncurban-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "04fc8d4901137f930d9aa7dcca949eea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7067, "upload_time": "2017-12-21T10:13:48", "url": "https://files.pythonhosted.org/packages/de/57/f6b515d6d42c160c3f6adb3083a4474f98ace6e2b2b414ed3bae2b44e658/asyncurban-0.2.0-py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d856dede9e5fbeb6b209884425bfa2d2", "sha256": "536cd66c4d469633fc4567d85a448be1d89bb45bcb33981523d7744fb8dd5845" }, "downloads": -1, "filename": "asyncurban-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d856dede9e5fbeb6b209884425bfa2d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7323, "upload_time": "2017-12-21T18:41:23", "url": "https://files.pythonhosted.org/packages/31/f0/2caccf91d1e5169f2789060ce2c2a4de14a72e9b682fd542c9d44dfc3320/asyncurban-0.2.1-py3-none-any.whl" } ], "0.2.1.dev1": [ { "comment_text": "", "digests": { "md5": "db2df2c18c283579184cbf9671ba6bf1", "sha256": "1d59f7029138b1f1d80eaeb698aff64267a8396760977289ef5535bc541e8baf" }, "downloads": -1, "filename": "asyncurban-0.2.1.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "db2df2c18c283579184cbf9671ba6bf1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7131, "upload_time": "2017-12-21T10:18:31", "url": "https://files.pythonhosted.org/packages/19/fb/81674c0f27ebd93da4f5d88a9f4e86b7e00b5f96c7252aac7d4914632819/asyncurban-0.2.1.dev1-py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f43c79b515e42c586f75c7738ba8bfc9", "sha256": "a6cef6c5a3e913a7b9d3996f7d98a2ed5363ab45f8354d2ee8f61846409678ad" }, "downloads": -1, "filename": "asyncurban-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f43c79b515e42c586f75c7738ba8bfc9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7646, "upload_time": "2018-01-12T21:45:43", "url": "https://files.pythonhosted.org/packages/73/e6/1332735aceb2afffbf6722214aa89940cb31989e33527a250ae46a83acd3/asyncurban-0.3.0-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ca6042867243a3bd070db234e2999062", "sha256": "bd68f6e568a7fdf014c9e099e54c96fd198c38e5c122154c16522d4096d27fef" }, "downloads": -1, "filename": "asyncurban-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ca6042867243a3bd070db234e2999062", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7523, "upload_time": "2018-01-16T16:27:59", "url": "https://files.pythonhosted.org/packages/39/84/caba0d7f599502571acb8aaac1903898ecefb708cd2f13f553608dbb6236/asyncurban-0.3.1-py3-none-any.whl" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "a9845bd66fb232b4ffffaff2bd9ac38d", "sha256": "21cc7cbceb5f255a1e35827bb28d3625ed23fb129cc68f3d39ff62a18b609655" }, "downloads": -1, "filename": "asyncurban-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a9845bd66fb232b4ffffaff2bd9ac38d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7523, "upload_time": "2018-01-31T05:56:37", "url": "https://files.pythonhosted.org/packages/9e/24/b6b3e12edf60b4c13ca18fdf9ed4a6f774e64f7eb87a142498a66cd5f6a2/asyncurban-0.3.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9845bd66fb232b4ffffaff2bd9ac38d", "sha256": "21cc7cbceb5f255a1e35827bb28d3625ed23fb129cc68f3d39ff62a18b609655" }, "downloads": -1, "filename": "asyncurban-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a9845bd66fb232b4ffffaff2bd9ac38d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7523, "upload_time": "2018-01-31T05:56:37", "url": "https://files.pythonhosted.org/packages/9e/24/b6b3e12edf60b4c13ca18fdf9ed4a6f774e64f7eb87a142498a66cd5f6a2/asyncurban-0.3.3-py3-none-any.whl" } ] }