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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

kumoai-3.0.0.dev202607181833-py3-none-any.whl (332.8 kB view details)

Uploaded Python 3

kumoai-3.0.0.dev202607181833-cp314-cp314-win_amd64.whl (623.3 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607181833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (442.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607181833-cp314-cp314-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607181833-cp313-cp313-win_amd64.whl (614.7 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607181833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607181833-cp313-cp313-macosx_11_0_arm64.whl (424.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607181833-cp312-cp312-win_amd64.whl (614.7 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607181833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (442.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607181833-cp312-cp312-macosx_11_0_arm64.whl (424.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607181833-cp311-cp311-win_amd64.whl (614.1 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607181833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607181833-cp311-cp311-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607181833-cp310-cp310-win_amd64.whl (613.3 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607181833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607181833-cp310-cp310-macosx_11_0_arm64.whl (423.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file kumoai-3.0.0.dev202607181833-py3-none-any.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-py3-none-any.whl
Algorithm Hash digest
SHA256 12388b092ed9cbad8c7d408c3bec3151e5118611678b9e20598d7e79a9f23c88
MD5 4924b9b385e0dae17727861e046a8ad8
BLAKE2b-256 d42a4868ada17320d91d32583339aed5794f7c35a3c57a806b2d85fcd6e89f6d

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6a588a7c27d1a36e2dbd9ba4f44761db8d1b2d353fa9ff90ebca5f1f7ec297e5
MD5 eb237c758c823ff314646535562ef4d2
BLAKE2b-256 dadbf252ef1c3cc5993faf57cafd4fab2d4fdd58142200957169760a586726a7

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d27f5ad2319ac8053817da721fb67b5ff7ed9d322a16be0969e049471f443ab0
MD5 5e9098dfdbc673463af478f6ea2d8e6c
BLAKE2b-256 2b937a2bdcd3a2cec9660bcbe34d87af26769c50acd6796a4bbecec42dcfd36c

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47186e401b3e60dab11c938de9d59c70114a0b9c69f1234cc6dd0d11d8dd6f84
MD5 f6a1354e8d2a93bca238bc7cc795a6d5
BLAKE2b-256 6717d38fa0aa85697a439f3b909d3ac0b55879f52e734ba9678827e01161e706

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bf18371f2760d220fb06d6cc143e2ab26a68d47c8108953f535f421277a465c5
MD5 4b166fdcb0b3f35e5f74dcae40d14b13
BLAKE2b-256 d0b2ff4f50934c888822002f9eb176a8ed2288326da6afcff519a1882da9f634

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f48212d807c353c51f811cedc89601330f2bdf4de543d17c316408499650d76
MD5 d9e0cfb7043774da66d560d186a3c46c
BLAKE2b-256 cc4fca4046174f0dec9dc0ae119f7d1464461eab4de44f09ffcdd956df7af6b4

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7d0f7c907f3eeb0eec1633309d31bb29f78fae01614b9da82b8e5cb6b81be5c
MD5 83db71f0986ea97a1f28723f037ccc93
BLAKE2b-256 db1003e190525c5b5910b820bcd8acace080f687a7436c37bf4319859dc384ec

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f97e159d7fe6a61d9c53981ae263497993aff8249929b5ff6fbbc4a59497c684
MD5 cfb2482411c62c4507f398537392db2f
BLAKE2b-256 0a80e96a4c666961f11411ac11db785c3cc227adba7f41b90caaff76f3520d2b

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c63c63f7811dc96393942a9a25e5866625b25401ecf39dc9cb98d35f248f70f9
MD5 54d07d544dd0f810597b70c53a796598
BLAKE2b-256 1c9c1297c8a76af2b6686bc3a1527f336c159a33bf60f5b8acedf43a75f78f8a

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee0497443e2534e61dcd634057cbc93a624a72ee22fc63e50391199becdb929a
MD5 8cd0db1580f61ab2c208ba61a8aea9ae
BLAKE2b-256 c5d6c5cc87671f9201e99f6a6a7ad42eee5ae183dc682b414ac241064ca06481

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0fde1107f76b513ca34a87819c3fcdcdcde8e766844cbf4f20a10c124636ae08
MD5 02ea6e2e77a99af171cdc1714b74feeb
BLAKE2b-256 e846e040c7f894e791cc3baea88cc2aadb8cff816211a9bbcec13a073dc4340d

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c738f44a789edc683c9d054c11a0db9fd21654750f4ed32045dadfe6e0c7e03
MD5 29b99e7297cdc77c02a4a228d14f4953
BLAKE2b-256 3dd0f504a040b909f8627124eae4bb6749f4f4e80192358deeb3c583b1db109c

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 33f7b762c19407ba908c9d62d424678e2c9c45af56df3e200e080d10a425b1ed
MD5 e9c68e0c2236aa9144bcf352ffc57b58
BLAKE2b-256 5b8f4c1ed885c9647a5996ce99cbbec4fb3c8416d2b47b08802a283d88849e36

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7b3d80a276035c0a95ac7419c07c61ab05f898a561edaea6b8c04d37669ec7d6
MD5 f742159ee9793a59f3f5455daa575b9e
BLAKE2b-256 b20f13e53a05d192c6dda23a23d1714f83ca3d4f582a461074fd452297bab2cd

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 618aec006ab1831081b00478d6851be04c5e230d1237377532b01d897a4f7671
MD5 cb1412efe1c94b8569690e478d770908
BLAKE2b-256 6911a0053f9b84604976a8a0c75f4496b7246f5b5c5a80083f27058c9b06f6a3

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607181833-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607181833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 135c0d75266bc74deb3c57519ad226ede8a14aa7fcdd1852cb1d064e22cbbbde
MD5 ace64da7e3c9c7b087d41ae8ce82258f
BLAKE2b-256 086a4b3b277a26ee9bb3ab531afd9638548623159240ab9c5c11a9a57314fcdb

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page