Python3

import requests
from requests.auth import HTTPBasicAuth
authentication = HTTPBasicAuth("pewpewusername","pewpewpassword")

Bash/Terminal

curl --insecure -u soopasecretpewewpusername:soopasecretpewpewpassword "https://192.168.0.106:5665/v1/status"