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

Uploaded Python 3

kumoai-3.0.0.dev202607121833-cp314-cp314-win_amd64.whl (621.7 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607121833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.4 kB view details)

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

kumoai-3.0.0.dev202607121833-cp314-cp314-macosx_11_0_arm64.whl (423.5 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607121833-cp313-cp313-win_amd64.whl (613.1 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607121833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.4 kB view details)

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

kumoai-3.0.0.dev202607121833-cp313-cp313-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607121833-cp312-cp312-win_amd64.whl (613.1 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607121833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.5 kB view details)

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

kumoai-3.0.0.dev202607121833-cp312-cp312-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607121833-cp311-cp311-win_amd64.whl (612.5 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607121833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.3 kB view details)

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

kumoai-3.0.0.dev202607121833-cp311-cp311-macosx_11_0_arm64.whl (423.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607121833-cp310-cp310-win_amd64.whl (611.7 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607121833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.6 kB view details)

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

kumoai-3.0.0.dev202607121833-cp310-cp310-macosx_11_0_arm64.whl (422.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-py3-none-any.whl
Algorithm Hash digest
SHA256 cee95099b40d65204a9ea077684ee7a4ba597a66fabedbff08c57b7370323044
MD5 e98763649692fbc196ac2b872eb34c1b
BLAKE2b-256 9905d0d9d4ebbe08144a1cccf11345d82eda0d8bf995a226cc5ab44a8f3583c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a72420eddbe4b4a21f88751b8102dcaba77ca63fa7cc33f1aeaa173fa60e6e50
MD5 b3dd2aa2e4b11934beccffb8fd51dd7f
BLAKE2b-256 604ec6d8c0b48b103af7ab88157f452887c638ccfe6a6b743a67b0a28158af0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5559d7b81d72ef71991d3b543c70d0d22e31f6851d468bd2ff9751b32ceaaf6f
MD5 9e94f07acb93361631f84b4f039bee41
BLAKE2b-256 50a014c5b317d2a4a75ad666b189b9127f32a2c6e7677fdfde3baf4d193db1cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 267a60fe745e2480e17b44753dd8070e836fbe4ad225439e379c974bd3f0029e
MD5 83210e26cb7567434fafc301ceaf57b6
BLAKE2b-256 2261e782e9b43527f97dd03a9480eb0a0ab8850f4cd31e2bcb28a0825b5e5eea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f66593219d2d7f92c64fae792e0a243fab06b213ee403a2d55a28e51d78f6fab
MD5 343c4d29a8609e151b445def9cb0079b
BLAKE2b-256 aa12840661397cba1ef14f7437dfe993eed48d4339beae9a09b00e5136710b53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2c08ed96a67394e30fb52ed62a5726cb0eb6820ae3e60f9a6915bd75d203cac
MD5 90ecbe3b3387acbadc67a1f32c3f3ec2
BLAKE2b-256 276e2987058896e0c12afb0ae00d092772ea745ac67f0e3a9542485528165a7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8d18dc914191bc05adc626e6a43f70bcd5b3103eb2378e009378da19228f684
MD5 aee3af298e9549e491c6524c4821e0a5
BLAKE2b-256 b5ed96675bf02261e4a6bf03e6e97c54138c834d2e0a39d4069e6b02394e8cff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 05630970651fcb4d13ca2828742434d5c7594baeb92742d2ff557a70bf45d634
MD5 713e8392e7d74f2ce7e3c2aeafd892d4
BLAKE2b-256 8fa35b365f4e44abc582bdefd8db48dee61466a1134f166b08b3b9b7faf809be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0b48c023098dd195acf2d0e147861983b55ddefed3f301f2077355c55f6575d
MD5 c46a4751c4d0565df33b9e71136b819c
BLAKE2b-256 db7a700edfbcfbc76205b61ada64f59168f29c895c091f4a7cc4262fa7b2a60e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 33e2b8b28d4796c400fbb4144bb190e092d6946400436149a719769dd43c6f69
MD5 fc050e7be96f6fe3433bd82d533f8b40
BLAKE2b-256 2d7854718aacf04b18abd9ea1ac4073db53550d0a0b3292e08a2332f9076adc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7137b463ad365f3e17c6aa2c2902756df5b02e55c4ac3f1764881250ff77a7a1
MD5 31484994d7a8d85a952e648b820505a8
BLAKE2b-256 859639e08777204ac47c62978890b43f40bf40cccc7e22f1e4cce4f03783dc13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b92268b8e764d7c45b6f01ce4a5e060717839382913ee3da72a8a3c4f0674ae
MD5 8ba3c49887d0c83b687c67130b215d69
BLAKE2b-256 7cab9af98ca053e53d91cdae6a23630c0fc325d0c4104277c73e84df43eef502

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c9585d49da44181317692cee05a6a334d4993b301218423e6a92d6b082fcfc4
MD5 bd1b388bd3090c2212918a0edadad793
BLAKE2b-256 266c5335f2eb29defb01bba6cdeed7fdb5b7d56bcb0a8bb23e5cf9a6f12af48b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 57900ffefd2ba1d931ad4622e816f6f37705664de22475c7a18cf0630931ecde
MD5 f9e6684b599c0ef6a5d1dda9225a24b1
BLAKE2b-256 dd9774212b5d4b01c581f0c9e7e4f1bbeecf5c2874c277df001607fc867a0a78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c507f96a8d304fcfa3e6945421102afd531898fcd6d52fdfaa21c81d7a12892f
MD5 11c20c070581b771b3e52fd86970b65b
BLAKE2b-256 09d2caf68880dd404db66f8e0def05b7719ecb3af8501bb41c59f63da29b10a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607121833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac6d4ccdcf4240831cfaa856b6114deb85cbf3818e162131edd8355b27510e77
MD5 a0f966ae8229c3045622c4c876d23169
BLAKE2b-256 c050e45519b29fe8d1d3c303ae979a34e833332c25c6f37518003ed2212a0409

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