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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-py3-none-any.whl
Algorithm Hash digest
SHA256 6058f1a2282b83f01342b23bd6ad6abace8bfc61501e14f39939edb055e19a4a
MD5 c09f3eee62d9f75ba56b33bdd7252c8a
BLAKE2b-256 9bf967bea3e95973616363c048d0c7b17a82b9fc83d626ea9bf4e4f0aecaae98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6471b620adb5c0c981f696c14be61537e0f16cf53a2028602be120b605fa6a6d
MD5 87b262dea6f31a80a454c44912349543
BLAKE2b-256 11eecbf65128be6c05cc9aaa66188aa294885fea0becf0ae4b7e475ffead79d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d245604096b93e9d6cda6ee46320ded555eecba86c120b08826cd121391c592a
MD5 be5960a9daa4637594625fb5b1a9525d
BLAKE2b-256 7dbce27098438771da593ec1495efc79260d57dff3448a5e03f1672fa4edd8c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1602ef6e422a83da20b09007e8728245128e8f883231e365cd89ea30356bde58
MD5 f674483e35c670be8e3bdfc2ea42a9cc
BLAKE2b-256 1dfd97d0f1c0c29eea1b59f56e073d9f06d2ab1def8b47124501d15dfe3cbdc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 993f0d37dc90a4a77947210f4d32eb61293c2e33c77df617d3e49de39dd0ad8f
MD5 34fd09a2c4d0a29e718cd4542bd8a21f
BLAKE2b-256 0b3a215514a27ab23e20ee13d17c1a348719c7598ab5fef1c4402cf94327775d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c6720639330a97225be716ba15610e34ca7318aed4b1cd40b6975b6fcba14d5
MD5 6b897e54c166887c728102095b5c0c5e
BLAKE2b-256 52d4840b64576fd2698727873a51e61f529215edfe67fab3a62d5745dfee2a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47fad55d7cd315740a72b7937a09dbdaa591c5edef44f4a51d1f534d4b4e52f6
MD5 58f103870b77cc3b77c46aa40eaad636
BLAKE2b-256 6ec0a810c29d1c8c2eb81a58ed002de81fbbfc5d5d5363444b69eb1cbe722b2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 619b0f53304a335dba8193b0bff16bc56dcc34b6edff17261a9c75c3a1555d75
MD5 6a8361e3570b155ccf52b148a5399d29
BLAKE2b-256 1b13391110354fd9aa1023e7169549c2a64565310c23a5413b95e63d45a6cf30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5086eb39322ba2fa9be9d0d837e96ce8764b8f0281d68119411e79ec4c66f78f
MD5 ec9e870b03cb05c8b9f7dadec77a22ae
BLAKE2b-256 a0c72939e0e6f12e6f50e5fb7b47034c0d7c8438e3d5465c7c9123512eca3184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ea0fbc29a735169bf3d70d644ed2635d6c402b934b99e046b5b5421e5f98e43
MD5 87c121ae54aa870471fc6443706e1712
BLAKE2b-256 d23eaa43e8126ab1842582793784c7f284088000f9f42892111927f247585a0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 74f7c0640dd10d155efff781f684d138e71f60349c6d8cd2aedbc30a884429da
MD5 7a0e0dc79b92755551745af0e65db17c
BLAKE2b-256 077028c01decd6b99abc863b5ffdc7be86bddb832122041307d738378fbe050a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36ed49630dd3dd4bb63b2296d7f88b0be2bff92508c28d622b3556aecd6ecd2d
MD5 e522681323c65aadff6ac8ee0dfaba4a
BLAKE2b-256 8d1ac54ee92710349b4c6f648495b459edc69b62a48d9d07ee49fe8e3644e684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32aa45a265dd42fd8431b9b229a0c769c492fbd6e013f0591ed237450b54d7ab
MD5 cde3240e0686ceb40dbc49bdc0b3e2f4
BLAKE2b-256 f2143d897f53a0b9990d142028497c45bb23126153965c7812a4c2cebf5c83b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 68ffbc5712646dce7c1f396daac36fd97209a0c236d6211fa5151245460d372e
MD5 4085332f0a35637696e01cd0f36c6d44
BLAKE2b-256 00a38379d8f239d10d440999204c7af620d5417a4a3c4695bb2b6fbd87b721d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f6b1e026ea0646d205e17ae1ae71de92ad54b95d7b98b3c802e3ec32accd532
MD5 abe85c51bca039ce63411969ae428e57
BLAKE2b-256 8c76d1b8fc129efa7abe1ad59d50dc7583a307e753b417fb4a7df397aae32686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607151833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d357ca0a54cfe074144c6eb8294a74230e9c1e5237789b52479aaabf466d761
MD5 c5222b1d085288c2d012e4ba08e6d18a
BLAKE2b-256 2046c86fbb5cfa93b215837c13491b609374174b249755256b5671dfc0992b50

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