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

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

Total release size: 7.6 MB

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

Download URL kumoai-3.0.0.dev202607101833-py3-none-any.whl
Size 326.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
249b73a00b8881094646a39da99b1c50d000ec3450c8144c4136027327b991d1
BLAKE2b-256 checksum
How to use checksums
c11d723ed97a97d6289f1d60e79f284ce61ebc5373bbba0262219d1dd3d5466e
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.dev202607101833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607101833-cp314-cp314-win_amd64.whl
Size 616.9 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
959c3b9b71611ad58e6681566ece28baf764dd60b61a51a0d5e6783bfab4b7d3
BLAKE2b-256 checksum
How to use checksums
dbddaefe1f3ef2baae639f6e4a5b5b39d28a12e6ff334ee3d03a0cf0738c5fc3
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.dev202607101833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607101833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.7 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
513010cead6860db877d8b813501f1589f2c7439751c92dce359d543b9ce3f73
BLAKE2b-256 checksum
How to use checksums
4701d9993a7e690d71a644a9154635c22e3b647c1ace2ed6b5aa041b3b849191
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.dev202607101833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607101833-cp314-cp314-macosx_11_0_arm64.whl
Size 418.8 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
15fc4b26c3b23168bb0cbb1fa674b7debd780d045670a21cd715533f42093f32
BLAKE2b-256 checksum
How to use checksums
337e8f5c0ceeef34f73b8890527e6d9ee51f03424661fa83abac5d97bafc878b
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.dev202607101833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607101833-cp313-cp313-win_amd64.whl
Size 608.4 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d56a5c6694f86d99ac5cffde31dcab47b27d976c18799fbe0ab2bbdbe2610dd6
BLAKE2b-256 checksum
How to use checksums
9482a5eeef2f3e015324fecc1509b5472d89e3c957a2249496f3d4fe8ceb2590
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.dev202607101833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607101833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.6 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
caf646ff93673a946c0eaf1e43455402c1024c345221e47e35681df2b991f867
BLAKE2b-256 checksum
How to use checksums
65a0b0ea3a8590180be50f0d7cc0c7b618809270c2ded736908de2bff581935f
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.dev202607101833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607101833-cp313-cp313-macosx_11_0_arm64.whl
Size 418.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fc3357f5a847a6e3b41ec500c6d7388db784ea3296a285d4821c81bc03d7f2a8
BLAKE2b-256 checksum
How to use checksums
fac6906e3c702eb2e5fa40e3d837dcb1b2c6ca7e81ec671b92e9ee41a6e79f3f
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.dev202607101833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607101833-cp312-cp312-win_amd64.whl
Size 608.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
26b52af388caccb74f63293363a811532c5d842079890865aa05def3072ef858
BLAKE2b-256 checksum
How to use checksums
51d0068c22501027ea4b2edf7d20d20d3559cfde2cdad5d471e397be79af1657
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.dev202607101833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607101833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.7 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6b853dc428149ef6fc10774d762872901456512e22ba31624ce77b06f5ca0d23
BLAKE2b-256 checksum
How to use checksums
942bab3278d725c997b5812884982297b83d6dd321489ba9bd27a9ef2504d343
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.dev202607101833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607101833-cp312-cp312-macosx_11_0_arm64.whl
Size 418.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4074826edba579da4ae5e089f7e0707de517251b0acdf3bd7195e888a7806c45
BLAKE2b-256 checksum
How to use checksums
9b7a537fc27540782540b3877043a7e8f6b65db04504bf352d3776e8b9815372
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.dev202607101833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607101833-cp311-cp311-win_amd64.whl
Size 607.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7b751e7d0563427ce76a29f660d0189a2d2ccf1b96a600613f034a58cc6fc03a
BLAKE2b-256 checksum
How to use checksums
3df2fe1c07f2a3a024e82e9fcc260afeb7ac6d48a08102dbe86367cb23ce7815
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.dev202607101833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

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

Download URL kumoai-3.0.0.dev202607101833-cp311-cp311-macosx_11_0_arm64.whl
Size 418.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
df611a9f698338306fc173902deb2a8609646996649e450ab59b0a209c28f0cb
BLAKE2b-256 checksum
How to use checksums
d7d97c08efbe3a55d9be3f9aece0b50f603e1ae2e5005f3a51455821a9d47fe1
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.dev202607101833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607101833-cp310-cp310-win_amd64.whl
Size 607.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b2d15fabca29096e67072f51b73266505a52a538022dd186e73c57c8c603f4ad
BLAKE2b-256 checksum
How to use checksums
2b42b7fedb8de3257fa2abc842b6ada7c4c98a441c9146d28ef3ed0327f62306
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.dev202607101833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607101833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 434.9 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0da9145022cdbb9e2dc8b210f29c9cda5b8a83162efcaf18c62e948318a2a189
BLAKE2b-256 checksum
How to use checksums
80e98f88233f53a89177980ca79471e14936a5415a8b901021631027f0008de1
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.dev202607101833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607101833-cp310-cp310-macosx_11_0_arm64.whl
Size 417.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c8879c1bd3e759f8961e1ffe3d99c081d59ec61984b5e6c86d9b0a333e614214
BLAKE2b-256 checksum
How to use checksums
0fa0cb893f7dfe50a84341124c16a7adc95d2d43d78b6e0f8f45d15d6ce8856b
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