|16 days ago||4 days ago|
|Apache License 2.0||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.
ImportError: No module named requests
reddit.com/r/codehunter | 2021-10-20
Whenever I try to import requests, I get an error saying No module Named requests.
What are the differences between the urllib, urllib2, urllib3 and requests module?
reddit.com/r/codehunter | 2021-10-15
In Python, what are the differences between the urllib, urllib2, urllib3 and requests modules? Why are there three? They seem to do the same thing...
Where can I read quality Python code
reddit.com/r/learnprogramming | 2021-09-29
Keep in mind that there's a lot of clutter in Requests' repository. The entire module is actually just these files.reddit.com/r/learnprogramming | 2021-09-29
Starting with an incredibly complex project like a machine learning platform probably isn't a good idea. Try finding something easier. Maybe something like requests.
Why is the PSF ignoring its own CoC?
reddit.com/r/Python | 2021-09-02
https://github.com/psf/requests/pull/5923 adds back a logo that people find offensive because someone got it tattooed on their body? Doesn't the logo violate the Code of Conduct?
3 Ways to Unit Test REST APIs in Python
dev.to | 2021-07-22
To retrieve the weather data, we'll use requests. We can create a function that receives a city name as parameter and returns a json. The json will contain the temperature, weather description, sunset, sunrise time and so on.
reader 2.0 released – a Python feed reader library
reddit.com/r/Python | 2021-07-19
want to change the way feeds are retrieved by using Requests?
How To Write Clean Code in Python
dev.to | 2021-07-14
Explore other well-written code bases. If you want some examples of well-written, clean, and Pythonic code, check out the Python requests library.
Everything to know about Requests v2.26.0
dev.to | 2021-07-13
Requests v2.26.0 is a large release which changes and removes many features and dependencies that you should know about when upgrading.
Multiple payloads with one POST request?
reddit.com/r/learnpython | 2021-07-13
Are you talking about multipart/mixed or some other form of multipart type? If so, look here: https://github.com/psf/requests/issues/1736 the parameter to pass is very confusingly named files. But, it seems to be going in the direction you want.
HTTP Calls in Python Without requests or Other External Dependencies
dev.to | 2021-03-07
urllib3 is the dependency for many other tools, including requests. By itself, urllib3 is quite usable. It may be all you need.
Weird architectures weren't supported to begin with
news.ycombinator.com | 2021-02-28
Alright, let's do some digging...
On 2013-03-21, urllib3 added an optional dependency to pyopenssl for SNI support on python2 - https://github.com/urllib3/urllib3/pull/156
On 2013-12-29, pyopenssl switched from opentls to cryptography - https://github.com/pyca/pyopenssl/commit/6037d073
On 2016-07-19, urllib3 started to depend on a new pyopenssl version that requires cryptography - https://github.com/urllib3/urllib3/commit/c5f393ae3
On 2016-11-15, requests started to depend on a new urllib3 version that now indirectly requires cryptography - https://github.com/psf/requests/commit/99fa7bec
On 2018-01-30, portage started to enable the +rsync-verify USE flag by default, which relies on the gemato python library maintained by mgorny himself, and gemato depended on requests. So 5-6 levels of indirection at this point? I lost count.
On 2020-01-01, python2 was sunset. A painful year to remember, and a painful migration to forget. And just when the year was about to end...
On 2020-12-22, cryptography started to integrate rust in the build process, and all hell broke loose - https://github.com/pyca/cryptography/commit/c84d6ee0
Ultimately, I think mgorny only has himself to blame here, by injecting his own library into the critical path of gentoo, without carefully taking care of its direct and indirect dependencies. (But of course it is also fair game to blame it on the 2to3 migration)
In comparison, few months before this, the librsvg package went through a similar change where it started to depend on rust, and it was swift and painless without much drama - https://bugs.gentoo.org/739820 and https://wiki.gentoo.org/wiki/Project:GNOME/3.36-notes
What are some alternatives?
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
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
requests-futures - Asynchronous Python HTTP Requests for Humans using Futures
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.
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python