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

Uploaded Python 3

kumoai-3.0.0.dev202607141833-cp314-cp314-win_amd64.whl (620.4 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607141833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.1 kB view details)

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

kumoai-3.0.0.dev202607141833-cp314-cp314-macosx_11_0_arm64.whl (422.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607141833-cp313-cp313-win_amd64.whl (611.8 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607141833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.0 kB view details)

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

kumoai-3.0.0.dev202607141833-cp313-cp313-macosx_11_0_arm64.whl (421.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607141833-cp312-cp312-win_amd64.whl (611.8 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607141833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.1 kB view details)

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

kumoai-3.0.0.dev202607141833-cp312-cp312-macosx_11_0_arm64.whl (421.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607141833-cp311-cp311-win_amd64.whl (611.1 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607141833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.0 kB view details)

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

kumoai-3.0.0.dev202607141833-cp311-cp311-macosx_11_0_arm64.whl (422.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607141833-cp310-cp310-win_amd64.whl (610.3 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607141833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (438.2 kB view details)

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

kumoai-3.0.0.dev202607141833-cp310-cp310-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-py3-none-any.whl
Algorithm Hash digest
SHA256 6309777af9fe692d3d102d7b851a18273cb8ef9c5bacc6e9ed5b5e090a92d67a
MD5 b803e1777210c04cce6e1f09c62ae636
BLAKE2b-256 0b016fab14c50d72535107f8d0ba733edfa55566565eb1a75e3947e080af225b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 20469edb327cc87fa053f33ee685fd0461fcd031445aa4b411ebd32491134b93
MD5 fe92688424d5278a40368dc0561d3a91
BLAKE2b-256 1a6ff4f6ab363bed0407ec0cda9d91166b31c6abfb5395dd32176c1caaafceeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b67b266bcf01a6e5d332220974b22f07009ed69b4ce85abfb82e207e5334a70
MD5 e1ac9307a07e0306d3c49abf1df4dd0d
BLAKE2b-256 ffba06c5b2a07c5a2398b8dc0f9d14e9cc2a788c778456add3018904d4963d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 953dcdeeeb2e6e6d2658dec7432edb9cbafe22e3fc661f7637ce4a4c76f487db
MD5 fee84c048cc5aeb64e9a3973b37e8469
BLAKE2b-256 dbe6cde95718aeabb1f19e64ed8668c0a4ad835bff2d4564f0a0dcbf57f5fd27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c5bc7e20b009528fc0905ff1ed8d095854f0b67003e790aff4c4cc07a84ec110
MD5 4bc55f1a6328c9137438517d19094850
BLAKE2b-256 a8804df761359f854d6ebde846c2c5e28d71f3b574ef6487ea267f7a44ae3a03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 47fd34aa71ebd8d9dab9b497a7c10665c204792e75229335c43ae8371aaba63f
MD5 04ed2f96afa81517781e76bed7c1195a
BLAKE2b-256 5059c67f1e19545f821cb80e254e86cc63cf56c3e48780d4737e9f38fb4a7e0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d635ace2b084b8c2c67f2369567d9f586ad02565e97d65088cb7dfa773a356f3
MD5 a16d7255352d08d00ba0bfb00aa6aecf
BLAKE2b-256 b6a73c14be816ba64f84288097660b135afd9d354a984dde3fbb331daead3aab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ebd8ba640b6cc66151d807dfb215eaefd0ab35ab5fb20a1b9aad25f41c44cf98
MD5 c5545beb66242fd3c28a14e06d8abce8
BLAKE2b-256 7d4a5747ca417e7b302505dc615e956d0485d50c724735ad579a81d5c90d1734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25ee50c499ca5d7ce40274d4442f58f7fc8d75e9ea62e4e80aa8e75885eb63db
MD5 9d30656fd2d230fd62b899f7549a4574
BLAKE2b-256 83dd38ee3368f2cec7975796fa44e63d654ba2347cc3c65a6f32a442f369932e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 576e766737abe3219bbb43759b32a30df153ce4482ef9c2c4da4143afb6d518f
MD5 89cf520c29b64f90653fd2a8eb6a5e59
BLAKE2b-256 bb2c0adda93e95cc2fc7029e751d2c49de2b7597a244e958b8fb5252f72cc313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b85c96713d84e29ff3908421fd7fea5855a5fa42c6cd8afc6dd8ae5fcab7ca77
MD5 56f8bae0194e16a1a1305a44ee927ddc
BLAKE2b-256 1580adf7217c8f372a2ccf459f5682bf14b20ee3c959bcbf1e27c1afb8ad01d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89d65ef97a39563eae48251bc7c4ae59bcfc1858c48204c84a5a10d501a05bdf
MD5 67c42a092cc9cade9b593fc5bdddd848
BLAKE2b-256 6cd7bafcc20cbe1dbf524c91d30bf6fd64b0a5599de4851828c314deb805ce89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a17db84853c343e4324182064ac1debce372b594237415b866134708b2a2445
MD5 44ba614c3b25ff96caba369e824879c2
BLAKE2b-256 97f8fd05ba5979a7d9dcbe09f6ec25f7dbd65f65887f11eb698ebd87501626ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6af26281941627ed5e8c9cf10c56f90c29f1f60c2df1f05869b1f92b1798c559
MD5 8c25e8f9f55de2ff5ee99cdf0e726848
BLAKE2b-256 6f7c6750f8a792cf2dd38d723744e08ff6922e48928467390d7be31ed8881cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b004c69264550c6b520470ab2989a885bdcdda4d6652c720d487dcdcf6f5c477
MD5 26faab68af0abfaff1a400ac3c9d5ce8
BLAKE2b-256 1654ccc37d01b5774c9bdf4224c22ef24b2dbf135849b598a71171bef900027d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607141833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72a60a6f13bd3e67acf43274fc0ae5af7ae89bbe4eee19eb0764e4155e6f05c7
MD5 e2bacb19084b76146a1fa8dc113c4683
BLAKE2b-256 88b7a1adae90717a3d40ba32af8351c539fc0d1a2783a9cdee9873b145a3745b

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