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

Uploaded Python 3

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-py3-none-any.whl
Algorithm Hash digest
SHA256 fd9e95d9e6c369d4a499fe6ce4db74f8ed79272ce42d5d99d3af0da3c7d93319
MD5 6945edad8d2297173669e61cdd175f9c
BLAKE2b-256 be262334019c97f795e6359f11e3593b4f4269f34143e91ce582e0b73cebf13a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 82737161b50457cf1b4ee98a25e3be0c8d197ad60da0119f541a625ba9459837
MD5 c0c976baef38fda204e1a5988d568227
BLAKE2b-256 21df105e978d993454c93749443a65774ce48d78646ef0bde9f8482b6feef400

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a35f6a9449b0512d001a47ab106be23c267312e1e4fa9bb202a796ad28929525
MD5 6e172748c057d8a47ce8f34727712732
BLAKE2b-256 2e5b38d9d3d8b7d0ec351db2755ff271cb930bf7a332c08979d2f84335fb932d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9196a2cab0b124846798059d976882c0ffa9811923170f48bd231fda52adfd45
MD5 4ebd8793b16b83a091d44062e26707ed
BLAKE2b-256 9bd2521d978bbd28d7383ba698ddd9bd161158d6c91ace7630c864dc1d93a0dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ea42ecef410792f62a2cd6fa8c0e0d1b32cf4082845a4460538128f449f4932f
MD5 f21d24e7a89e714494bd860c16d3eccd
BLAKE2b-256 b66589c5f48fa425e0ade7c9c0033896cac59817e1aab0f49821891c180f468d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2a3050e476935356f71e25b056dac56b39f591b897e90eafae2600b176df1eb
MD5 7d50a8ec29aa7ab9fa5f6dc6077cad36
BLAKE2b-256 f425d1fb6bfe741613de5a209c89d8e864cbe6e9bd127384bad3884b766253bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b98bfd0762c8870425f5386517796d98d19512d23468560f148cd42dc81aecb4
MD5 22c504aa2754dce74d7155e597cee999
BLAKE2b-256 41d69f859b9187ab2ddbad623b0a6cc366b0d4fa7815bf96f933c2ae61a183ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 943e26eb4c554a1e93f6d821d1323840aca7f891af5a802e5ef2d076080fe0e8
MD5 b0010a6e4c8dbf0e97027ae0ce78f099
BLAKE2b-256 d05346dd426b0c8ad47d6f7ee4a4ff19f4bbe2e4bda7525382c0b6aaddd9d4db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5775d3245b426fb01f44641bb7e29ec46f1d9cf6ef4341bfb1a1273ec8ccca9
MD5 935c53ec3f2ad77ff4067bbb3904365e
BLAKE2b-256 1b7802440288e87d94469727755b620ac5ba558884ccf69a206ef2121084ec69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b784d13bcb62573e9fabf99385650c14ba8c456d0a1110460100a2c7e1a88e0c
MD5 9515d189c58bc325aa1b55ca62fe3d9b
BLAKE2b-256 beffc086b54f244f4357e50dd130b6a3947c66526cb889fd63b39bdb5bb0018b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c0aac02546372fce09b9671a5188ba735a8202c2da5e9eb58ef1c50776434a49
MD5 70267d5a1e9404017d7f8eca8fbe3f3c
BLAKE2b-256 e633728739fbbee2b173060792b07d474360b15fdc08cd9e422e932f47d14cf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4563f8ab08d94b46cf042393de924d68519221abffd70ebf38df24185459ec9a
MD5 18e32247c7b51f1b2fee3e33ab11a0ed
BLAKE2b-256 2e2080c99ea87c3d53e13a8b2572d0b3c0c5af3dc140d940e1864fef33848000

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bdb3ea2de741f3affb4ddb82371bcdd32e22cc0fe84a8f0c92f43ef321838899
MD5 90f659b3a582898edb2ad08261d20010
BLAKE2b-256 e6c974a77731e8a61088ce57f80cfa8ab8a8e818266aa8d5db71002d56cbfcc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 088bef707397461416ce673cd4968ac8ec1c85da2eef4a372aba4eac11322ccb
MD5 1352f40a1a3d1ca46c0e08fa93bcdc64
BLAKE2b-256 80fed9fd61b0726be425eafeb40c05ef36d46c0cfe62f3044262858e96c6451c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfb55746bb4b991a3e63ef692cbcde9cec1ce77e9dd225a8bb5f18e872a684bd
MD5 ff4f7ebfbf6ef98b8264f2b7d9a44e27
BLAKE2b-256 0c65199f0c5dce58e8e62325990b93ff0b68876c61f30016963a8016f6e52ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607081834-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 110f42f972a3ac44f83e090e513e96ebda74a06e3206e8e97735c3f1bde7942b
MD5 49b04fe5fee52671399b52d604a64587
BLAKE2b-256 ba3cac877955a466fa039b953b9068ee2b8e8cee901fd393d3f6fde847742661

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