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.

Metadata

Release files for kumoai 3.0.0.dev202607121833

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for kumoai 3.0.0.dev202607121833
File
kumoai-3.0.0.dev202607121833-py3-none-any.whl Python 3 none any Details
kumoai-3.0.0.dev202607121833-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
kumoai-3.0.0.dev202607121833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607121833-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607121833-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
kumoai-3.0.0.dev202607121833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607121833-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607121833-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
kumoai-3.0.0.dev202607121833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607121833-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607121833-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
kumoai-3.0.0.dev202607121833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607121833-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607121833-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
kumoai-3.0.0.dev202607121833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607121833-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 7.7 MB

Release files / kumoai-3.0.0.dev202607121833-py3-none-any.whl

Download URL kumoai-3.0.0.dev202607121833-py3-none-any.whl
Size 331.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cee95099b40d65204a9ea077684ee7a4ba597a66fabedbff08c57b7370323044
BLAKE2b-256 checksum
How to use checksums
9905d0d9d4ebbe08144a1cccf11345d82eda0d8bf995a226cc5ab44a8f3583c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607121833-cp314-cp314-win_amd64.whl
Size 621.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a72420eddbe4b4a21f88751b8102dcaba77ca63fa7cc33f1aeaa173fa60e6e50
BLAKE2b-256 checksum
How to use checksums
604ec6d8c0b48b103af7ab88157f452887c638ccfe6a6b743a67b0a28158af0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607121833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.4 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5559d7b81d72ef71991d3b543c70d0d22e31f6851d468bd2ff9751b32ceaaf6f
BLAKE2b-256 checksum
How to use checksums
50a014c5b317d2a4a75ad666b189b9127f32a2c6e7677fdfde3baf4d193db1cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607121833-cp314-cp314-macosx_11_0_arm64.whl
Size 423.5 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
267a60fe745e2480e17b44753dd8070e836fbe4ad225439e379c974bd3f0029e
BLAKE2b-256 checksum
How to use checksums
2261e782e9b43527f97dd03a9480eb0a0ab8850f4cd31e2bcb28a0825b5e5eea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607121833-cp313-cp313-win_amd64.whl
Size 613.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f66593219d2d7f92c64fae792e0a243fab06b213ee403a2d55a28e51d78f6fab
BLAKE2b-256 checksum
How to use checksums
aa12840661397cba1ef14f7437dfe993eed48d4339beae9a09b00e5136710b53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607121833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.4 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f2c08ed96a67394e30fb52ed62a5726cb0eb6820ae3e60f9a6915bd75d203cac
BLAKE2b-256 checksum
How to use checksums
276e2987058896e0c12afb0ae00d092772ea745ac67f0e3a9542485528165a7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607121833-cp313-cp313-macosx_11_0_arm64.whl
Size 423.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f8d18dc914191bc05adc626e6a43f70bcd5b3103eb2378e009378da19228f684
BLAKE2b-256 checksum
How to use checksums
b5ed96675bf02261e4a6bf03e6e97c54138c834d2e0a39d4069e6b02394e8cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607121833-cp312-cp312-win_amd64.whl
Size 613.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
05630970651fcb4d13ca2828742434d5c7594baeb92742d2ff557a70bf45d634
BLAKE2b-256 checksum
How to use checksums
8fa35b365f4e44abc582bdefd8db48dee61466a1134f166b08b3b9b7faf809be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607121833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.5 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d0b48c023098dd195acf2d0e147861983b55ddefed3f301f2077355c55f6575d
BLAKE2b-256 checksum
How to use checksums
db7a700edfbcfbc76205b61ada64f59168f29c895c091f4a7cc4262fa7b2a60e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607121833-cp312-cp312-macosx_11_0_arm64.whl
Size 423.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
33e2b8b28d4796c400fbb4144bb190e092d6946400436149a719769dd43c6f69
BLAKE2b-256 checksum
How to use checksums
2d7854718aacf04b18abd9ea1ac4073db53550d0a0b3292e08a2332f9076adc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607121833-cp311-cp311-win_amd64.whl
Size 612.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7137b463ad365f3e17c6aa2c2902756df5b02e55c4ac3f1764881250ff77a7a1
BLAKE2b-256 checksum
How to use checksums
859639e08777204ac47c62978890b43f40bf40cccc7e22f1e4cce4f03783dc13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607121833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.3 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0b92268b8e764d7c45b6f01ce4a5e060717839382913ee3da72a8a3c4f0674ae
BLAKE2b-256 checksum
How to use checksums
7cab9af98ca053e53d91cdae6a23630c0fc325d0c4104277c73e84df43eef502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607121833-cp311-cp311-macosx_11_0_arm64.whl
Size 423.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7c9585d49da44181317692cee05a6a334d4993b301218423e6a92d6b082fcfc4
BLAKE2b-256 checksum
How to use checksums
266c5335f2eb29defb01bba6cdeed7fdb5b7d56bcb0a8bb23e5cf9a6f12af48b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607121833-cp310-cp310-win_amd64.whl
Size 611.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
57900ffefd2ba1d931ad4622e816f6f37705664de22475c7a18cf0630931ecde
BLAKE2b-256 checksum
How to use checksums
dd9774212b5d4b01c581f0c9e7e4f1bbeecf5c2874c277df001607fc867a0a78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607121833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.6 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c507f96a8d304fcfa3e6945421102afd531898fcd6d52fdfaa21c81d7a12892f
BLAKE2b-256 checksum
How to use checksums
09d2caf68880dd404db66f8e0def05b7719ecb3af8501bb41c59f63da29b10a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / kumoai-3.0.0.dev202607121833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607121833-cp310-cp310-macosx_11_0_arm64.whl
Size 422.2 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ac6d4ccdcf4240831cfaa856b6114deb85cbf3818e162131edd8355b27510e77
BLAKE2b-256 checksum
How to use checksums
c050e45519b29fe8d1d3c303ae979a34e833332c25c6f37518003ed2212a0409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

2.9.1

16 release files

2.9.0

16 release files

2.8.1

16 release files

2.8.0

16 release files

2.7.0

16 release files

2.6.0

16 release files

2.5.1

16 release files

2.5.0

16 release files

2.4.3

1 release file

2.4.2

1 release file

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page