{"id":47830880,"url":"https://github.com/singhsidhukuldeep/request-boost","last_synced_at":"2026-04-03T20:12:03.948Z","repository":{"id":40295645,"uuid":"407239837","full_name":"singhsidhukuldeep/request-boost","owner":"singhsidhukuldeep","description":"A better requests and urllib. A simple package for hitting multiple URLs and performing GET/POST requests in parallel.","archived":false,"fork":false,"pushed_at":"2023-09-13T02:50:10.000Z","size":165,"stargazers_count":42,"open_issues_count":2,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-29T22:00:08.571Z","etag":null,"topics":["api","get-request","parallel-programming","post-request","python","requests","rest-api","threading","urllib"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/request-boost/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/singhsidhukuldeep.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-16T16:36:00.000Z","updated_at":"2024-12-08T18:43:47.000Z","dependencies_parsed_at":"2024-06-20T19:04:57.839Z","dependency_job_id":null,"html_url":"https://github.com/singhsidhukuldeep/request-boost","commit_stats":{"total_commits":37,"total_committers":5,"mean_commits":7.4,"dds":"0.18918918918918914","last_synced_commit":"ae9e9b9718ac42e12f514d988f42716b3acdebef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/singhsidhukuldeep/request-boost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhsidhukuldeep%2Frequest-boost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhsidhukuldeep%2Frequest-boost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhsidhukuldeep%2Frequest-boost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhsidhukuldeep%2Frequest-boost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhsidhukuldeep","download_url":"https://codeload.github.com/singhsidhukuldeep/request-boost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhsidhukuldeep%2Frequest-boost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31374299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","get-request","parallel-programming","post-request","python","requests","rest-api","threading","urllib"],"created_at":"2026-04-03T20:12:03.889Z","updated_at":"2026-04-03T20:12:03.941Z","avatar_url":"https://github.com/singhsidhukuldeep.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003erequest-boost \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \n  \u003ca href=\"https://pypi.org/project/request-boost/\"\u003e\n    \u003cimg src=\"https://github.com/singhsidhukuldeep/request-boost/raw/main/img/benchmark.png\" width=\"1080\" alt=\"Go to https://pypi.org/project/request-boost/\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cb\u003eA better requests and urllib package.\u003c/b\u003e\u003c/b\u003e\u003cbr\u003e A simple package for hitting multiple URLs and performing GET/POST requests in parallel.\u003cbr\u003e\n\u003ca href=\"https://pypi.org/project/request-boost/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/request-boost\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/request-boost/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/request-boost\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/request-boost/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/status/request-boost\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e\u003c/a\u003e\n\u003c!-- \u003ca href=\"https://pypi.org/project/request-boost/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/format/request-boost\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e\u003c/a\u003e --\u003e\n\u003c!-- \u003ca href=\"https://lgtm.com/projects/g/singhsidhukuldeep/request-boost/context:python\"\u003e\u003cimg alt=\"Language grade: Python\" src=\"https://img.shields.io/lgtm/grade/python/g/singhsidhukuldeep/request-boost.svg?logo=lgtm\u0026logoWidth=18\"/\u003e\u003c/a\u003e --\u003e\n\u003ca href=\"https://pypistats.org/packages/request-boost\"\u003e\u003cimg src=\"https://img.shields.io/pypi/dm/request-boost\"/\u003e\u003c/a\u003e\n\u003c!-- \u003cimg src=\"https://visitor-badge.glitch.me/badge?page_id=request_boost\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e --\u003e\n\u003cimg src=\"https://static.pepy.tech/personalized-badge/request-boost?period=total\u0026units=none\u0026left_color=black\u0026right_color=brightgreen\u0026left_text=Total%20Downloads\" alt=\"Go to https://pypi.org/project/request-boost/\"/\u003e\n\u003c/p\u003e\n\n## Setup\n\n```shell\npip install request-boost\n```\n\n**Important:** *Virtual Environment is recommended*\n\n## Usage\n\n```python\n# Sample data\nnumber_of_sample_urls = 1000\nurls = [ f'https://postman-echo.com/get?random_data={test_no}' for test_no in range(number_of_sample_urls) ]\nheaders = [{'sample_header':test_no} for test_no in range(number_of_sample_urls)]\n```\n\n```python\nfrom request_boost import boosted_requests\n\nresults = boosted_requests(urls=urls)\nprint(results)\n```\n\n```python\nfrom request_boost import boosted_requests\n\nresults = boosted_requests(urls=urls, no_workers=16, max_tries=5, timeout=5, headers=headers, verbose=True, parse_json=True)\nprint(results)\n```\n\n```python\nfrom request_boost import boosted_requests\n\n# Config\nnumber_of_sample_urls = 100\n\n# Sample data\nurls = [f'https://postman-echo.com/get?random_data={test_no}' for test_no in range(number_of_sample_urls)]\npost_urls = [f'https://postman-echo.com/post' for test_no in range(number_of_sample_urls)]\nheaders = [{'sample_header': test_no} for test_no in range(number_of_sample_urls)]\ndata = [{'sample_data': test_no} for test_no in range(number_of_sample_urls)] # Required for POST requests, \n#For POST request data can be just list of empty dict but not NONE\n\nsimple_results = boosted_requests(urls=urls, no_workers=16, max_tries=5, timeout=5, headers=None, verbose=False, parse_json=True)\nheader_results = boosted_requests(urls=urls, no_workers=16, max_tries=5, timeout=5, headers=headers, parse_json=True)\npost_results = boosted_requests(urls=post_urls, no_workers=16, max_tries=5, timeout=5, headers=headers, data=data, verbose=True, parse_json=True)\n```\n\n## Documentation\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/singhsidhukuldeep/request-boost/raw/main/img/structure.jpg\"\u003e\n    \u003cimg src=\"https://github.com/singhsidhukuldeep/request-boost/raw/main/img/structure.jpg\" width=\"70%\" alt=\"Go to https://github.com/singhsidhukuldeep/request-boost/raw/main/img/structure.jpg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n```python\nboosted_requests(\n    urls,\n    no_workers=32,\n    max_tries=5,\n    after_max_tries=\"assert\",\n    timeout=10,\n    headers=None,\n    data=None,\n    verbose=True,\n    parse_json=True,\n)\n\nGet data from APIs in parallel by creating workers that process in the background\n    :param urls: list of URLS\n    :param no_workers: maximum number of parallel processes {Default::32}\n    :param max_tries: Maximum number of tries before failing for a specific URL {Default::5}\n    :param after_max_tries: What to do if not successfull after \"max_tries\" for a specific URL, \n                            one of {\"assert\", \"break\"} {Default::assert}\n    :param timeout: Waiting time per request {Default::10}\n    :param headers: Headers if any for the URL requests\n    :param data: data if any for the URL requests (Wherever not None a POST request is made)\n    :param verbose: Show progress [True or False] {Default::True}\n    :param parse_json: Parse response to json [True or False] {Default::True}\n    :return: List of response for each API (order is maintained)\n```\n\n  \n\u003ch2 align=\"center\"\u003e🌟⭐✨STAR ME✨⭐🌟\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eYou can give me a small 🤓 dopmaine 🤝 support by ⭐STARRING⭐ this project\u003c/b\u003e\n  \n\u003cimg src=\"https://api.star-history.com/svg?repos=singhsidhukuldeep/request-boost\u0026type=Date\" width=\"70%\" alt=\"🌟⭐✨STAR ME✨⭐🌟\"\u003e\n\u003c/p\u003e\n\n## Credits\n\n### Maintained by\n\n***Kuldeep Singh Sidhu*** \n\nGithub: [github/singhsidhukuldeep](https://github.com/singhsidhukuldeep)\n`https://github.com/singhsidhukuldeep`\n\nWebsite: [Kuldeep Singh Sidhu (Website)](http://kuldeepsinghsidhu.com)\n`http://kuldeepsinghsidhu.com`\n\nLinkedIn: [Kuldeep Singh Sidhu (LinkedIn)](https://www.linkedin.com/in/singhsidhukuldeep/)\n`https://www.linkedin.com/in/singhsidhukuldeep/`\n\n### Contributors\n\n\u003ca href=\"https://github.com/singhsidhukuldeep/request-boost/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=singhsidhukuldeep/request-boost\" /\u003e\n\u003c/a\u003e\n\n The full list of all the contributors is available [here](https://github.com/singhsidhukuldeep/request-boost/graphs/contributors)\n\n\n[![https://github.com/singhsidhukuldeep](https://forthebadge.com/images/badges/built-with-love.svg)](http://kuldeepsinghsidhu.com)\n\n#### TODO:: Want to contribute?\n\n- [ ] Make the backend used (urllib/request library) an option that the user can choose, by default we use urllib\n- [ ] For parallel processing add options for multi-processing along with multi-threading\n- [ ] Set-up tests for edge cases and changes verification\n- [ ] Set-up CI/CD pipleine (possibly using GitHub actions) to publish changes to PyPi\n- [ ] Improeve the doc-strings documentation to add more explanantion and examples\n- [ ] Add a message queue to deploy the service across machines\n- [ ] Add option to run URL requests with Self signed certificate `verify=False`\n- [ ] Add option to supress warnings\n- [ ] Add progess bars from tqdm and ascii\n- [ ] Add option to add session and auth\n\n## Say Thanks\n\n If this helped you in any way, it would be great if you could share it with others.\n\n## Steps for publishing to `pypi` [This is just for me, Maybe!]\n\n- `pip3 install setuptools twine`\n- Go to project folder\n- `python3 setup.py sdist`\n- `twine upload --repository-url https://upload.pypi.org/legacy/ dist/*`\n\nOR\n\nGo to your project folder and:\n```shell\npip3 install setuptools twine\n\npython3 setup.py sdist\ntwine upload --repository-url https://upload.pypi.org/legacy/ dist/*\n```\n\n## Current Status\n\n[![Issues](https://img.shields.io/github/issues/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/issues)\n[![Contributors](https://badgen.net/github/contributors/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/graphs/contributors)\n[![Forks](https://badgen.net/github/forks/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/network/members)\n[![Stars](https://badgen.net/github/stars/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/stargazers)\n[![Watchers](https://badgen.net/github/watchers/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/watchers)\n[![Branches](https://badgen.net/github/branches/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost/branches)\n\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python3.5+-1f425f.svg)](https://www.python.org/)\n[![repo- size](https://img.shields.io/github/repo-size/singhsidhukuldeep/request-boost)](https://github.com/singhsidhukuldeep/request-boost)\n[![Followers](https://img.shields.io/github/followers/singhsidhukuldeep?style=plastic\u0026logo=github)](https://github.com/singhsidhukuldeep?tab=followers)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghsidhukuldeep%2Frequest-boost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghsidhukuldeep%2Frequest-boost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghsidhukuldeep%2Frequest-boost/lists"}