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.dev202607161833

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.dev202607161833
File
kumoai-3.0.0.dev202607161833-py3-none-any.whl Python 3 none any Details
kumoai-3.0.0.dev202607161833-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
kumoai-3.0.0.dev202607161833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607161833-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607161833-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
kumoai-3.0.0.dev202607161833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
kumoai-3.0.0.dev202607161833-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607161833-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
kumoai-3.0.0.dev202607161833-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.dev202607161833-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607161833-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
kumoai-3.0.0.dev202607161833-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.dev202607161833-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
kumoai-3.0.0.dev202607161833-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
kumoai-3.0.0.dev202607161833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
kumoai-3.0.0.dev202607161833-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.dev202607161833-py3-none-any.whl

Download URL kumoai-3.0.0.dev202607161833-py3-none-any.whl
Size 330.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f3bd0ba36c653ebd69ea3ef3ad49b05193fa148f8d2c0bec5a16f9666ae8043
BLAKE2b-256 checksum
How to use checksums
d335ade65fa4746a0b362180a16a98d7c378282f67fb8375d8796368400c32e5
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.dev202607161833-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607161833-cp314-cp314-win_amd64.whl
Size 621.3 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
1e107cbc2c1430822caf62a98d551e56e05ea9a9e029496610b367b0c13dc642
BLAKE2b-256 checksum
How to use checksums
0e11a3099a5140ceb3a635a10b52cc9ee2698837b34dfb93fd60d5e978b7f125
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.dev202607161833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607161833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.0 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b1b5c5626da5445658c7c68cfd0ae6d6ffcc8d4598685504c882f3275ebce691
BLAKE2b-256 checksum
How to use checksums
c64103951111e3cf986e9dd57ecb203117ac78faf02be4cb2b420513965f71de
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.dev202607161833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607161833-cp314-cp314-macosx_11_0_arm64.whl
Size 423.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
312f20e70731865e61daddaf2f9819e41029968752cf70bd589a7cfff6144faf
BLAKE2b-256 checksum
How to use checksums
1a545571872d92236ab478fcd825e019701e426c49f6fcf2137d197bf9adae58
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.dev202607161833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607161833-cp313-cp313-win_amd64.whl
Size 612.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a82c14e66c336c5a6fb5e5068450e2674f0a2eb1d6490b7c6442cfa7c96a04e1
BLAKE2b-256 checksum
How to use checksums
7c95631b3c47ae22162cae155cbb04d9a9353de26b39d657a6c60cd55743cc17
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.dev202607161833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607161833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.9 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d6b3460b4ed53bba5c9af3d33e264ee4303147d566ee3723def191da9670b9a6
BLAKE2b-256 checksum
How to use checksums
d7b7438c0abd0a142f02727455d1855f3b58de1d29a98f1fd006e8c5a407a3cf
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.dev202607161833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607161833-cp313-cp313-macosx_11_0_arm64.whl
Size 422.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
017da4ed4f442a93ff80e172f6aaa7a920e8e4d432c41d909f44c11b9138b24e
BLAKE2b-256 checksum
How to use checksums
214de73a4722891f8b1fa2349d56d839c00917be91a0407124021bc323efc222
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.dev202607161833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607161833-cp312-cp312-win_amd64.whl
Size 612.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
1f66657fd32d57973d500c78b96afc253e98876ceabfb5140f475e05b6d07757
BLAKE2b-256 checksum
How to use checksums
92b118a8ffc8862b6a8c697ea9bed8dd30ac8be6d3899a67f195ddc522a0e479
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.dev202607161833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607161833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 440.0 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8899bc85f421f8bcc3f00ac0991cf36a85debc476ad153bf13d331c4329c52c7
BLAKE2b-256 checksum
How to use checksums
29e4466ba2d10dd5358a55806d3bebe94cca92f06ae5ce9f38214faec8d826f5
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.dev202607161833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607161833-cp312-cp312-macosx_11_0_arm64.whl
Size 422.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0be5b4b7f6225ba77601a654db9107f0b96e9bb2e429e3adf5833245e2535307
BLAKE2b-256 checksum
How to use checksums
c21f93b2bccfe30ae0acc8e7be256603f9204fec2c74852c534ee215aa348bb1
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.dev202607161833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607161833-cp311-cp311-win_amd64.whl
Size 612.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
58e11a330c62a5e23259c3ad0d296d1dd23d8b50c6089a6f65923b6e1e164a18
BLAKE2b-256 checksum
How to use checksums
3829c94afe638aebeaece3b6222a1028350468fbd1de3e0a66b8c653738a6456
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.dev202607161833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607161833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.9 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9845e6420b296ad78bc2d322f10574ff3880d2b48191ace615824bcfdcb1d525
BLAKE2b-256 checksum
How to use checksums
8c0f10ea3c3b008fec1014e1173c7b6816cbf12a7b2b4aef0b530689d7117fe1
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.dev202607161833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607161833-cp311-cp311-macosx_11_0_arm64.whl
Size 423.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d5bb0abda03725a2f94d32dad3e32fd5bf7e36e6e6dec9fe5ea6d85008f1e37
BLAKE2b-256 checksum
How to use checksums
0f7b31e48ef9d58dd38e52aaedf589484e21daa88a3030d76732331fb8e48f1e
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.dev202607161833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607161833-cp310-cp310-win_amd64.whl
Size 611.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
03ac05d23253c762659e93805cc5302380dafd830aad530aad2f1ffe3ed6fc3b
BLAKE2b-256 checksum
How to use checksums
414c8b773bf51dccf12f01489c298eef2586164de9dae053418553688a412aa5
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.dev202607161833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607161833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 439.1 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
233ff37e86752c2da97e7bbdc1cffbd2eae6bd85c781c9e8b27bc15df938b8de
BLAKE2b-256 checksum
How to use checksums
0d5f81ff0bf68e6a35a091bdff58933df9c9d377308c930d5af3dde9efd07402
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.dev202607161833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607161833-cp310-cp310-macosx_11_0_arm64.whl
Size 421.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f25c875a566c130149eb12920f2df5a0fb9376e7aed0f3397b35b4fc5c655066
BLAKE2b-256 checksum
How to use checksums
6d8044d883340b319411db7d7c842ae441b2f2faae59fe040895589c5db22ea8
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