requests-futures
Asynchronous Python HTTP Requests for Humans using Futures (by ross)
requests
A simple, yet elegant, HTTP library. (by psf)
requests-futures | requests | |
---|---|---|
8 | 94 | |
2,118 | 52,872 | |
0.1% | 0.4% | |
6.1 | 7.4 | |
3 days ago | 13 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
requests-futures
Posts with mentions or reviews of requests-futures.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-16.
-
Is MQ needed for sending many texts?
- https://github.com/ross/requests-futures
-
Sending events or notifications from Django
For the simple one-off case, check out requests-futures or requests-threads
-
Comparing Python HTTP libraries - Request for Recommendations
Lately I tried https://github.com/ross/requests-futures and it is really nice little wrapper for requests library that makes it run asynchronous via thread pool. Worth checking out if you are already using requests lib.
-
Typical thoughts of software engineers
requests-futures can handle that
-
How to make requests.get() faster?
Thank you, I didn’t know about this before. Looks like either requests-threads or requests-futures can do the job. Not sure how I can add async and await to the script above, I’ll tinker around with it later!
- How to send HTTP requests asynchronously with callbacks?
-
Best way to run parallel async http requests
I found examples of running parallel async http requests using grequests, but in its GitHub page it recommends using requests-threads or requests-futures instead. Which of them would be the most straightforward tool for optimizing a sequence of GET requests against an API. Case scenario: API endpoint provides paginated responses. With first response, I get the total of itens, which allow me to prepare all the remaining urls. The API allows for 25 simultaneous requests from a single user session (JWT token).
-
What are some good online FREE python interpreters that have their own processing power, RAM and Storage?
I would suggest using a session in requests if you're not already but also to look at asyncio/aiohttp , requests-futures or requests-html which can be used asynchronously and is written by the author of the requests library.
requests
Posts with mentions or reviews of requests.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-25.
-
Show HN: Hypermode Model Router Preview – OpenRouter Alternative
You are right! https://github.com/psf/requests/blob/c65c780849563c891f35ffc...
The post function calls request the request function which uses its own context manager that will call the close function of the connection object.
- Latest Setuptools broke a bunch of packages
-
Ruff: Python linter and code formatter written in Rust
[2] https://github.com/psf/requests/pull/6667
-
Working with APIs in Python: A Practical Guide
requests is one of the most downloaded Python packages with around 30M downloads every week according to pypi. It enables you to send HTTP requests easily in Python. requests is a tested and trusted Python package, used by many established brands like IBM. Find the source code here. Some of the “beloved” features of requests are:
-
The Pythonic Emptiness
Keep in mind that truthiness comes from __bool__ and is overridable, so separate from Python itself, a lot of library authors have made questionable decisions here. A perennial contender is https://github.com/psf/requests/issues/2002.
- Python Requests is getting an interesting alternative
- Vanilla Python Packaging
-
Revived the promise made six years ago for Requests 3
For many years now, Requests has been frozen. Being left in a vegetative state and not evolving, this blocked millions of developers from using more advanced features.
-
Ask HN: Is Python async/await some kind of joke?
- Ubiquitous “requests” library used in most docs examples, no async support https://github.com/psf/requests
-
10 Github repositories to achieve Python mastery
Explore here.
What are some alternatives?
When comparing requests-futures and requests you can also consider the following projects:
grequests - Requests + Gevent = <3
httplib2 - Small, fast HTTP client library for Python. Features persistent connections, cache, and Google App Engine support. Originally written by Joe Gregorio, now supported by community.
urllib3 - urllib3 is a user-friendly HTTP client library for Python
Tapioca-Wrapper - Python API client generator