Metadata-Version: 2.1
Name: python-keycloak-api-client
Version: 0.2.2
Summary: Client for Keycloak Api (mostly users and impersonation)
Home-page: https://github.com/masterplandev/python-keycloak-api-client
Author: Szymon Marcinkowski
Author-email: szymon@masterhub.com
License: MIT
Keywords: keycloak,client,api
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
Requires-Dist: attrs (>=19.3)
Requires-Dist: requests (>=2.23)
Provides-Extra: dev
Requires-Dist: pytest (>=6.2) ; extra == 'dev'
Requires-Dist: flake8 (>=6.2) ; extra == 'dev'

# Python Keycloak Client

## Usage

```python
from keycloak_api_client import KeycloakApiClient

keycloak_api_client = KeycloakApiClient(...)
read_keycloak_user = keycloak_api_client.get_keycloak_user_by_email('johndoe@example.com')
```

## Test

```bash
$ tox
```

## Development

```bash
$ pip install -e .
```

## Changelog

### v0.2.2
- Added `limit` and `offset` params in `KeycloakApiClient.search_users()` to control paging

### v0.2.1
- Fixed `StopIteration` when downloading user by email in case email partially matches found users but not exact match exact email 

### v0.2.0
- Method `get_keycloak_user` was replaced by `get_keycloak_user_by_id` and `get_keycloak_user_by_email`

### v0.1.1
- Fixed typo

### v0.1.0
- Initial release


