|about 2 months ago||4 months ago|
|BSD 3-clause "New" or "Revised" License||MIT License|
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.
Best way to run parallel async http requests
3 projects | reddit.com/r/learnpython | 23 Aug 2021
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).
Scraping info from multiple links (from inside each link) that are listed on a webpage?
1 project | reddit.com/r/webscraping | 20 Jun 2021
FastAPI on a VPS - what will be the bottleneck
1 project | reddit.com/r/FastAPI | 13 Jan 2021
This video demonstrates Hosting FastAPI on Azure VM with Ubuntu. There are many factors to take into consideration on RAM and bandwidth. But to help you analyze the performance of your deployment, you can use grequests.
Celery vs Threads
1 project | reddit.com/r/django | 12 Jan 2021
If you're doing something in a view that is i/o bound, doesn't take very long, and you need to do a lot of it in parallel (eg. hit 10 different API endpoints in parallel) then you might use threads, or something like this to speed up your view. You can also use an offine task framework like Celery in these cases as well.
We haven't tracked posts mentioning Uplink yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
requests - A simple, yet elegant, HTTP library.
requests-futures - Asynchronous Python HTTP Requests for Humans using Futures
urllib3 - Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.
FGrequests - Fastest python library for making asynchronous group requests.
treq - Python requests like API built on top of Twisted's HTTP client.
Tapioca-Wrapper - Python API client generator
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.
jasmin - Jasmin - Open source SMS gateway
txrequests - Asynchronous Python HTTP Requests for Humans using twisted