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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-py3-none-any.whl
Algorithm Hash digest
SHA256 47829815995a59c67ca4bc1b18731ebf0915d8a6f11fd71c165da3b1c5cd6222
MD5 de914eab32a5b34a3e9d7b15b2db4e50
BLAKE2b-256 35fa74e0bd623b6a04dab23d8e815c04678d37e01644a452c92da111d81ddbd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 79cfe11c7cff1924212e8d08dcd9e78381ad33ec799a7a5035d9832d0e19cde9
MD5 d4498ee54123dfdac40f20078acf4409
BLAKE2b-256 56d7efe667f08c7e2771dde5d44f19f3dfc10ce6319a6a91082e2d8df19f3236

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e7776336a62ba65cee62770dbfd93c7e4c4285efe18d82f2fb9bae5737435ff7
MD5 e84d4ea9c9cc64b18374bf7165fe13e3
BLAKE2b-256 25cad26f7c3311a9615ffc5a119b027714f8da1f467330cd07cd7fbd7edd5c80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d88811e916367d03f36957be4f2d5e98841b8365ae812a731ebaa5c8729db78
MD5 08cb24b13f4cc96b650ddf307687a96f
BLAKE2b-256 d4cc462310727c0f104597a8b757f726b22681583a6a7cc33dd05f7444879200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0677d542d7ead89e4136846551f73cd0e0cc2eaa0f851b307ac88018a0f17fd3
MD5 52719d60c00fbe852fc3bf4332e2215c
BLAKE2b-256 2897638d56c892f2f66ab0a2296110f452cb0ad036268e2998fb61ae1ea70c7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9721d88cf602735f7dc2b67e3b6a24db17085a9ca74276880c44af35f1628d0f
MD5 2125e343652cf75662dade2dcab3b1f9
BLAKE2b-256 aff4996b8a3c90c4d0c2e183b6034ab511d534575cd950cf340f5c1fac64ca43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56e33dd41e958cc6d3bfa2e390bee4d2cb4a8273b46a58c60117db96ada068d6
MD5 bd568d5e46fe395b8291a193d2cc5ad1
BLAKE2b-256 bc64e8ce42786d7b19ee3ee37dfd5d856c71268d83100ddeded8f818c641a3e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9df6484e43b2f7b5a7d4d174543afefb420e109793905da2ddfab1895b2020de
MD5 6065623c17311a3ae3e5ff9133731eb2
BLAKE2b-256 f61e77df8cc75b3991bfd48d9bc323aeb46e451392e649496d59ddf1b1052686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cfd39705d8495e2470b1ce84d3868fea44af4d7571b0d3e1e5f2ea3d39443647
MD5 578df13adf76c0ea67e12ea0af19f3c8
BLAKE2b-256 8539e3c46ed4755373a99ae2267d02bd3e4f31da32ef83c68154ef146efb71a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b2aece8273ef5ed12a17afb9c6ae420684cdadec658ade503aa2027203681c4
MD5 c5a896f5f27e6fa22183bf8d45749617
BLAKE2b-256 3a9cc3fe8be081cfb6a1213d035c62700e0a010ebe945783103184c8ba86d4ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f605bbf0f98bebe82953dc36b90cfd502a2c158d7baecc6df4292dc4e7021054
MD5 1a40b4d490427a5d1dbfe974fd39f87d
BLAKE2b-256 1fa61a1825dd7bf02f525ba347ae9a0af6c2473b6a99e2af2dc3d64b124a3caf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1f349a6f9f19bf8e38bfc90085ba8744178e9ee87c7996701ec49a1bf0720d6
MD5 885c1fc0c7054e056d32ba53e73df2f5
BLAKE2b-256 4ea12fc7a0523be06f8c980b1074f6dcfde721b8ec80ec3c18f535d46cf5da9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32196b3488811a18909b4ac971570df7f83f5d068a890cfea06dd591d54b9a7b
MD5 a5d269181c6bfc5e4afe257a909eb306
BLAKE2b-256 06d484845999a9043616946910936b58157ef01224e5ec84f1bd7b55c6abcc94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6f1fd1a87c439368e0378f3913f8c236dbbbbc16748c5680840dfa99ed6aad24
MD5 f3400bf4883ef1b2ae9743b740d3fc4e
BLAKE2b-256 35960875081f95911dc15f4674ea56b0e371e8a812c03e981865b10ff6b58cba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7a13c4e01668c42e6045252fcda0dcaee746b461419b88111ac3e65ffb0155b
MD5 3ad2e5a10c3c367039d942a8ec027b30
BLAKE2b-256 df189af99b24f781f4b18c6026b219492a444664d64178f6e83e92981cb22ead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607201833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9bcb6b2d69814bbf1e24d271da0d0f6a2d00e36c6ad5257c90ec6664f411754
MD5 6c75b074eb906d50834655cb2a315253
BLAKE2b-256 5e057818e972b8d7cc28c1d22b2acb2002a8a7a026ca96e2132d26ea2fc65930

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