Skip to main content

kolosis-metricflow-sdk

Python SDK for working with the Kolosis MetricFlow API.

Install

uv add kolosis-metricflow-sdk

Configure Authentication

Client IDs are slug-based (lowercase letters, numbers, and hyphens only).

from kolosis_metricflow_sdk.client.client_config import MetricflowClientSettings

settings = MetricflowClientSettings(
    base_url="https://metrics-api.example.com",
    api_version="v1",
    client_id="analytics-team",
    client_secret="your-client-secret",
)

You can also load authentication from environment variables:

  • METRICFLOW_CLIENT_ID
  • METRICFLOW_CLIENT_SECRET

Create an HTTP Client

from kolosis_metricflow_sdk.client.metrics_api_client import create_metrics_api_client

client = create_metrics_api_client(settings=settings)

Models

The SDK includes Pydantic models used by the API:

  • MetricQueryParams
  • MetricQueryResponse
  • CatalogMetricsResponse
  • CatalogDimensionsResponse

Metadata

Release files for kolosis-metricflow-sdk 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kolosis-metricflow-sdk 0.8.0
File Size Uploaded
kolosis_metricflow_sdk-0.8.0.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kolosis-metricflow-sdk 0.8.0
File Interpreter ABI Platform
kolosis_metricflow_sdk-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / kolosis_metricflow_sdk-0.8.0.tar.gz

Download URL kolosis_metricflow_sdk-0.8.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f3037babef8b193f113f48beb65fd678f1adda050883b35864d275d629c7c65c
BLAKE2b-256 checksum
How to use checksums
fd3ac9fe66c1a5e8e2444a30b24544cc69fa68f76a6f707bdf5624551ffebf77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / kolosis_metricflow_sdk-0.8.0-py3-none-any.whl

Download URL kolosis_metricflow_sdk-0.8.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51b84534365bcb4326abcd1280754bdd633d6b4fefa31395fe92c89ed536d8c5
BLAKE2b-256 checksum
How to use checksums
138935a817ac56028b368d31565916a5ea08128879a559e45045d2bedea836ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page