python-keycloak is a Python package providing access to the Keycloak API.
https://github.com/marcospereirampj/python-keycloak
v2.12.0