Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.


The Kumo SDK implements a pythonic interface for users to programmatically interact with the Kumo machine learning platform (documentation).

Installation

The Kumo SDK is available for Python 3.10 to Python 3.14. To install, simply run

pip install kumoai

Optional database connectors can be installed with extras, for example:

pip install kumoai[sqlite]
pip install kumoai[duckdb]
pip install kumoai[snowflake]

Looking up projects

Every SDK session has one active project. You can retrieve another visible project by its display name or immutable Kumo ID without changing that active project:

import kumoai

kumoai.init()  # Selects the canonical Default project.
fraud = kumoai.get_project("Fraud Detection")

assert kumoai.current_project().name == "Default"

# Pass the stable ID to project-scoped objects when needed.
events = kumoai.BigQueryConnector(
    name="events",
    project_id="company-data-prod",  # Google Cloud project ID
    dataset_id="events",
    kumo_project_id=fraud.id,         # Kumo project ID
)

Use kumoai.set_project(fraud) when you do want to change the active project.

Multi-categorical string columns

For a scalar string containing several categories, set the proven delimiter on the column. Kumo persists it in the table definition, so metadata validation, snapshots, and training all split the values identically. Comma, pipe, semicolon, and tab are supported.

interests = kumoai.Column(
    name="interests",
    stype="multicategorical",
    dtype="string",
    multicategorical_delimiter="|",
)

Do not set a delimiter for native stringlist or intlist columns; their array structure already separates categories. When metadata inference detects a delimiter, the SDK retains the inferred value automatically.

Google identities stay credential-free in the SDK

Administrators assign BigQuery and GCS identities to project-owning groups. Users can inspect the safe authentication mode and pass the identity to any number of project connectors, but private keys and workload tokens never enter SDK code. Workload identity is preferred when the deployment enables it.

identity = kumoai.get_identity("Production Google")
print(identity.config.authentication.mode)
# "workload_identity" or "service_account_key"

events = kumoai.BigQueryConnector(
    name="events",
    project_id="company-data-prod",
    dataset_id="events",
    identity=identity,
)

Omit identity to ask the server to select the only authorized identity that can access the exact connector target. Connector constructors never accept Google keys, source credentials, or access tokens.

Metadata

Release files for kumoai 3.0.0.dev202607141833

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

Built distributions (wheels)

Table of built distributions (wheels) for kumoai 3.0.0.dev202607141833
File
kumoai-3.0.0.dev202607141833-py3-none-any.whl Python 3 none any Details
kumoai-3.0.0.dev202607141833-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
kumoai-3.0.0.dev202607141833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607141833-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607141833-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
kumoai-3.0.0.dev202607141833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607141833-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607141833-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
kumoai-3.0.0.dev202607141833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607141833-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607141833-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
kumoai-3.0.0.dev202607141833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607141833-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607141833-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
kumoai-3.0.0.dev202607141833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607141833-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 7.7 MB

Release files / kumoai-3.0.0.dev202607141833-py3-none-any.whl

Download URL kumoai-3.0.0.dev202607141833-py3-none-any.whl
Size 329.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6309777af9fe692d3d102d7b851a18273cb8ef9c5bacc6e9ed5b5e090a92d67a
BLAKE2b-256 checksum
How to use checksums
0b016fab14c50d72535107f8d0ba733edfa55566565eb1a75e3947e080af225b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607141833-cp314-cp314-win_amd64.whl
Size 620.4 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
20469edb327cc87fa053f33ee685fd0461fcd031445aa4b411ebd32491134b93
BLAKE2b-256 checksum
How to use checksums
1a6ff4f6ab363bed0407ec0cda9d91166b31c6abfb5395dd32176c1caaafceeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607141833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.1 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0b67b266bcf01a6e5d332220974b22f07009ed69b4ce85abfb82e207e5334a70
BLAKE2b-256 checksum
How to use checksums
ffba06c5b2a07c5a2398b8dc0f9d14e9cc2a788c778456add3018904d4963d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607141833-cp314-cp314-macosx_11_0_arm64.whl
Size 422.2 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
953dcdeeeb2e6e6d2658dec7432edb9cbafe22e3fc661f7637ce4a4c76f487db
BLAKE2b-256 checksum
How to use checksums
dbe6cde95718aeabb1f19e64ed8668c0a4ad835bff2d4564f0a0dcbf57f5fd27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607141833-cp313-cp313-win_amd64.whl
Size 611.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c5bc7e20b009528fc0905ff1ed8d095854f0b67003e790aff4c4cc07a84ec110
BLAKE2b-256 checksum
How to use checksums
a8804df761359f854d6ebde846c2c5e28d71f3b574ef6487ea267f7a44ae3a03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607141833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.0 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
47fd34aa71ebd8d9dab9b497a7c10665c204792e75229335c43ae8371aaba63f
BLAKE2b-256 checksum
How to use checksums
5059c67f1e19545f821cb80e254e86cc63cf56c3e48780d4737e9f38fb4a7e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607141833-cp313-cp313-macosx_11_0_arm64.whl
Size 421.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d635ace2b084b8c2c67f2369567d9f586ad02565e97d65088cb7dfa773a356f3
BLAKE2b-256 checksum
How to use checksums
b6a73c14be816ba64f84288097660b135afd9d354a984dde3fbb331daead3aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607141833-cp312-cp312-win_amd64.whl
Size 611.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
ebd8ba640b6cc66151d807dfb215eaefd0ab35ab5fb20a1b9aad25f41c44cf98
BLAKE2b-256 checksum
How to use checksums
7d4a5747ca417e7b302505dc615e956d0485d50c724735ad579a81d5c90d1734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607141833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.1 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
25ee50c499ca5d7ce40274d4442f58f7fc8d75e9ea62e4e80aa8e75885eb63db
BLAKE2b-256 checksum
How to use checksums
83dd38ee3368f2cec7975796fa44e63d654ba2347cc3c65a6f32a442f369932e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607141833-cp312-cp312-macosx_11_0_arm64.whl
Size 421.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
576e766737abe3219bbb43759b32a30df153ce4482ef9c2c4da4143afb6d518f
BLAKE2b-256 checksum
How to use checksums
bb2c0adda93e95cc2fc7029e751d2c49de2b7597a244e958b8fb5252f72cc313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607141833-cp311-cp311-win_amd64.whl
Size 611.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b85c96713d84e29ff3908421fd7fea5855a5fa42c6cd8afc6dd8ae5fcab7ca77
BLAKE2b-256 checksum
How to use checksums
1580adf7217c8f372a2ccf459f5682bf14b20ee3c959bcbf1e27c1afb8ad01d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607141833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.0 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
89d65ef97a39563eae48251bc7c4ae59bcfc1858c48204c84a5a10d501a05bdf
BLAKE2b-256 checksum
How to use checksums
6cd7bafcc20cbe1dbf524c91d30bf6fd64b0a5599de4851828c314deb805ce89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607141833-cp311-cp311-macosx_11_0_arm64.whl
Size 422.2 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8a17db84853c343e4324182064ac1debce372b594237415b866134708b2a2445
BLAKE2b-256 checksum
How to use checksums
97f8fd05ba5979a7d9dcbe09f6ec25f7dbd65f65887f11eb698ebd87501626ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607141833-cp310-cp310-win_amd64.whl
Size 610.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6af26281941627ed5e8c9cf10c56f90c29f1f60c2df1f05869b1f92b1798c559
BLAKE2b-256 checksum
How to use checksums
6f7c6750f8a792cf2dd38d723744e08ff6922e48928467390d7be31ed8881cf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607141833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 438.2 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b004c69264550c6b520470ab2989a885bdcdda4d6652c720d487dcdcf6f5c477
BLAKE2b-256 checksum
How to use checksums
1654ccc37d01b5774c9bdf4224c22ef24b2dbf135849b598a71171bef900027d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607141833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607141833-cp310-cp310-macosx_11_0_arm64.whl
Size 420.9 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
72a60a6f13bd3e67acf43274fc0ae5af7ae89bbe4eee19eb0764e4155e6f05c7
BLAKE2b-256 checksum
How to use checksums
88b7a1adae90717a3d40ba32af8351c539fc0d1a2783a9cdee9873b145a3745b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

2.9.1

16 release files

2.9.0

16 release files

2.8.1

16 release files

2.8.0

16 release files

2.7.0

16 release files

2.6.0

16 release files

2.5.1

16 release files

2.5.0

16 release files

2.4.3

1 release file

2.4.2

1 release file

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

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