mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
* otel can eprintln kthx * started python integration tests, features * more tests more things * adding heaps more things * updating docs * fixing python test * fixing errors, updating integration test * Add models for OAuth2, Person, ServiceAccount and add missing endpoints * Alias Group to GroupInfo to keep it retrocompatible * Fixed issues from review * adding oauth2rs_get_basic_secret * adding oauth2rs_get_basic_secret * Fixed mypy issues * adding more error logs * updating test scripts and configs * fixing tests and validating things * more errors --------- Co-authored-by: Dogeek <simon.bordeyne@gmail.com> |
||
---|---|---|
.. | ||
docs | ||
kanidm | ||
tests | ||
mkdocs.yml | ||
poetry.lock | ||
pyproject.toml | ||
radius_test_env.sh | ||
README.md | ||
run_coverage.sh |
kanidm
A Python module for interacting with Kanidm.
Currently in very very very early beta, please log an issue for feature requests and bugs.
Installation
python -m pip install kanidm
Documentation
Documentation can be generated by cloning the repository and
running make docs/pykanidm/build
. The documentation will appear in ./pykanidm/site
. You'll need
make and the poetry package installed.
Testing
Set up your dev environment using poetry
- python -m pip install poetry && poetry install
.
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'
.
Changelog
Version | Date | Notes |
---|---|---|
0.0.1 | 2022-08-16 | Initial release |
0.0.2 | 2022-08-16 | Updated license, including test code in package |
0.0.3 | 2022-08-17 | Updated test suite to allow skipping of network tests |