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.dev202607071833

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.dev202607071833
File
kumoai-3.0.0.dev202607071833-py3-none-any.whl Python 3 none any Details
kumoai-3.0.0.dev202607071833-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
kumoai-3.0.0.dev202607071833-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.dev202607071833-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607071833-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
kumoai-3.0.0.dev202607071833-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.dev202607071833-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607071833-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
kumoai-3.0.0.dev202607071833-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.dev202607071833-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607071833-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
kumoai-3.0.0.dev202607071833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607071833-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607071833-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
kumoai-3.0.0.dev202607071833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607071833-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.dev202607071833-py3-none-any.whl

Download URL kumoai-3.0.0.dev202607071833-py3-none-any.whl
Size 327.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
694b7ff3d0eb54209ebfafe0129a71492d004ccf27db6765213c23cd03acdc6a
BLAKE2b-256 checksum
How to use checksums
03a90282abddcd569f0a14b367fc623d479633c859999efbb7586fd1dcf271f7
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.dev202607071833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607071833-cp314-cp314-win_amd64.whl
Size 618.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
1214e2fcce50555b0b017445d189197b1ed59494d65b5feb74f5dfcacc08f378
BLAKE2b-256 checksum
How to use checksums
bd90b6dce86e34955d97f06d78352064e82d5b91671afd5708612bfb0db8eae4
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.dev202607071833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607071833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.0 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7804c2772520a7e58fe4d38dd328fa354c77ec29ea4e075bf6e0e96b4a8f8744
BLAKE2b-256 checksum
How to use checksums
67216820b2a9609489cd10972cc948e3bb56ee342e953ad30bc58d6441b8555e
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.dev202607071833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607071833-cp314-cp314-macosx_11_0_arm64.whl
Size 420.0 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f3a7e78cb01acc2be1e7686e07ce13eb6f6a0186996c562a4675331e108c5b24
BLAKE2b-256 checksum
How to use checksums
77e54914f715edb761902691be367d6902dd20330f6993f7e44df1d973c03846
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.dev202607071833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607071833-cp313-cp313-win_amd64.whl
Size 609.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
945b502cd4b679636f28e251d59b8fdaf5f9fb0fd55119da1240f936fef09f0e
BLAKE2b-256 checksum
How to use checksums
413899b545218f7d9bf862f31a5056439a6db3dd514c1be88dfb7eaa63b71637
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.dev202607071833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607071833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 436.9 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9253172c6ad699c7b5f7848b80dcbac2539e9ea6951c22f856189f7f66be0895
BLAKE2b-256 checksum
How to use checksums
533ff12da282050e7fd2565cb2082c3c0c826a3540e1813d921ef5f0e8b419c2
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.dev202607071833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607071833-cp313-cp313-macosx_11_0_arm64.whl
Size 419.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89cfccc2dfd7b6a0d648c74da5c53da1c848a589d8de637151bf1246e051f3f5
BLAKE2b-256 checksum
How to use checksums
ecbf301c22dae74d5a859b0a858262879a9b440d2a8816c83b0368f86bb81bc1
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.dev202607071833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607071833-cp312-cp312-win_amd64.whl
Size 609.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
eb7f87e0b162ac92a6ec485dbf8f6581cacccc56edec5261ee3cc5b04f722611
BLAKE2b-256 checksum
How to use checksums
cbcd95fb9e7bf23277aa0d2c8e94a00a99fc30265b2345d31a9cc30e7e2dce30
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.dev202607071833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607071833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.0 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6dd69facee4b4e62ef4b4d3bfad454520cb7874a154d7609968ac394c1ea2bfc
BLAKE2b-256 checksum
How to use checksums
0f65628c692b1bbf2146d1327f5fc69354074cdd33c2d97af4f82bb118af8651
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.dev202607071833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607071833-cp312-cp312-macosx_11_0_arm64.whl
Size 419.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
93769f5ceec9014596e62a1cb6b4ee70a39ed61f98e39d3917a1a28339e1ace9
BLAKE2b-256 checksum
How to use checksums
579d4db039e90746393436f9863fc5ae2f13921b80b6e5fa80f0ca22859b2bd0
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.dev202607071833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607071833-cp311-cp311-win_amd64.whl
Size 609.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9bd00cebd50ef4df37701d1edb2644f83310b886467c715767b9156aaee77dab
BLAKE2b-256 checksum
How to use checksums
49043ff6e74d38bbe5d73836e7aed6ae33ce712fb648bf0ddb504c92a4c3769f
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.dev202607071833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607071833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 436.9 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d1bc6aa993cdb6628485b57ef593ddffe71218fb9409b670d3e190914daa2791
BLAKE2b-256 checksum
How to use checksums
f9a22576e9778d372109a7c10ca41179c49b56378d04388c5384116acb1245aa
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.dev202607071833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607071833-cp311-cp311-macosx_11_0_arm64.whl
Size 420.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
06dc7b9d4c2409c47ba158fa235ba9f16ac97ea672913f2d555e0f6ab2feea2f
BLAKE2b-256 checksum
How to use checksums
0402aaa5c70ecc5f05e26ca9cb21487b3b17a533db39b5ac3b68de0e2e6bd5af
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.dev202607071833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607071833-cp310-cp310-win_amd64.whl
Size 608.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e1e81dc76d46755d0b03898a740a7f9aa4acfe5f47fc3a7500104ed1266aac74
BLAKE2b-256 checksum
How to use checksums
ae599be7ec90ad402bab96326654fb11384982c551db3d9ba253bf17e1c0e71d
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.dev202607071833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607071833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 436.1 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
731cbd537446901ec89f02eed1df9a96fccab0226a405cfa25c6f2c34df53f65
BLAKE2b-256 checksum
How to use checksums
66947cb54f58ad1ac3b6066f8926d44822403ac68a16f95a4e39a2dc7149ef5c
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.dev202607071833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607071833-cp310-cp310-macosx_11_0_arm64.whl
Size 418.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ea33a5fc4807a6fb12d3a69cec0bc80441002df266ce6612df73b35663825ddc
BLAKE2b-256 checksum
How to use checksums
aedab64cefa903869a79b7d8111d417924fee3799b14a2ab57372624e87c5337
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