Matthew Sullivan's blog and technical notes.
Requests is great and battle-tested, but suffers from a number of issues, which may never get fixed due to feature freeze: no default timeouts (work-around: TimeoutHTTPAdapter) underpowered respons...
The Python requests library will silently drop ‘cookie’ from a headers dictionary, and this behavior is not easily overridden. Here’s a little trick to make it work.
Python is a great language for automating tasks, and downloading images is one of those tasks that can be easily automated. In this article, you’ll see how to use the Python Imaging Library (PIL) or rather Pillow, Requests, and Urllib to download images from the web.
Frost Ming's personal blog
Having trouble figuring out when to use classes? In this article, we look at another heuristic for using classes in Python, with examples from real-world code, and some things to keep in mind.
...in which we build a hybrid concurrent.futures executor that runs I/O bound tasks on all available CPUs, thus evading the limitations imposed by the dreaded global interpreter lock on the humble ThreadPoolExecutor.
Persistent HTTP cache for python requests. Contribute to requests-cache/requests-cache development by creating an account on GitHub.