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.dev202607101833-py3-none-any.whl (326.5 kB view details)

Uploaded Python 3

kumoai-3.0.0.dev202607101833-cp314-cp314-win_amd64.whl (616.9 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607101833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (435.7 kB view details)

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

kumoai-3.0.0.dev202607101833-cp314-cp314-macosx_11_0_arm64.whl (418.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607101833-cp313-cp313-win_amd64.whl (608.4 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607101833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (435.6 kB view details)

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

kumoai-3.0.0.dev202607101833-cp313-cp313-macosx_11_0_arm64.whl (418.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607101833-cp312-cp312-win_amd64.whl (608.4 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607101833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (435.7 kB view details)

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

kumoai-3.0.0.dev202607101833-cp312-cp312-macosx_11_0_arm64.whl (418.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607101833-cp311-cp311-win_amd64.whl (607.8 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607101833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (435.6 kB view details)

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

kumoai-3.0.0.dev202607101833-cp311-cp311-macosx_11_0_arm64.whl (418.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607101833-cp310-cp310-win_amd64.whl (607.0 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607101833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (434.9 kB view details)

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

kumoai-3.0.0.dev202607101833-cp310-cp310-macosx_11_0_arm64.whl (417.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-py3-none-any.whl
Algorithm Hash digest
SHA256 249b73a00b8881094646a39da99b1c50d000ec3450c8144c4136027327b991d1
MD5 565e126d92743fdafd6e3781d38cb328
BLAKE2b-256 c11d723ed97a97d6289f1d60e79f284ce61ebc5373bbba0262219d1dd3d5466e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 959c3b9b71611ad58e6681566ece28baf764dd60b61a51a0d5e6783bfab4b7d3
MD5 a1429c269cc08cdd484fbb17cab7c2c6
BLAKE2b-256 dbddaefe1f3ef2baae639f6e4a5b5b39d28a12e6ff334ee3d03a0cf0738c5fc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 513010cead6860db877d8b813501f1589f2c7439751c92dce359d543b9ce3f73
MD5 fbca0c01019cbb7e835d94fbe1511892
BLAKE2b-256 4701d9993a7e690d71a644a9154635c22e3b647c1ace2ed6b5aa041b3b849191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15fc4b26c3b23168bb0cbb1fa674b7debd780d045670a21cd715533f42093f32
MD5 5b3e1e2292258caaf4bf474aaa57a8cb
BLAKE2b-256 337e8f5c0ceeef34f73b8890527e6d9ee51f03424661fa83abac5d97bafc878b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d56a5c6694f86d99ac5cffde31dcab47b27d976c18799fbe0ab2bbdbe2610dd6
MD5 8a299ee2f457788717670750d4a128f3
BLAKE2b-256 9482a5eeef2f3e015324fecc1509b5472d89e3c957a2249496f3d4fe8ceb2590

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 caf646ff93673a946c0eaf1e43455402c1024c345221e47e35681df2b991f867
MD5 22d0e76155a2ace5540907d5c61da0db
BLAKE2b-256 65a0b0ea3a8590180be50f0d7cc0c7b618809270c2ded736908de2bff581935f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc3357f5a847a6e3b41ec500c6d7388db784ea3296a285d4821c81bc03d7f2a8
MD5 d461e9296f775113c927a8e8e25e7e23
BLAKE2b-256 fac6906e3c702eb2e5fa40e3d837dcb1b2c6ca7e81ec671b92e9ee41a6e79f3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 26b52af388caccb74f63293363a811532c5d842079890865aa05def3072ef858
MD5 41cc83f500cea68ee39107a844b87fd8
BLAKE2b-256 51d0068c22501027ea4b2edf7d20d20d3559cfde2cdad5d471e397be79af1657

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6b853dc428149ef6fc10774d762872901456512e22ba31624ce77b06f5ca0d23
MD5 ecdc4e376bd4d8338625ad1c3a5549fd
BLAKE2b-256 942bab3278d725c997b5812884982297b83d6dd321489ba9bd27a9ef2504d343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4074826edba579da4ae5e089f7e0707de517251b0acdf3bd7195e888a7806c45
MD5 d6076ceff22172f7f41f968d3a844cde
BLAKE2b-256 9b7a537fc27540782540b3877043a7e8f6b65db04504bf352d3776e8b9815372

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7b751e7d0563427ce76a29f660d0189a2d2ccf1b96a600613f034a58cc6fc03a
MD5 0cd69dda31bc6101ca3285f55a88e38a
BLAKE2b-256 3df2fe1c07f2a3a024e82e9fcc260afeb7ac6d48a08102dbe86367cb23ce7815

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f9fe91c6a37e871d42825b1b0ee1f1381a543c7557cc57326539dd822552f039
MD5 068e4349013c7862506029d33ef2d5af
BLAKE2b-256 4189e4265f7a9613a60741bf1025e8da52dbe3ad90eca412876a0fa60a153181

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df611a9f698338306fc173902deb2a8609646996649e450ab59b0a209c28f0cb
MD5 1146a0c1e366ef11a1e4a261759da353
BLAKE2b-256 d7d97c08efbe3a55d9be3f9aece0b50f603e1ae2e5005f3a51455821a9d47fe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b2d15fabca29096e67072f51b73266505a52a538022dd186e73c57c8c603f4ad
MD5 5a7ce51150a158416b796798493266ea
BLAKE2b-256 2b42b7fedb8de3257fa2abc842b6ada7c4c98a441c9146d28ef3ed0327f62306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0da9145022cdbb9e2dc8b210f29c9cda5b8a83162efcaf18c62e948318a2a189
MD5 b9fed5e4bf0e8ba77403a8ea128f052c
BLAKE2b-256 80e98f88233f53a89177980ca79471e14936a5415a8b901021631027f0008de1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607101833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8879c1bd3e759f8961e1ffe3d99c081d59ec61984b5e6c86d9b0a333e614214
MD5 43987147194c03a37a98a5497a946b08
BLAKE2b-256 0fa0cb893f7dfe50a84341124c16a7adc95d2d43d78b6e0f8f45d15d6ce8856b

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