Python for Humans
summary
Standard library HTTP tooling is fragmented and verbose — urllib/urllib2 forces boilerplate to do basic auth and SSL — so a compact library called requests gives a one-line get with auth and consistent methods (get/post/put/delete). A test service HTTP for Humans (httpbin) makes debugging headers and responses simple. Hitchhiker's Guide to Python documents one-preferred-way practices. requests adds cookies, sessions, SSL CA bundle support, async hooks and reports about 1.4 million downloads, and it works.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker background
- 1:03Open source philosophy and projects
- 4:53Python's philosophy and the Zen of Python
- 8:24HTTP requests in Ruby vs Python's urllib2
- 12:35Problems with Python's standard library HTTP tools
- 14:22Introducing requests: HTTP for humans
- 17:37Designing pragmatic APIs and documentation
- 20:06Barriers to entry in Python development
- 27:56The Hitchhiker's Guide to Python
- 30:48Q&A session begins
