kanidm/pykanidm
James Hodgkinson c8bd1739f9
PyKanidm updates and testing (#2301)
* 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>
2024-01-31 03:27:43 +00:00
..
docs Windows build fixes (#1388) 2023-02-28 11:39:39 +10:00
kanidm PyKanidm updates and testing (#2301) 2024-01-31 03:27:43 +00:00
tests PyKanidm updates and testing (#2301) 2024-01-31 03:27:43 +00:00
mkdocs.yml less lint more bark, ruff ruff (#1341) 2023-01-23 19:56:49 +10:00
poetry.lock chore(deps): bump aiohttp from 3.9.1 to 3.9.2 in /pykanidm (#2461) 2024-01-30 13:04:29 +10:00
pyproject.toml PyKanidm updates and testing (#2301) 2024-01-31 03:27:43 +00:00
radius_test_env.sh PyKanidm updates and testing (#2301) 2024-01-31 03:27:43 +00:00
README.md docs: reformat book and introduce workflow to ensure it stays formatted (#1286) 2022-12-27 08:52:03 +10:00
run_coverage.sh Python module and rewritten RADIUS integration (#826) 2022-06-20 20:16:55 +10:00

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