Testing on Kolena is conducted using the
kolena Python package. You use the
client to create and run tests from your infrastructure that can be explored in our web platform.
pydantic for data validation, but is compatible only with
pydantic V1. Prior to
kolena client did not set an upper bound on compatible
pydantic version, and as a result, fresh
installations of older versions of
kolena may install incompatible version of
pydantic, resulting in errors such
If you see the error above, please install the latest version of
Extra Dependency Groups#
Certain metrics computation functionality depends on additional packages like
scikit-learn. These extra dependencies can be installed via the
Once you have
kolena installed, initialize a session with
Developer page, generate an API token and set
KOLENA_TOKEN environment variable:
KOLENA_TOKEN environment variable set, initialize a client session:
By default, sessions have static scope and persist until the interpreter is exited.
Additional logging can be configured by specifying
kolena into your existing logging system by filtering for events from the
"kolena" logger. All log
messages are emitted as both Python standard library
logging events as well as stdout/stderr messages.
Supported Python Versions#
kolena is compatible with all active Python versions.
|3.6 (EOL: December 2021)||≤0.46|