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

Uploaded Python 3

kumoai-3.0.0.dev202607071833-cp314-cp314-win_amd64.whl (618.2 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607071833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.0 kB view details)

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

kumoai-3.0.0.dev202607071833-cp314-cp314-macosx_11_0_arm64.whl (420.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607071833-cp313-cp313-win_amd64.whl (609.7 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607071833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (436.9 kB view details)

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

kumoai-3.0.0.dev202607071833-cp313-cp313-macosx_11_0_arm64.whl (419.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607071833-cp312-cp312-win_amd64.whl (609.7 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607071833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (437.0 kB view details)

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

kumoai-3.0.0.dev202607071833-cp312-cp312-macosx_11_0_arm64.whl (419.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607071833-cp311-cp311-win_amd64.whl (609.0 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607071833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (436.9 kB view details)

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

kumoai-3.0.0.dev202607071833-cp311-cp311-macosx_11_0_arm64.whl (420.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607071833-cp310-cp310-win_amd64.whl (608.2 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607071833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (436.1 kB view details)

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

kumoai-3.0.0.dev202607071833-cp310-cp310-macosx_11_0_arm64.whl (418.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-py3-none-any.whl
Algorithm Hash digest
SHA256 694b7ff3d0eb54209ebfafe0129a71492d004ccf27db6765213c23cd03acdc6a
MD5 b3063fa3fc44a005e09b4ade473e84e9
BLAKE2b-256 03a90282abddcd569f0a14b367fc623d479633c859999efbb7586fd1dcf271f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 1214e2fcce50555b0b017445d189197b1ed59494d65b5feb74f5dfcacc08f378
MD5 f7f7737523faccf567b0ca003bc4f149
BLAKE2b-256 bd90b6dce86e34955d97f06d78352064e82d5b91671afd5708612bfb0db8eae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7804c2772520a7e58fe4d38dd328fa354c77ec29ea4e075bf6e0e96b4a8f8744
MD5 e024a125700c79354dcba7bd603961da
BLAKE2b-256 67216820b2a9609489cd10972cc948e3bb56ee342e953ad30bc58d6441b8555e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3a7e78cb01acc2be1e7686e07ce13eb6f6a0186996c562a4675331e108c5b24
MD5 1e5190afa1822ca2e59854a5602534eb
BLAKE2b-256 77e54914f715edb761902691be367d6902dd20330f6993f7e44df1d973c03846

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 945b502cd4b679636f28e251d59b8fdaf5f9fb0fd55119da1240f936fef09f0e
MD5 c2c150960fa69c40966e24e07d21b9b3
BLAKE2b-256 413899b545218f7d9bf862f31a5056439a6db3dd514c1be88dfb7eaa63b71637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9253172c6ad699c7b5f7848b80dcbac2539e9ea6951c22f856189f7f66be0895
MD5 1cb2ff3706011c1e759a7fb2b3c390fc
BLAKE2b-256 533ff12da282050e7fd2565cb2082c3c0c826a3540e1813d921ef5f0e8b419c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89cfccc2dfd7b6a0d648c74da5c53da1c848a589d8de637151bf1246e051f3f5
MD5 8f6d6433ead1a2a3b0e756c0728bea35
BLAKE2b-256 ecbf301c22dae74d5a859b0a858262879a9b440d2a8816c83b0368f86bb81bc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eb7f87e0b162ac92a6ec485dbf8f6581cacccc56edec5261ee3cc5b04f722611
MD5 b8beaa92e95d288a90847d80b37f52f9
BLAKE2b-256 cbcd95fb9e7bf23277aa0d2c8e94a00a99fc30265b2345d31a9cc30e7e2dce30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6dd69facee4b4e62ef4b4d3bfad454520cb7874a154d7609968ac394c1ea2bfc
MD5 49e1335b9dcc21668824ca3e53fbaaa6
BLAKE2b-256 0f65628c692b1bbf2146d1327f5fc69354074cdd33c2d97af4f82bb118af8651

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93769f5ceec9014596e62a1cb6b4ee70a39ed61f98e39d3917a1a28339e1ace9
MD5 4e60a11a3ae2241c287da1aa512cf7a4
BLAKE2b-256 579d4db039e90746393436f9863fc5ae2f13921b80b6e5fa80f0ca22859b2bd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9bd00cebd50ef4df37701d1edb2644f83310b886467c715767b9156aaee77dab
MD5 9e4a59a2aa9ed8b1e5e584c999706fa5
BLAKE2b-256 49043ff6e74d38bbe5d73836e7aed6ae33ce712fb648bf0ddb504c92a4c3769f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d1bc6aa993cdb6628485b57ef593ddffe71218fb9409b670d3e190914daa2791
MD5 4c5eb8f7cdaecf63dabe119e70426e83
BLAKE2b-256 f9a22576e9778d372109a7c10ca41179c49b56378d04388c5384116acb1245aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06dc7b9d4c2409c47ba158fa235ba9f16ac97ea672913f2d555e0f6ab2feea2f
MD5 88f53aad7df64a4af79deed01ca23d5d
BLAKE2b-256 0402aaa5c70ecc5f05e26ca9cb21487b3b17a533db39b5ac3b68de0e2e6bd5af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e1e81dc76d46755d0b03898a740a7f9aa4acfe5f47fc3a7500104ed1266aac74
MD5 53804427e07f6e2d5ca44a5c61d820a9
BLAKE2b-256 ae599be7ec90ad402bab96326654fb11384982c551db3d9ba253bf17e1c0e71d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 731cbd537446901ec89f02eed1df9a96fccab0226a405cfa25c6f2c34df53f65
MD5 773f8a08c295f736644b8808ecc5e293
BLAKE2b-256 66947cb54f58ad1ac3b6066f8926d44822403ac68a16f95a4e39a2dc7149ef5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607071833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea33a5fc4807a6fb12d3a69cec0bc80441002df266ce6612df73b35663825ddc
MD5 775d8a0be822120713f07bd59f827948
BLAKE2b-256 aedab64cefa903869a79b7d8111d417924fee3799b14a2ab57372624e87c5337

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