This is a Python SDK for the Rootly API v1.
rootly_sdk/- Main SDK packageclient.py- HTTP client implementationerrors.py- Error definitionsmodels/- Generated API modelsapi/- API endpointstypes.py- Type definitions
- Python 3.9+
- httpx (HTTP client)
- attrs (data classes)
- python-dateutil (date parsing)
- Uses Poetry for dependency management
- Follows Ruff linting rules (line length 120, select F/I/UP)
- Generated from OpenAPI specification
To test the SDK imports correctly:
python -c "import rootly_sdk; print('SDK imports successfully')"To regenerate the client from the OpenAPI specification:
openapi-python-client generate --url https://rootly-heroku.s3.amazonaws.com/swagger/v1/swagger.json --no-fail-on-warning --output-path . --overwrite --config tools/config.yamlUses Poetry build system with poetry-core backend.