{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Provides Python bindings to the Keycloak API, supporting both OpenID Connect authentication flows and administrative operations on Keycloak servers.","skillfed_tags":["authentication","identity-management","openid-connect"],"use_cases":["Integrate Keycloak OpenID Connect authentication into a Python web application for user login and token management.","Automate user provisioning and role assignment in Keycloak from a Python backend service.","Build a Python CLI tool to manage Keycloak realms, clients, and users without manual admin console access.","Implement token refresh and logout flows in a Python API gateway or middleware.","Exchange tokens between different Keycloak clients for service-to-service authentication."],"what_it_does":"python-keycloak is a Python client library for Keycloak, an open-source identity and access management platform. It exposes two main interfaces: KeycloakOpenID for OpenID Connect authentication workflows (token acquisition, user info retrieval, logout) and KeycloakAdmin for server-side administrative tasks (user creation, role management). The library wraps HTTP calls to Keycloak's REST API using requests and httpx, with support for both synchronous and asynchronous operations.\n\nThe package is designed for applications that need to integrate Keycloak for authentication or for administrators who want to automate user and realm management. It requires a Keycloak server to be running and supports the five most recent major versions, allowing teams to upgrade gradually. Dependencies include httpx, requests, requests-toolbelt for HTTP operations, jwcrypto for token handling, deprecation for API lifecycle management, and aiofiles for async file operations.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and is widely used (top 5000 on PyPI). It directly solves Keycloak integration for Python applications. The 'Alpha' classifier is a minor concern given active development and no known vulnerabilities, but verify production readiness for your use case before committing to a critical auth path."},"id":"python-keycloak","links":{"html":"https://skillfed.io/packages/python-keycloak","md":"https://skillfed.io/packages/python-keycloak.md","pypi":"https://pypi.org/project/python-keycloak/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-15","license_spdx":null,"license_treatment":"permissive","name":"python-keycloak","python_support":"supports_current","summary":"python-keycloak is a Python package providing access to the Keycloak API."},"popularity":{"monthly_downloads":7856130,"position":1687,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.1.1"}
