How to authenticate to ODK aggregate using python

I am building a python application and I need to be able to authenticate through an ODK aggregate server. By "authenticate" I mean that, I need to send the login information (username and password) to the ODK aggregate server and it should return if the credentials are correct and the user is active. I rather user python's requests library, but I am open to other suggestions.

Aggregate has reached end-of-life and is no longer being updated or supported. Consider switching to Central because it's actively developed and has a great Python client in pyodk.

If you wish to continue with Aggregate, try reviewing the Briefcase-Aggregate API docs for ideas on how to auth with Aggregate.