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

Uploaded Python 3

kumoai-3.0.0.dev202607131832-cp314-cp314-win_amd64.whl (619.0 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607131832-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.7 kB view details)

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

kumoai-3.0.0.dev202607131832-cp314-cp314-macosx_11_0_arm64.whl (420.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607131832-cp313-cp313-win_amd64.whl (610.4 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607131832-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.7 kB view details)

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

kumoai-3.0.0.dev202607131832-cp313-cp313-macosx_11_0_arm64.whl (420.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607131832-cp312-cp312-win_amd64.whl (610.4 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607131832-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.8 kB view details)

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

kumoai-3.0.0.dev202607131832-cp312-cp312-macosx_11_0_arm64.whl (420.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607131832-cp311-cp311-win_amd64.whl (609.8 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607131832-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.6 kB view details)

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

kumoai-3.0.0.dev202607131832-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607131832-cp310-cp310-win_amd64.whl (609.0 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607131832-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (436.9 kB view details)

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

kumoai-3.0.0.dev202607131832-cp310-cp310-macosx_11_0_arm64.whl (419.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-py3-none-any.whl
Algorithm Hash digest
SHA256 adcbc0e1d1f3f2db05d867348c51466dc810b09c7ea021a1ab14912568215b7a
MD5 9593f94c5e48e4dba1891a4d5dbd4292
BLAKE2b-256 57fd9d145ee98d5992a049b97de4c255848f74e2f1316a526425b99c6d387420

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 70ddd556d2328effa5e92868464cd62fdfa06a5f39e8ecea26551b649368e1cd
MD5 579b5d9d1b3333e098e43ee849ae5397
BLAKE2b-256 c6fa8a716f321245e6d643fac1a3c66861ab9562a1b442e4480e266adacabf45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a99a436bc23a2485620826f720d7cb9d8fd8b8b73d341a6eca2ec84392005a1
MD5 afb7079e35c51e7860ce837f24a85682
BLAKE2b-256 deac957513b2928081a8088f9e4cd861300f02eabae6ee23eb30b51ef189871e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34125f1b4fe09f520b8f22a0741e58adeabff69810f39e0d4c5d1f220c81d05c
MD5 91a6d53768d2190fc1a3a58a0364b8e9
BLAKE2b-256 1aae56779e57017690e1a440790363114557bad2037a391e4c465028f507ed45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6f551625e74edc0074b8aba92554360f43a2a80799a8e1cea3241e5dca7c2bcb
MD5 fe4f504d89559695a46f60df95a87e17
BLAKE2b-256 ba27206c1d0480626306ff7f4a418b4784cbcfaafc1c8d7b47144ce07d667c6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a8a384984610e302b31749a269214921e0468bbfd228138d5a5006fcc1a37f3
MD5 0592db31914f8899a540ca5db5e94972
BLAKE2b-256 19f5996217e811d3cee1387a37382374b61ba87969cf1b5d4ca9b78777964b12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59307d36c8148a9171ff96fbdafbf69afdd34dda5d5968b3a7631711e4def094
MD5 01d7f1e0044f928ca4395c72555f5acd
BLAKE2b-256 a4ac11decc71e33d7063506a59e4d976567d42ce8b651278be74e79394a47055

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 83de33ccf5cc9c6a3d7e7ebae558b3299b47b9734faac72bfb73fcc2d69f4ae5
MD5 1284fc5e5fd2c0191654f9ad651da5df
BLAKE2b-256 167bb47294e5cb7a9ccc1623433b14013e815440494e5e9740bbc65427a079cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46e08ddb3d286c2b9c323f499648adb13a162f18fbebb26fd12e389c6a828d0d
MD5 8e389632f12a6e5164529786dd9440c0
BLAKE2b-256 89feec3dad61b93d736cb87707d82c56139875553b095877b6e5f4c82ebd3f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a742ef33d00530d636de8179651dd9d6f69ab034616595d52af47c6e5df443cd
MD5 be084c29358188c38249fb97a3508aa9
BLAKE2b-256 dbb688e47873661d1dc0552a14b21004927b4978913c1569777127f7310bc7ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2e95de1fb453e9eefba943c2da3bb61b91ed99c01907b6cd363e29a9e9be74db
MD5 d2252416dbb6bd0ed6b14baf9fb246fa
BLAKE2b-256 d950775824110ae00bb4a6029009d4f104f6f0bb96a0804e617154528cb908b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d8c4c86443f1f81c8bc4a5ef2ce972699539930d09c1478f08bc7d3599b887bb
MD5 0637694a6009a564ba2415f380536fe8
BLAKE2b-256 46ab9e8563024e79a5adda8aabf86e91bbd8bf23f0a20e8fa02f43f0190ff72a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 66fff6ed638b30aaf8cf434db0dc1f02f7870fbaaba5a1c1504eeabdb3a7b1a8
MD5 b3c6c21a6cc97b60be674987741c0720
BLAKE2b-256 5c0726a7b95f5c10d4651de3d783dd7892979338e41fdd7c82522ce0f462a6c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4725474d1eff20dc459c5101fa095a712ca0488437c5effad3a2aca902a40a1e
MD5 6c8852a3d76576ac006459f988322eb7
BLAKE2b-256 3767376a8605a8d1f9bde0cba2aefd82ff7b6670ec8054cfb0d05d4b69fb539d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa820027fa41a3e18d1822ec1899931e7e9c3ab5e0688c499653b9b2d0a69ac1
MD5 5347fcbe0ac450f9ac5f2e6e6b4488d3
BLAKE2b-256 4091437ad2512741732bcbf8fc1acb5187582c122a78b25363482420a6abfae3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607131832-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec93beb49b3abd4b0a9b1f721977ab2bba854ccbe819a1f91735603ba773b9e0
MD5 97c9fbfa2eefaa2999cdb700c121d7d1
BLAKE2b-256 d05facc54b81c424af66dc5cf51f235ed5f1f66a320eec55be36779f430db979

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