2022-06-20 12:16:55 +02:00
|
|
|
# kanidm
|
|
|
|
|
|
|
|
A Python module for interacting with Kanidm.
|
|
|
|
|
2022-12-26 23:52:03 +01:00
|
|
|
Currently in very very very early beta, please
|
|
|
|
[log an issue](https://github.com/kanidm/kanidm/issues/new/choose) for feature requests and bugs.
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2022-08-17 13:35:06 +02:00
|
|
|
## Installation
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2022-12-26 23:52:03 +01:00
|
|
|
```bash
|
2022-06-20 12:16:55 +02:00
|
|
|
python -m pip install kanidm
|
2022-08-17 13:35:06 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2022-12-26 23:52:03 +01:00
|
|
|
Documentation can be generated by [cloning the repository](https://github.com/kanidm/kanidm) and
|
|
|
|
running `make docs/pykanidm/build`. The documentation will appear in `./pykanidm/site`. You'll need
|
|
|
|
make and the [poetry](https://pypi.org/project/poetry/) package installed.
|
2022-08-17 13:35:06 +02:00
|
|
|
|
2022-09-29 02:08:15 +02:00
|
|
|
## Testing
|
|
|
|
|
|
|
|
Set up your dev environment using `poetry` - `python -m pip install poetry && poetry install`.
|
|
|
|
|
2022-12-26 23:52:03 +01:00
|
|
|
Pytest it used for testing, if you don't have a live server to test against and config set up, use
|
|
|
|
`poetry run pytest -m 'not network'`.
|
2022-08-17 13:35:06 +02:00
|
|
|
|
|
|
|
## Changelog
|
|
|
|
|
2022-12-26 23:52:03 +01:00
|
|
|
| Version | Date | Notes |
|
|
|
|
| ------- | ---------- | ----------------------------------------------------- |
|
|
|
|
| 0.0.1 | 2022-08-16 | Initial release |
|
|
|
|
| 0.0.2 | 2022-08-16 | Updated license, including test code in package |
|
2022-08-17 13:35:06 +02:00
|
|
|
| 0.0.3 | 2022-08-17 | Updated test suite to allow skipping of network tests |
|