A library to interface with Okta through it's restful api
Legacy: pip install oktalib
Preferred: uv add oktalib
Development flow as Paleofuturistic Python
Prerequisite: uv
- Fork and clone this repository.
- Download additional dependencies:
uv sync --all-extras --dev - Optional: validate the setup with
uv run pytest testsuv run pylint src tests
- Download dependencies (if you need any):
uv add some_lib_you_need - Develop (optional, tinker:
uvx --with-editable . ptpython) - QA:
- Format:
uv run ruff format - Lint:
uv run ruff check - Type check:
uv run mypy - Test:
uv run python -m unittest
- Format:
- Build (to validate it works):
uv build - Review documentation updates:
uv run mkdocs serve - Make a pull request.
Relevant for the maintainers of the repository.
- Github action release (Release Please) is using a PAT which expires. More about this can be found at paleofuturistic docs.
- Github action publish uses OIDC credentials for PyPI, check in PyPI if this stops working.