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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-py3-none-any.whl
Algorithm Hash digest
SHA256 5a3f7e5798fdc0cea4b38335a912766041ef1f0b61ef07cb12789f82ab96eba7
MD5 0b42c193c5d166947508f6800043e048
BLAKE2b-256 1a7d90f25c2bbc562751fbe7064d8dda398f7e6d88c20272f99e0013ee2811d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5304d7db2cbaa38b4c4fd501a847f95f452cff273f79a64f5a0bb082359b73c9
MD5 8e071e18db9d19e8c9972b8f1ff7dd2d
BLAKE2b-256 0384c3da40b137cd08e2830f6ae682b85a81a8d9fe1da1523a392994ae0a1cf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07e8531fabe673bb74f0517b224f85e10dc0bc2fada60156453a2b1ad0b01b8c
MD5 6a49b936f01f327aee4fc2b397fabbe1
BLAKE2b-256 315777f722c500547a006aaf625da7f05684ededec393a84f766e98c4b0a9899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d2b320a79e5a18874de991a2584adfdfdde8c92f391f4ff902a62a0cc6a1338
MD5 3fac11e13356f2087c4f78c526976de2
BLAKE2b-256 03774cb642e8f1efaa6dfc14eaad5b60a5582356e95196f91c4ce276c6028d01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9716b326a44972c26845723424ed2262f7d7f09ba163dbf785d742f3772ddc19
MD5 953d64dff943ffa9f94d22997976b3d2
BLAKE2b-256 0b1672b8a89044466701404479d4121358ee7f8cd5faf57132543bb0515e7833

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4057ed4f75881b8f3304042047cf290dbc1c52fac28687c2d20c259d740409aa
MD5 b4a32d6336ffea2bef35ef18d931c9ad
BLAKE2b-256 d325b0fe0b68ab60b2352698442748e813c20b2f7020c8ba6dfcf9dcaabb6257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5f737d8823bffc9345914b91058178803a7a6274a2a49ff056f68a9a0cd1f89
MD5 9ba2e30675d164d40f9e616e5f91eb2a
BLAKE2b-256 5044c6c0b44d9ef6cccdd04d6a5f7812053c65618e64c1d30e9d8b8722637e3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c6d835b6c9ba174d8f38317b3de42785d50d7b696108c236f175a6d25221caf7
MD5 5ae654fa2a49cc48fad78abf48b9c1cc
BLAKE2b-256 95419c36ea86d9789c95ee1114676a440253ccf5b3ae0f58c5ab5ddb52f8f49a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d4043e70a83b0b5753901f5a5eedbb58f20cc85739b5f815c61170553095a38
MD5 a242c425a63565068b030c7af7cee05a
BLAKE2b-256 9efa3f79a4f9a5f2e75b4eccb317df3765539080629cdb65481bc21a989fc72d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb289ff2e9b2e6369b55bcd22b9d1e46cf240c95cf11e366209d8d66274dfba2
MD5 0072685322037cf937cf5ac3d4ae04db
BLAKE2b-256 21ecc46034b65361bee0870567a17618e7c5ea69aab6e4047fde66a603799777

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 06576fe37bdca14a5039cbee6151fc9a41ef5defa9b1851b1674b73d64d86fba
MD5 623406a6cac289e7fa8a8595bf7c4471
BLAKE2b-256 d8e74f0004050ff91a3467481c8f1f97cb54dc1e9d5f20c9107a7c9e64a4c5c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9182cda5a7175aca85e33a64438dc07d59621e9b60de86973e84326170813899
MD5 55fed645f8d8c75fbea769608da33110
BLAKE2b-256 42ec4e58087c43615560926a07bf2a6deda686f5d1085df6c31553124d6ea4ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c33f1e29ed836245f7b0da3aa51a3fe279cb7e0356b5eb5812a738c4f41690dd
MD5 8db92f12d466496cf18b382a57dcee94
BLAKE2b-256 63b13ba1648f704f09ed53eb85312813fc4e0f208e1002ce9fabd4081d283528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e753912c31a2a9e49a0f0aede3cdc0ae305714fb41aedbafa65efbec51dda8d1
MD5 b6addc3973ffad5f7d168ef70ed45d70
BLAKE2b-256 6efd7c81fbd49652587d2d19a91f55b190b4a6876527128b3130e84dfe9d5f28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b72339ef05a5b594b5c0c8873816f4e218a4e59ffca676bcbae8e84a7935a06e
MD5 9a8d07cfc6498f9eb432357db2f53d9c
BLAKE2b-256 de350373176972839ec2a468d9042a293cb36a71ee606ca5a7602ed4b5fd2191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607191913-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d1c30ed2ed635d9e30e2bbb804eccb11299132fca4de81d2f8e0302067d322e
MD5 7b5d41250782a85adebd76ae7ae6624b
BLAKE2b-256 18b2ea9a0720d24f9ce232ea094cc920e3e6fa1826449c7ffaf84029a1985f89

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