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

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

Download URL kumoai-3.0.0.dev202607131832-py3-none-any.whl
Size 328.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adcbc0e1d1f3f2db05d867348c51466dc810b09c7ea021a1ab14912568215b7a
BLAKE2b-256 checksum
How to use checksums
57fd9d145ee98d5992a049b97de4c255848f74e2f1316a526425b99c6d387420
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.dev202607131832-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607131832-cp314-cp314-win_amd64.whl
Size 619.0 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
70ddd556d2328effa5e92868464cd62fdfa06a5f39e8ecea26551b649368e1cd
BLAKE2b-256 checksum
How to use checksums
c6fa8a716f321245e6d643fac1a3c66861ab9562a1b442e4480e266adacabf45
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.dev202607131832-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607131832-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.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
8a99a436bc23a2485620826f720d7cb9d8fd8b8b73d341a6eca2ec84392005a1
BLAKE2b-256 checksum
How to use checksums
deac957513b2928081a8088f9e4cd861300f02eabae6ee23eb30b51ef189871e
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.dev202607131832-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607131832-cp314-cp314-macosx_11_0_arm64.whl
Size 420.8 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
34125f1b4fe09f520b8f22a0741e58adeabff69810f39e0d4c5d1f220c81d05c
BLAKE2b-256 checksum
How to use checksums
1aae56779e57017690e1a440790363114557bad2037a391e4c465028f507ed45
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.dev202607131832-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607131832-cp313-cp313-win_amd64.whl
Size 610.4 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6f551625e74edc0074b8aba92554360f43a2a80799a8e1cea3241e5dca7c2bcb
BLAKE2b-256 checksum
How to use checksums
ba27206c1d0480626306ff7f4a418b4784cbcfaafc1c8d7b47144ce07d667c6c
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.dev202607131832-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607131832-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.7 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5a8a384984610e302b31749a269214921e0468bbfd228138d5a5006fcc1a37f3
BLAKE2b-256 checksum
How to use checksums
19f5996217e811d3cee1387a37382374b61ba87969cf1b5d4ca9b78777964b12
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.dev202607131832-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607131832-cp313-cp313-macosx_11_0_arm64.whl
Size 420.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
59307d36c8148a9171ff96fbdafbf69afdd34dda5d5968b3a7631711e4def094
BLAKE2b-256 checksum
How to use checksums
a4ac11decc71e33d7063506a59e4d976567d42ce8b651278be74e79394a47055
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.dev202607131832-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607131832-cp312-cp312-win_amd64.whl
Size 610.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
83de33ccf5cc9c6a3d7e7ebae558b3299b47b9734faac72bfb73fcc2d69f4ae5
BLAKE2b-256 checksum
How to use checksums
167bb47294e5cb7a9ccc1623433b14013e815440494e5e9740bbc65427a079cf
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.dev202607131832-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607131832-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.8 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
46e08ddb3d286c2b9c323f499648adb13a162f18fbebb26fd12e389c6a828d0d
BLAKE2b-256 checksum
How to use checksums
89feec3dad61b93d736cb87707d82c56139875553b095877b6e5f4c82ebd3f50
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.dev202607131832-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607131832-cp312-cp312-macosx_11_0_arm64.whl
Size 420.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a742ef33d00530d636de8179651dd9d6f69ab034616595d52af47c6e5df443cd
BLAKE2b-256 checksum
How to use checksums
dbb688e47873661d1dc0552a14b21004927b4978913c1569777127f7310bc7ef
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.dev202607131832-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607131832-cp311-cp311-win_amd64.whl
Size 609.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2e95de1fb453e9eefba943c2da3bb61b91ed99c01907b6cd363e29a9e9be74db
BLAKE2b-256 checksum
How to use checksums
d950775824110ae00bb4a6029009d4f104f6f0bb96a0804e617154528cb908b1
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.dev202607131832-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607131832-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 437.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
d8c4c86443f1f81c8bc4a5ef2ce972699539930d09c1478f08bc7d3599b887bb
BLAKE2b-256 checksum
How to use checksums
46ab9e8563024e79a5adda8aabf86e91bbd8bf23f0a20e8fa02f43f0190ff72a
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.dev202607131832-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607131832-cp311-cp311-macosx_11_0_arm64.whl
Size 420.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
66fff6ed638b30aaf8cf434db0dc1f02f7870fbaaba5a1c1504eeabdb3a7b1a8
BLAKE2b-256 checksum
How to use checksums
5c0726a7b95f5c10d4651de3d783dd7892979338e41fdd7c82522ce0f462a6c3
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.dev202607131832-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607131832-cp310-cp310-win_amd64.whl
Size 609.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4725474d1eff20dc459c5101fa095a712ca0488437c5effad3a2aca902a40a1e
BLAKE2b-256 checksum
How to use checksums
3767376a8605a8d1f9bde0cba2aefd82ff7b6670ec8054cfb0d05d4b69fb539d
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.dev202607131832-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607131832-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 436.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
fa820027fa41a3e18d1822ec1899931e7e9c3ab5e0688c499653b9b2d0a69ac1
BLAKE2b-256 checksum
How to use checksums
4091437ad2512741732bcbf8fc1acb5187582c122a78b25363482420a6abfae3
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.dev202607131832-cp310-cp310-macosx_11_0_arm64.whl

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