{ "info": { "author": "cyrbuzz", "author_email": "cyrbuzz@foxmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "\nThis module contains an asynchronous method to send get and post http requests.\n\nUse 'AsRequests' to send them.\n\nSimple and effective.\n:)\n\nUsage is simple:\n\n```\nfrom asrequests import AsRequests\n\nurls = [\n 'http://nodomain/',\n 'https://github.com',\n 'https://www.python.org/'\n]\n```\n\nSend them all the same time.\n\n```\n>>> with AsRequests() as ar:\n for i in urls:\n ar.get(i)\n...\n>>>print(ar.result)\n[, ErrorRequest(url='http://nodomain/', text='', ...), ]\n```\n\nUsing like requests:\n```\nfrom asrequests import asrequests\n\nasync def get_http():\n for i in urls:\n response = await asrequests.get(i)\n print(response)\n\n....\nasyncio.run_until_complete(get_http)\n\n===\n\nErrorRequest(url='http://nodomain/', text='', ...)\n\n```\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/HuberTRoy/asrequests", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "asrequests", "package_url": "https://pypi.org/project/asrequests/", "platform": "any", "project_url": "https://pypi.org/project/asrequests/", "project_urls": { "Homepage": "https://github.com/HuberTRoy/asrequests" }, "release_url": "https://pypi.org/project/asrequests/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Requests + asyncio", "version": "0.1.1" }, "last_serial": 3357122, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "c82e257ec7c3be6c1321859bf8582419", "sha256": "5db4d0f7dae4a1dd0169fe89fe62e5d44e510dfe3cfb182b4cd6c6151e27d66c" }, "downloads": -1, "filename": "asrequests-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c82e257ec7c3be6c1321859bf8582419", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4117, "upload_time": "2017-11-23T02:30:55", "url": "https://files.pythonhosted.org/packages/9e/77/b9ffae26a3f1ddb7523e02353121fc8d4993bfa53b588566c7ded23a9c9f/asrequests-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c82e257ec7c3be6c1321859bf8582419", "sha256": "5db4d0f7dae4a1dd0169fe89fe62e5d44e510dfe3cfb182b4cd6c6151e27d66c" }, "downloads": -1, "filename": "asrequests-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c82e257ec7c3be6c1321859bf8582419", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4117, "upload_time": "2017-11-23T02:30:55", "url": "https://files.pythonhosted.org/packages/9e/77/b9ffae26a3f1ddb7523e02353121fc8d4993bfa53b588566c7ded23a9c9f/asrequests-0.1.1.tar.gz" } ] }