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

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

Download URL kumoai-3.0.0.dev202607151833-py3-none-any.whl
Size 329.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6058f1a2282b83f01342b23bd6ad6abace8bfc61501e14f39939edb055e19a4a
BLAKE2b-256 checksum
How to use checksums
9bf967bea3e95973616363c048d0c7b17a82b9fc83d626ea9bf4e4f0aecaae98
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.dev202607151833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607151833-cp314-cp314-win_amd64.whl
Size 620.4 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
6471b620adb5c0c981f696c14be61537e0f16cf53a2028602be120b605fa6a6d
BLAKE2b-256 checksum
How to use checksums
11eecbf65128be6c05cc9aaa66188aa294885fea0becf0ae4b7e475ffead79d3
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.dev202607151833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607151833-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
d245604096b93e9d6cda6ee46320ded555eecba86c120b08826cd121391c592a
BLAKE2b-256 checksum
How to use checksums
7dbce27098438771da593ec1495efc79260d57dff3448a5e03f1672fa4edd8c6
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.dev202607151833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607151833-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
1602ef6e422a83da20b09007e8728245128e8f883231e365cd89ea30356bde58
BLAKE2b-256 checksum
How to use checksums
1dfd97d0f1c0c29eea1b59f56e073d9f06d2ab1def8b47124501d15dfe3cbdc0
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.dev202607151833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607151833-cp313-cp313-win_amd64.whl
Size 611.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
993f0d37dc90a4a77947210f4d32eb61293c2e33c77df617d3e49de39dd0ad8f
BLAKE2b-256 checksum
How to use checksums
0b3a215514a27ab23e20ee13d17c1a348719c7598ab5fef1c4402cf94327775d
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.dev202607151833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607151833-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
7c6720639330a97225be716ba15610e34ca7318aed4b1cd40b6975b6fcba14d5
BLAKE2b-256 checksum
How to use checksums
52d4840b64576fd2698727873a51e61f529215edfe67fab3a62d5745dfee2a25
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.dev202607151833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607151833-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
47fad55d7cd315740a72b7937a09dbdaa591c5edef44f4a51d1f534d4b4e52f6
BLAKE2b-256 checksum
How to use checksums
6ec0a810c29d1c8c2eb81a58ed002de81fbbfc5d5d5363444b69eb1cbe722b2b
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.dev202607151833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607151833-cp312-cp312-win_amd64.whl
Size 611.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
619b0f53304a335dba8193b0bff16bc56dcc34b6edff17261a9c75c3a1555d75
BLAKE2b-256 checksum
How to use checksums
1b13391110354fd9aa1023e7169549c2a64565310c23a5413b95e63d45a6cf30
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.dev202607151833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607151833-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
5086eb39322ba2fa9be9d0d837e96ce8764b8f0281d68119411e79ec4c66f78f
BLAKE2b-256 checksum
How to use checksums
a0c72939e0e6f12e6f50e5fb7b47034c0d7c8438e3d5465c7c9123512eca3184
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.dev202607151833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607151833-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
3ea0fbc29a735169bf3d70d644ed2635d6c402b934b99e046b5b5421e5f98e43
BLAKE2b-256 checksum
How to use checksums
d23eaa43e8126ab1842582793784c7f284088000f9f42892111927f247585a0e
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.dev202607151833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607151833-cp311-cp311-win_amd64.whl
Size 611.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
74f7c0640dd10d155efff781f684d138e71f60349c6d8cd2aedbc30a884429da
BLAKE2b-256 checksum
How to use checksums
077028c01decd6b99abc863b5ffdc7be86bddb832122041307d738378fbe050a
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.dev202607151833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607151833-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
36ed49630dd3dd4bb63b2296d7f88b0be2bff92508c28d622b3556aecd6ecd2d
BLAKE2b-256 checksum
How to use checksums
8d1ac54ee92710349b4c6f648495b459edc69b62a48d9d07ee49fe8e3644e684
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.dev202607151833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607151833-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
32aa45a265dd42fd8431b9b229a0c769c492fbd6e013f0591ed237450b54d7ab
BLAKE2b-256 checksum
How to use checksums
f2143d897f53a0b9990d142028497c45bb23126153965c7812a4c2cebf5c83b2
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.dev202607151833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607151833-cp310-cp310-win_amd64.whl
Size 610.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
68ffbc5712646dce7c1f396daac36fd97209a0c236d6211fa5151245460d372e
BLAKE2b-256 checksum
How to use checksums
00a38379d8f239d10d440999204c7af620d5417a4a3c4695bb2b6fbd87b721d1
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.dev202607151833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607151833-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
7f6b1e026ea0646d205e17ae1ae71de92ad54b95d7b98b3c802e3ec32accd532
BLAKE2b-256 checksum
How to use checksums
8c76d1b8fc129efa7abe1ad59d50dc7583a307e753b417fb4a7df397aae32686
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.dev202607151833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607151833-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
0d357ca0a54cfe074144c6eb8294a74230e9c1e5237789b52479aaabf466d761
BLAKE2b-256 checksum
How to use checksums
2046c86fbb5cfa93b215837c13491b609374174b249755256b5671dfc0992b50
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