Files
kennethreitz.org/data/software/requests.md
T

25 lines
1.3 KiB
Markdown

# Requests: HTTP for Humans
The Requests library is a popular HTTP library for Python. It provides a simple and intuitive interface for making HTTP requests, making it easy to interact with web services and APIs.
$ uv pip install requests
This project is downloaded over 20 million times a day, and is widely used in the Python community. It is known for its ease of use and powerful features, making it a go-to choice for developers who need to work with HTTP in their Python projects.
**Fun fact**: the logo of the Requests project is a [tattoo](/photos/experiments/Tattoos) that I have on my right arm.
## Resources
- [Requests Documentation](https://docs.python-requests.org/en/master/)
- [HTTP Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods)
- [HTTP Status Codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status)
- [HTTP Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)
## Additional Reading
- [Python for Humans](/talks/python-for-humans)
- [Documentation is King](/talks/documentation-is-king)
- [The Zen of Python](https://www.python.org/dev/peps/pep-0020/)
- [PEP 8 - Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/)
- [Python Requests Library: A Guide](https://realpython.com/python-requests/)