{ "info": { "author": null, "author_email": null, "bugtrack_url": null, "classifiers": [], "description": "# AIOEase\r\n\r\n`AIOEase` simplifies asynchronous HTTP requests in Python, offering a straightforward interface for handling multiple requests asynchronously with rate limiting.\r\nProved a list of dictionaries and the `requests_per_second_max` (default 1). Returns the status, response, and request as a list of dictionaries.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install aioease\r\n```\r\n\r\n## Usage\r\n\r\nExecute multiple HTTP requests asynchronously with ease:\r\n\r\n```python\r\nfrom aioease import execute_async_requests\r\n\r\nrequests = [\r\n {\"url\": \"https://httpbin.org/ip\", \"method\": \"get\", \"data\": {\"key\": \"value\"}, \"headers\": {\"header\": \"value\"}},\r\n {\"url\": \"https://httpbin.org/ip\", \"method\": \"post\", \"data\": {\"key\": \"value\"}, \"headers\": {\"header\": \"value\"}},\r\n]\r\n\r\nresponses = execute_async_requests(requests, requests_per_second_max=10)\r\n```\r\n\r\nReturns:\r\n\r\n```python\r\nresponses = [\r\n {\r\n \"status\": 200,\r\n \"response\": \"{\\n \\\"origin\\\": \\\"00.000.00.000\\\"\\n}\\n\",\r\n },\r\n {\r\n \"status\": 405,\r\n \"response\": \"\\n405 Method Not Allowed\\n

Method Not Allowed

\\n

The method is not allowed for the requested URL.

\\n\",\r\n }\r\n]\r\n```\r\n## Given a unique identifyer to match requests to the responses.\r\n\r\n```python\r\nfrom aioease import execute_async_requests\r\n\r\nrequests = [\r\n {\"url\": \"https://httpbin.org/ip\", \"method\": \"get\", \"data\": {\"key\": \"value\"}, \"headers\": {\"header\": \"value\"},\"id\": \"unique-identifyer-1\"},\r\n {\"url\": \"https://httpbin.org/ip\", \"method\": \"post\", \"data\": {\"key\": \"value\"}, \"headers\": {\"header\": \"value\"},\"id\": \"unique-identifyer-2\"},\r\n]\r\n\r\nresponses = execute_async_requests(requests, requests_per_second_max=10)\r\n```\r\n\r\nReturns:\r\n\r\n```python\r\nresponses = [\r\n {\r\n \"status\": 200,\r\n \"response\": \"{\\n \\\"origin\\\": \\\"00.000.00.000\\\"\\n}\\n\",\r\n \"id\": \"unique-identifyer-1\"\r\n },\r\n {\r\n \"status\": 405,\r\n \"response\": \"\\n405 Method Not Allowed\\n

Method Not Allowed

\\n

The method is not allowed for the requested URL.

\\n\",\r\n \"id\": \"unique-identifyer-2\"\r\n }\r\n]\r\n```\r\n\r\n## Configuring Logging\r\n\r\nControl the verbosity of logs for debugging:\r\n\r\n```python\r\nimport logging\r\n\r\nlogging.basicConfig(level=logging.INFO)\r\nlogging.basicConfig(level=logging.DEBUG)\r\nlogging.basicConfig(level=logging.ERROR)\r\n```\r\n\r\n## License\r\n\r\nAvailable under the MIT License.\r\n\r\n## Support\r\n\r\nFor support, please open an issue on the GitHub issue tracker.\r\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "dynamic": null, "home_page": null, "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "aioease", "package_url": "https://pypi.org/project/aioease/", "platform": null, "project_url": "https://pypi.org/project/aioease/", "project_urls": null, "provides_extra": null, "release_url": "https://pypi.org/project/aioease/0.1.26/", "requires_dist": [ "aiohttp>=3", "aiolimiter>=1" ], "requires_python": null, "summary": "A simple and easy way to use asyncio & aiohttp libraries.", "version": "0.1.26", "yanked": false, "yanked_reason": null }, "last_serial": 22933762, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "blake2b_256": "54eca48d9b473d96544b811514726af84a0cc3c3030d3ff7e3f4eaa991ee2136", "md5": "821fc2461fc6054ef3a9805f754429c7", "sha256": "76e319389363a9b2da975521c2f383601dc0454761992df55f3931b469851b50" }, "downloads": -1, "filename": "aioease-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "821fc2461fc6054ef3a9805f754429c7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2257, "upload_time": "2024-04-11T19:06:33", "upload_time_iso_8601": "2024-04-11T19:06:33.193853Z", "url": "https://files.pythonhosted.org/packages/54/ec/a48d9b473d96544b811514726af84a0cc3c3030d3ff7e3f4eaa991ee2136/aioease-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "531a51f47a55f6a1f4d4b6a0ab71150931a7bfd1befd868d1d7531b38e445587", "md5": "2c28ea29a050ec7d1b350efa7d07d308", "sha256": "2c043bb0be8afc7e0882dd569b416bdb31b0cc103fd0536ee30a5bf41eb664f5" }, "downloads": -1, "filename": "aioease-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2c28ea29a050ec7d1b350efa7d07d308", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1888, "upload_time": "2024-04-11T19:06:34", "upload_time_iso_8601": "2024-04-11T19:06:34.366869Z", "url": "https://files.pythonhosted.org/packages/53/1a/51f47a55f6a1f4d4b6a0ab71150931a7bfd1befd868d1d7531b38e445587/aioease-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "blake2b_256": "bcd79e40e7f51fc6381f00bb8954ccc49134cb3085362cead5f94b6adb9e0072", "md5": "d8a4aff9dae41627eb30f9475273ba41", "sha256": "d2e057c8cd2affe1198aae80fdc7e8b87581958ab72530b0c506e40b76923083" }, "downloads": -1, "filename": "aioease-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d8a4aff9dae41627eb30f9475273ba41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3094, "upload_time": "2024-04-11T20:03:00", "upload_time_iso_8601": "2024-04-11T20:03:00.127619Z", "url": "https://files.pythonhosted.org/packages/bc/d7/9e40e7f51fc6381f00bb8954ccc49134cb3085362cead5f94b6adb9e0072/aioease-0.1.1-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "blake2b_256": "e1fabc2970deceafe34ce8e5d59ca4c772cbd68eb49cd1a4390b5fe83871d890", "md5": "1c12606b609f2fd60a3cc6c9340bf359", "sha256": "25b29939cdc1c76529428d89f72588a149ec8cfe21750432c031837a89a0dae8" }, "downloads": -1, "filename": "aioease-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1c12606b609f2fd60a3cc6c9340bf359", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3554, "upload_time": "2024-04-11T20:08:04", "upload_time_iso_8601": "2024-04-11T20:08:04.397271Z", "url": "https://files.pythonhosted.org/packages/e1/fa/bc2970deceafe34ce8e5d59ca4c772cbd68eb49cd1a4390b5fe83871d890/aioease-0.1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.21": [ { "comment_text": "", "digests": { "blake2b_256": "69291604128b1fa59ca3b2e8f1f8c3f3df9a70806294228555fe61c13055bc74", "md5": "fd2742bb048d18fc4003d45b1be746cf", "sha256": "60f3f10d036c530cc6f43c7bda97788f765e99958846254824040b98dea8fead" }, "downloads": -1, "filename": "aioease-0.1.21-py3-none-any.whl", "has_sig": false, "md5_digest": "fd2742bb048d18fc4003d45b1be746cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3671, "upload_time": "2024-04-11T20:39:12", "upload_time_iso_8601": "2024-04-11T20:39:12.692953Z", "url": "https://files.pythonhosted.org/packages/69/29/1604128b1fa59ca3b2e8f1f8c3f3df9a70806294228555fe61c13055bc74/aioease-0.1.21-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.22": [ { "comment_text": "", "digests": { "blake2b_256": "e04f3b10579343b2778c57965948daf9ab39cbb42916f2b3f369c686417452ac", "md5": "c7e6353a9d4ef8ac35e87aa4d7a5565e", "sha256": "ce6926317414e23df488e1fb409c38acd88ec73daf5cee48adf36ba14ef58888" }, "downloads": -1, "filename": "aioease-0.1.22-py3-none-any.whl", "has_sig": false, "md5_digest": "c7e6353a9d4ef8ac35e87aa4d7a5565e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3674, "upload_time": "2024-04-11T20:49:21", "upload_time_iso_8601": "2024-04-11T20:49:21.867189Z", "url": "https://files.pythonhosted.org/packages/e0/4f/3b10579343b2778c57965948daf9ab39cbb42916f2b3f369c686417452ac/aioease-0.1.22-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.23": [ { "comment_text": "", "digests": { "blake2b_256": "e9bee7f7ac9efa9fd361aa9d75fabccd18445b966da8b96c37d7efac99506e39", "md5": "1c8f7929dbc8839388249fccef77e34a", "sha256": "d7985128b2985e97741c429e3059eebbf5d70f9035b540a7a0ef2c59eb086c18" }, "downloads": -1, "filename": "aioease-0.1.23-py3-none-any.whl", "has_sig": false, "md5_digest": "1c8f7929dbc8839388249fccef77e34a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3909, "upload_time": "2024-04-18T17:03:02", "upload_time_iso_8601": "2024-04-18T17:03:02.895821Z", "url": "https://files.pythonhosted.org/packages/e9/be/e7f7ac9efa9fd361aa9d75fabccd18445b966da8b96c37d7efac99506e39/aioease-0.1.23-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.24": [ { "comment_text": "", "digests": { "blake2b_256": "624736791f8939d2d36fbabfb5cd0a14132f6bb477fa3f8271c581594eb91a2b", "md5": "f08f7a0ca9c9861f1e69aaf39cd4eb25", "sha256": "73cc4e63ea8a46b3bf3ed19a4b3a8f8819807e3ecf68ead79636ff4993b62f26" }, "downloads": -1, "filename": "aioease-0.1.24-py3-none-any.whl", "has_sig": false, "md5_digest": "f08f7a0ca9c9861f1e69aaf39cd4eb25", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4007, "upload_time": "2024-04-18T20:37:05", "upload_time_iso_8601": "2024-04-18T20:37:05.309818Z", "url": "https://files.pythonhosted.org/packages/62/47/36791f8939d2d36fbabfb5cd0a14132f6bb477fa3f8271c581594eb91a2b/aioease-0.1.24-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.25": [ { "comment_text": "", "digests": { "blake2b_256": "3c4a05d886560ee902a7fc56e34436931c7429713b54899ee23e92d21ad7d99a", "md5": "049b521f5ce3537a1c2f8b020ada4e6b", "sha256": "f4a245dd0c3daf6d8f231d0ffd461c420cb4defb80f5f1ac19fa929f707b8a4c" }, "downloads": -1, "filename": "aioease-0.1.25-py3-none-any.whl", "has_sig": false, "md5_digest": "049b521f5ce3537a1c2f8b020ada4e6b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4016, "upload_time": "2024-04-18T20:44:55", "upload_time_iso_8601": "2024-04-18T20:44:55.637018Z", "url": "https://files.pythonhosted.org/packages/3c/4a/05d886560ee902a7fc56e34436931c7429713b54899ee23e92d21ad7d99a/aioease-0.1.25-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.1.26": [ { "comment_text": "", "digests": { "blake2b_256": "2242f0e28eb8f191130b249699382ffec665f9c37f62f79ca372c8f06ca41382", "md5": "ccd92803ceb77ee15b4b47cd7c1f34c6", "sha256": "453de639b420044be6f1fd84e62b59d0cee4cbbecadf627950f5ea9c9cc54c64" }, "downloads": -1, "filename": "aioease-0.1.26-py3-none-any.whl", "has_sig": false, "md5_digest": "ccd92803ceb77ee15b4b47cd7c1f34c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4029, "upload_time": "2024-04-25T16:53:52", "upload_time_iso_8601": "2024-04-25T16:53:52.349688Z", "url": "https://files.pythonhosted.org/packages/22/42/f0e28eb8f191130b249699382ffec665f9c37f62f79ca372c8f06ca41382/aioease-0.1.26-py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "blake2b_256": "2242f0e28eb8f191130b249699382ffec665f9c37f62f79ca372c8f06ca41382", "md5": "ccd92803ceb77ee15b4b47cd7c1f34c6", "sha256": "453de639b420044be6f1fd84e62b59d0cee4cbbecadf627950f5ea9c9cc54c64" }, "downloads": -1, "filename": "aioease-0.1.26-py3-none-any.whl", "has_sig": false, "md5_digest": "ccd92803ceb77ee15b4b47cd7c1f34c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4029, "upload_time": "2024-04-25T16:53:52", "upload_time_iso_8601": "2024-04-25T16:53:52.349688Z", "url": "https://files.pythonhosted.org/packages/22/42/f0e28eb8f191130b249699382ffec665f9c37f62f79ca372c8f06ca41382/aioease-0.1.26-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }