This project provides F5 Authentication support for BIG-IQ and BIG-IP using Requests.
F5's BIG-IQ and BIG-IP use token based authentication. While the implementation differs on each, requests_f5auth hides most of the differences.
Accessing protected resources using requests_f5auth is as simple as:
>>> from requests_f5auth import F5Auth
>>> f5auth = F5Auth(username, password)
>>> resp = requests.get(url='https://10.10.10.10/mgmt/shared/echo', auth=f5auth)To install requests and requests_oauthlib you can use pip:
$ pip install requests requests_f5auth