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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607171833-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.dev202607171833-cp314-cp314-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607171833-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.dev202607171833-cp313-cp313-macosx_11_0_arm64.whl (424.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607171833-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.dev202607171833-cp312-cp312-macosx_11_0_arm64.whl (424.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607171833-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.dev202607171833-cp311-cp311-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607171833-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.dev202607171833-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.dev202607171833-py3-none-any.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-py3-none-any.whl
Algorithm Hash digest
SHA256 0683044728b04ba8562354b495927576de08e848cb57b030a3f9d5f48caad08f
MD5 e74463b8848dc8e45f9c7f32ac6557b3
BLAKE2b-256 6cd98a0c8c77710d0a34a4ba8ae60afb3655400d63b0a02e2c8a7f95d90b6d13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6fbf5c2a7bcb98e293d908628d0c807c8d1db39777d2961e7f2b4fecff39ddb5
MD5 0f43b2b6ce2b1cf1c2deaee1e5b169fc
BLAKE2b-256 34612143133774adc66586d80ea49956b8d5f22c2e1fbca1dc92dfb031489508

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7d2c7d9d3a4644a7a152e3c9047cab93aaef941457c9704e4ff7c4995872573
MD5 a1f738811132de4539bc59d84481f433
BLAKE2b-256 ca239083a4e3a5afa271896b532b21922884eabfedc4dc18928f5d4b14fe23e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d5c1d23bab92684712d35a7912ddc8e6d649aea68ea6587eab9b06455ffc3f0
MD5 440751d1c828fc2b80abdfb94b08ba46
BLAKE2b-256 d1d0f4ce994e782d715de1b276d1bc6073133d60ab5d429c4603a3dce0fa634e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a584ee5cd2644ec18551d34fcf92daf454c210c0cadad0b323ec3c11d2eff96a
MD5 29214654044ecd42c18f987e265da111
BLAKE2b-256 59a0b87a6e53e60c5ea785c730aff937e93b86283fb0f91fe606085839f414e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e560503418930b5dbe3cfbd21e291b5ecd1b21ff7b34576ffdfcf1cebd8f5424
MD5 5f7eb5d7a16df18002394d8b66094bfe
BLAKE2b-256 e34a5d3bb71422372e4460c9d1c48ec1d3e661dcfa5940d7572bc6fd3e75cb57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87a54e1510a5d5cb67e41026d4d75edc60cb8426b05df204d55519269af82003
MD5 1a96944b23137b1bd22a4d6355eb4542
BLAKE2b-256 35f8f767905ad360c4565e9641b0c52e163b5986f9de73b0b118c16738bdde8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 67036f19ae1fb4218ef676cf37458c1174d11c32ff18c4a64ccd62964b33314e
MD5 c62c266123b48ac96fe2d05defdcfc11
BLAKE2b-256 1e90a550cf0317f779201e78e32aca2a045e1c77ed63172b09e604f5893a2497

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4d518612a425ebdea87fbd8895571a192a162222f3dcf5279cd5bb4043ce23a
MD5 45f50938b06b22e1d52a418f294c5ab5
BLAKE2b-256 f954a33b16a3f491f30d2e1a58cc67c26cafadfcf095fa297b037c8b11b2980e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a93554dbf354c51633ba7f2c22dc40527962b4a69927e0c6f36ca75638f0a16c
MD5 201f67f77fd5cb65ad4364cf24339912
BLAKE2b-256 e6ba67b661b62f0b1afe22d4371fe5d4bda1c748d58631a0058fcd2711d26d0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 10e5779fdcc10fe25f29aad890a45f2c119646e40b1513d3d1c4af0d6d0c9842
MD5 a3e9ad7f1588ef5b51dd70b73ad5484e
BLAKE2b-256 c3f6115b3dc76797b3fec3df34bbd99d534a558ec1224b24e6d5ec9c8b2699b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e9a725b1a8294b107d980858405b7a23aa429be62ac449d0eeedcff94ff4ddb
MD5 968e33806db180dc1bac8bb63a4c5148
BLAKE2b-256 a27ab248a3dfd6e839777f72428d3905fc3215d4effe537d03ce729bbec4f868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 802cdeb3e164ed714a1a70d8ada422a141b362daa642d4dcf105753e07293061
MD5 1d8d81b99967ece8e3a02f69178f3a44
BLAKE2b-256 bd768236f74a80b41662d2a49b782a01cfb78ceb24e98ca7b570c75a3c159cfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4aa22f5b32672182fca26fd3f574bdb9365de83bf93b2fc478e902e95a5662ad
MD5 bce77e0d8a0252313ca75e04dd448de2
BLAKE2b-256 0b7b3682f4cd1042bbfcf2ded6bc8b135757808430f27f96b35b330cbe818854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db7dfb3c127a8baf682207fd5434f2ca787c8475a5d64aeaee3b89fa77303b6c
MD5 c04baa8bf161710fcf443ba238f446ed
BLAKE2b-256 4525ae3cc84187132fb7723562196c1b1d4458d67b3698520b429706bd8f46e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607171833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54e016221fb2a09b87d0d6f436254c4759d216c96f6dfe2b62de88bad6809d9e
MD5 cac254b40e8a0f40463d11f2fd468f62
BLAKE2b-256 c73db809fee59211b2ac456d01b034a6229a0bfa127079c29aff74e2deac1093

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