Many requests that you make will require authentication of some type. Requests includes support out of the box for HTTP Basic authentication, with more built-ins coming soon.
Making a Basic authenticated call is ridiculously easy:
As Basic authentication is usually what you want when you specify a username and password, you can also just pass in an array as a shorthand:
Note that POST/PUT can also take a data parameter, so you also need that