|3 months ago||4 days ago|
|Apache License 2.0||Apache License 2.0|
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.
How to send HTTP requests asynchronously with callbacks?
1 project | reddit.com/r/learnpython | 13 Dec 2021
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).
What are some good online FREE python interpreters that have their own processing power, RAM and Storage?
1 project | reddit.com/r/learnpython | 2 May 2021
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.
FYI: __bool__ for a Response object from the Requests library only evaluates to True if the status code is <400
1 project | reddit.com/r/Python | 26 Jan 2022
This really tripped me up for a bit as I had code that assumed if a particular variable was False-y, then it was None rather than a Response object. Tbh I strongly disagree with this as a design decision but what can ya do – I'm sure there's plenty of code that depends on it at this point and there's a long-open ticket about it here.
How to write a Python module/package?
2 projects | reddit.com/r/codehunter | 5 Jan 2022
(Just want to be specific as possible) I have the virtualenv ready, it's also up in github, the .gitignore file for python is there as well, plus, the requests library for interacting with the REST API. That's it.
7 projects | news.ycombinator.com | 1 Jan 2022
I will never understand why this has been included in the standard library instead of as a standalone library available for download. Now it's locked to the Go release cycle and have the potential to languish because of backward compatibility concerns.
The decision to include it is perplexing when other language ecosystems have chosen to keep this kind of functionality out of the standard lib, e.g. requests in python. To quote Kenneth Reitz: "...the standard library is where a library goes to die."
The future of Python build systems and Gentoo
8 projects | news.ycombinator.com | 10 Dec 2021
No, this requests: https://github.com/psf/requests
Download large file in python with requests
2 projects | reddit.com/r/codehunter | 4 Dec 2021
Requests is a really nice library. I'd like to use it for downloading big files (>1GB).The problem is it's not possible to keep whole file in memory; I need to read it in chunks. And this is a problem with the following code:
How to best include personal modules in other projects?
3 projects | reddit.com/r/learnpython | 4 Dec 2021
pip install -e git+https://github.com/psf/[email protected]
New undocumented APIs in Python 3.10: The future of trust stores in Python
3 projects | reddit.com/r/Python | 28 Nov 2021
Maybe some day we can close https://github.com/psf/requests/issues/2966
2 projects | reddit.com/r/learnpython | 17 Nov 2021
reader 2.5 released – a Python feed reader library
2 projects | reddit.com/r/opensource | 29 Oct 2021
want to change the way feeds are retrieved by using Requests?
Working on a library and having trouble handling imports
1 project | reddit.com/r/learnpython | 28 Oct 2021
Having your tests outside of your source code is probably the best. Also, checking what other libraries do is a good idea. For example, here's Requests. As you can see, they have the tests separately.
What are some alternatives?
urllib3 - Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.
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.
grequests - Requests + Gevent = <3
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
treq - Python requests like API built on top of Twisted's HTTP client.
Uplink - A Declarative HTTP Client for Python
Tapioca-Wrapper - Python API client generator
pyppeteer - Headless chrome/chromium automation library (unofficial port of puppeteer)
txrequests - Asynchronous Python HTTP Requests for Humans using twisted
AnyAPI - AnyAPI is a library that helps you to write any API wrapper with ease and in pythonic way.
jasmin - Jasmin - Open source SMS gateway