# 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.8.0
- Allow to define starting `client_id` / `client_secret` when using token-exchange feature
### v0.7.1
- Change `client_id` value in `get_user_tokens`
### v0.7.0
- Added methods `search_clients_by_client_id` and `delete_client`
- Added `KeycloakClient` dataclass
### v0.6.0
- Added methods `create_client` and `create_mapper_for_client`
### v0.5.0
- Added method `send_verification_email`
### v0.4.0
- Added method `reset_password`
### v0.3.0
- Added method `count_users`
### 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
Raw data
{
"_id": null,
"home_page": "https://github.com/masterplandev/python-keycloak-api-client",
"name": "python-keycloak-api-client",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "keycloak,client,api",
"author": "Szymon Marcinkowski",
"author_email": "szymon@masterhub.com",
"download_url": "https://files.pythonhosted.org/packages/fb/b9/40d517d563065b5f06bdef3eefd9bfac510aaadd00aeca94dd156bb7f2bc/python-keycloak-api-client-0.8.0.tar.gz",
"platform": null,
"description": "# Python Keycloak Client\n\n## Usage\n\n```python\nfrom keycloak_api_client import KeycloakApiClient\n\nkeycloak_api_client = KeycloakApiClient(...)\nread_keycloak_user = keycloak_api_client.get_keycloak_user_by_email('johndoe@example.com')\n```\n\n## Test\n\n```bash\n$ tox\n```\n\n## Development\n\n```bash\n$ pip install -e .\n```\n\n## Changelog\n\n### v0.8.0\n- Allow to define starting `client_id` / `client_secret` when using token-exchange feature\n\n### v0.7.1\n- Change `client_id` value in `get_user_tokens`\n\n### v0.7.0\n- Added methods `search_clients_by_client_id` and `delete_client`\n- Added `KeycloakClient` dataclass\n\n### v0.6.0\n- Added methods `create_client` and `create_mapper_for_client`\n\n### v0.5.0\n- Added method `send_verification_email`\n\n### v0.4.0\n- Added method `reset_password`\n\n### v0.3.0\n- Added method `count_users`\n\n### v0.2.2\n- Added `limit` and `offset` params in `KeycloakApiClient.search_users()` to control paging\n\n### v0.2.1\n- Fixed `StopIteration` when downloading user by email in case email partially matches found users but not exact match exact email \n\n### v0.2.0\n- Method `get_keycloak_user` was replaced by `get_keycloak_user_by_id` and `get_keycloak_user_by_email`\n\n### v0.1.1\n- Fixed typo\n\n### v0.1.0\n- Initial release\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Client for Keycloak Api (mostly users and impersonation)",
"version": "0.8.0",
"project_urls": {
"Homepage": "https://github.com/masterplandev/python-keycloak-api-client"
},
"split_keywords": [
"keycloak",
"client",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f27a173610b9d69c82cf0598709858fdf8da9e8e6024f6d697b5829fccd0362a",
"md5": "545b05d266235e18eafabfa232b9b52d",
"sha256": "5c2b529dbc89949f3d67b68fa5bac38752c6e3a8598329397bc5460173d60152"
},
"downloads": -1,
"filename": "python_keycloak_api_client-0.8.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "545b05d266235e18eafabfa232b9b52d",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7510,
"upload_time": "2023-11-06T23:40:35",
"upload_time_iso_8601": "2023-11-06T23:40:35.546322Z",
"url": "https://files.pythonhosted.org/packages/f2/7a/173610b9d69c82cf0598709858fdf8da9e8e6024f6d697b5829fccd0362a/python_keycloak_api_client-0.8.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fbb940d517d563065b5f06bdef3eefd9bfac510aaadd00aeca94dd156bb7f2bc",
"md5": "7bb7f64b97ebafca42ff84c89d56faa6",
"sha256": "1abe92810a4701a96647833148ce6a199a60165c2e9dec072e16aa3608c4e8f1"
},
"downloads": -1,
"filename": "python-keycloak-api-client-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "7bb7f64b97ebafca42ff84c89d56faa6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 50751,
"upload_time": "2023-11-06T23:40:38",
"upload_time_iso_8601": "2023-11-06T23:40:38.349659Z",
"url": "https://files.pythonhosted.org/packages/fb/b9/40d517d563065b5f06bdef3eefd9bfac510aaadd00aeca94dd156bb7f2bc/python-keycloak-api-client-0.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-06 23:40:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "masterplandev",
"github_project": "python-keycloak-api-client",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"tox": true,
"lcname": "python-keycloak-api-client"
}