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

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

Download URL kumoai-3.0.0.dev202607191913-py3-none-any.whl
Size 332.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a3f7e5798fdc0cea4b38335a912766041ef1f0b61ef07cb12789f82ab96eba7
BLAKE2b-256 checksum
How to use checksums
1a7d90f25c2bbc562751fbe7064d8dda398f7e6d88c20272f99e0013ee2811d3
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.dev202607191913-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607191913-cp314-cp314-win_amd64.whl
Size 623.3 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
5304d7db2cbaa38b4c4fd501a847f95f452cff273f79a64f5a0bb082359b73c9
BLAKE2b-256 checksum
How to use checksums
0384c3da40b137cd08e2830f6ae682b85a81a8d9fe1da1523a392994ae0a1cf1
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.dev202607191913-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607191913-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 442.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
07e8531fabe673bb74f0517b224f85e10dc0bc2fada60156453a2b1ad0b01b8c
BLAKE2b-256 checksum
How to use checksums
315777f722c500547a006aaf625da7f05684ededec393a84f766e98c4b0a9899
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.dev202607191913-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607191913-cp314-cp314-macosx_11_0_arm64.whl
Size 425.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d2b320a79e5a18874de991a2584adfdfdde8c92f391f4ff902a62a0cc6a1338
BLAKE2b-256 checksum
How to use checksums
03774cb642e8f1efaa6dfc14eaad5b60a5582356e95196f91c4ce276c6028d01
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.dev202607191913-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607191913-cp313-cp313-win_amd64.whl
Size 614.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
9716b326a44972c26845723424ed2262f7d7f09ba163dbf785d742f3772ddc19
BLAKE2b-256 checksum
How to use checksums
0b1672b8a89044466701404479d4121358ee7f8cd5faf57132543bb0515e7833
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.dev202607191913-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607191913-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.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
4057ed4f75881b8f3304042047cf290dbc1c52fac28687c2d20c259d740409aa
BLAKE2b-256 checksum
How to use checksums
d325b0fe0b68ab60b2352698442748e813c20b2f7020c8ba6dfcf9dcaabb6257
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.dev202607191913-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607191913-cp313-cp313-macosx_11_0_arm64.whl
Size 424.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a5f737d8823bffc9345914b91058178803a7a6274a2a49ff056f68a9a0cd1f89
BLAKE2b-256 checksum
How to use checksums
5044c6c0b44d9ef6cccdd04d6a5f7812053c65618e64c1d30e9d8b8722637e3b
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.dev202607191913-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607191913-cp312-cp312-win_amd64.whl
Size 614.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c6d835b6c9ba174d8f38317b3de42785d50d7b696108c236f175a6d25221caf7
BLAKE2b-256 checksum
How to use checksums
95419c36ea86d9789c95ee1114676a440253ccf5b3ae0f58c5ab5ddb52f8f49a
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.dev202607191913-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607191913-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 442.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
7d4043e70a83b0b5753901f5a5eedbb58f20cc85739b5f815c61170553095a38
BLAKE2b-256 checksum
How to use checksums
9efa3f79a4f9a5f2e75b4eccb317df3765539080629cdb65481bc21a989fc72d
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.dev202607191913-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607191913-cp312-cp312-macosx_11_0_arm64.whl
Size 424.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
eb289ff2e9b2e6369b55bcd22b9d1e46cf240c95cf11e366209d8d66274dfba2
BLAKE2b-256 checksum
How to use checksums
21ecc46034b65361bee0870567a17618e7c5ea69aab6e4047fde66a603799777
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.dev202607191913-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607191913-cp311-cp311-win_amd64.whl
Size 614.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
06576fe37bdca14a5039cbee6151fc9a41ef5defa9b1851b1674b73d64d86fba
BLAKE2b-256 checksum
How to use checksums
d8e74f0004050ff91a3467481c8f1f97cb54dc1e9d5f20c9107a7c9e64a4c5c5
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.dev202607191913-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607191913-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.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
9182cda5a7175aca85e33a64438dc07d59621e9b60de86973e84326170813899
BLAKE2b-256 checksum
How to use checksums
42ec4e58087c43615560926a07bf2a6deda686f5d1085df6c31553124d6ea4ea
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.dev202607191913-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607191913-cp311-cp311-macosx_11_0_arm64.whl
Size 425.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c33f1e29ed836245f7b0da3aa51a3fe279cb7e0356b5eb5812a738c4f41690dd
BLAKE2b-256 checksum
How to use checksums
63b13ba1648f704f09ed53eb85312813fc4e0f208e1002ce9fabd4081d283528
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.dev202607191913-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607191913-cp310-cp310-win_amd64.whl
Size 613.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e753912c31a2a9e49a0f0aede3cdc0ae305714fb41aedbafa65efbec51dda8d1
BLAKE2b-256 checksum
How to use checksums
6efd7c81fbd49652587d2d19a91f55b190b4a6876527128b3130e84dfe9d5f28
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.dev202607191913-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607191913-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.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
b72339ef05a5b594b5c0c8873816f4e218a4e59ffca676bcbae8e84a7935a06e
BLAKE2b-256 checksum
How to use checksums
de350373176972839ec2a468d9042a293cb36a71ee606ca5a7602ed4b5fd2191
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.dev202607191913-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607191913-cp310-cp310-macosx_11_0_arm64.whl
Size 423.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4d1c30ed2ed635d9e30e2bbb804eccb11299132fca4de81d2f8e0302067d322e
BLAKE2b-256 checksum
How to use checksums
18b2ea9a0720d24f9ce232ea094cc920e3e6fa1826449c7ffaf84029a1985f89
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