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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607111833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.1 kB view details)

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

kumoai-3.0.0.dev202607111833-cp313-cp313-macosx_11_0_arm64.whl (421.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607111833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.2 kB view details)

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

kumoai-3.0.0.dev202607111833-cp312-cp312-macosx_11_0_arm64.whl (421.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607111833-cp311-cp311-win_amd64.whl (611.2 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607111833-cp310-cp310-win_amd64.whl (610.4 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607111833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (438.3 kB view details)

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

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-py3-none-any.whl
Algorithm Hash digest
SHA256 42574b8172c26693afde4007c6b4d12232f11ad37a95f8e4883b5a3e14651d77
MD5 6450c1f563bc43aa2efd948da5c986d7
BLAKE2b-256 83323e37d126d68874d19313686d48060343b6c1b722842f38be6f635ddeb7fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5ee2fec107d170610d9df3ca42e2248912e3761333d24c63e179e67e73af40c4
MD5 691a0509733030047e101550be14be16
BLAKE2b-256 8d2a0c96599451df8345b24f0e7f07d126f1fda7976251826afd3fba4bc98789

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4c95ab970aa193b0fcdc37bd90375e7c4fa09fc47138af0505fd6aa606d6aef
MD5 b6665042f00b73cf526a28c3d0d2179e
BLAKE2b-256 02d0df79a2d1ce66ef94cb3c426fb6350d775ec609e3cd6539874a3ba6c02743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd58873a88ce6e73e31b4cd50dc35a0957fc7aaf8901b9548998c6a4e89e73e2
MD5 6438f730330c13e69ce7aa9184f530d4
BLAKE2b-256 a330da7f19c072b831ba4686c56d64a762ce2bc06001425591abb7d1504573c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e8b49bfc198f059ff75e09df44c8cfcd06f6f300ac2d62525e68430236031cda
MD5 baa520ebfaf9bd7d02c5b7feb716ed7a
BLAKE2b-256 6092cbb9ffcd13f63baf818c2807f0cf496baa8337a8d24f181d95d71514ddcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f55fd10e0cc50107e8f873c938aa1e5db994dc270be74ea743af72fd266a9bd
MD5 3d232d9f0462297aabbb1a32a906e781
BLAKE2b-256 008e0adc827d5a66ec59461ba573d1a0fa3588137a107ce8b620db827c65f103

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dbc1acaa4abdc2568faf975ceb66849f8fd6867cf54d35684a92ddd11c57e13e
MD5 ebf51e41e839e6d3a471aedeb03e66c1
BLAKE2b-256 c878bf4fcddf9c7fa4df04ba7d574338226538ea17edde1a56c0daa50255ec40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c2449fa23dfcc6ac71ede5d374e704294b14b2663f32d4d18dee992d9232755b
MD5 28b77ff61b258362c55492d15b7319b6
BLAKE2b-256 687f37dd2003b99319da6fbdbbb1172ccb776c70b719160c8a4f086bcb94a070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 370725ad41d60223662871babd01ef1456a33ccdd7d650a393bc6dd27d50efe2
MD5 4253d50f3e816eaa1e83ca93136a3996
BLAKE2b-256 9d9287e80448985d3a688afbc6287e66c36f28096c6f6ad87450c9f87de5c432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c7de5503fdb99f3bb7e95431fa26b876636ba2a5cf222cddd26b7a0eef4d833
MD5 747121d3ae7029198e6940acaa995975
BLAKE2b-256 1dbf410dba9ca72accf0a42f06e0165089a192930315c0fabf4306074d1fab71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6e407557fff74149779afffa5f231413786aedbe5a5cdccb479ec7de3346bb77
MD5 d5058613a0f1ce4e58221ebdd307168a
BLAKE2b-256 58ef17f1142fdbf3e9f57ea2da2853f3f58148cdf95528409fd873dde87e176d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfaf587d7a42fe398e330a1a826fa6bf166ee1d832f0a709d4b18db47fd9dda1
MD5 210e4c69b6655fdad3e1116f0181397b
BLAKE2b-256 a2c1e0ae085732233b681731d846d615ef3a9a356761092466ca440fd3aeac9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9322d8c4611b37786d5cae2374fabcae34c728a226c8dbebe2819833ef0fec75
MD5 8d52ed3c3235ae53db667350949b3722
BLAKE2b-256 db3f1bfb69574c05a553ba58a5fd47a5f1bd5ac242b60ffe998d8b864ec7ef5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3beea0d0282fa26efc7bfd3c5b728a5f41bba9c752e37a82e0c0cd3c05303dcf
MD5 7cfc04db285a07a1bb3f30cfbf7b5be0
BLAKE2b-256 cc88d231af625eee98b8d6d733190d8bb9fd9aa95cab022c64d06edc767f1c36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bc6d512880234ba8f04a71be788a829340b233462ee4a3fbf41f82fe7acd712
MD5 2a3bd547733dd8426467c597d9a75300
BLAKE2b-256 5b09ae80ef28c41650924f179e7d010f78a8c94a4bf25af77a843ec68f330a73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607111833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2227ba65fa4b4d1b148f72515baf6fb658ff23ef2974960f357cd095085cc9cf
MD5 0b7fa4797a8d4dd78c92e567e21b804b
BLAKE2b-256 ae1d34b3bbe79c2f7a290bc28cb3d532b7fbae5802243ff1f1f17feebb209a0c

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