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

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

Total release size: 7.6 MB

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

Download URL kumoai-3.0.0.dev202607091834-py3-none-any.whl
Size 326.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d01ffc044fc6f746a89c62c8b70e3887f4a75636d3c4673c55819fd626d42a8c
BLAKE2b-256 checksum
How to use checksums
1ef15a17a194583c3fe993ad98fcdfabfcbf7350935d6af4a621d671daa2c2ce
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.dev202607091834-cp314-cp314-win_amd64.whl

Download URL kumoai-3.0.0.dev202607091834-cp314-cp314-win_amd64.whl
Size 616.9 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
73d57d8ebd11086f2c92188c0e10e3585d42758e6a90b9d932b26942a904992a
BLAKE2b-256 checksum
How to use checksums
38f7f2933f0d93938abbf3e7959bfa15979cea733049c776ab178619f3683434
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.dev202607091834-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607091834-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.7 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
66e9cc86d27947ea300b69315f9f226be97230dcc567a738f7c77d167e4926ce
BLAKE2b-256 checksum
How to use checksums
394b495d7f3d262726cda2c5d68280ec13340e079dbc011601faa29a903326e0
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.dev202607091834-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607091834-cp314-cp314-macosx_11_0_arm64.whl
Size 418.8 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2d327bb2831b30a67862a64d66190e54c2ed2505901b91effb5f3dff0ca64504
BLAKE2b-256 checksum
How to use checksums
b23ebc2f4f70550c4745dd59a1b1c724d99a92bdd92585344582db434f05815c
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.dev202607091834-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607091834-cp313-cp313-win_amd64.whl
Size 608.4 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
17b35f7a16fdace65c60a3dca93b51be1579ae9eddad62620624f2bc67c370ac
BLAKE2b-256 checksum
How to use checksums
37cd67884e3b336ff99c701b398ee079636947c3632d6d55bd1979eb1c8220f5
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.dev202607091834-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607091834-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.6 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
33da3b08bb37572d1ba56765bd3974dd3dbe999409c58b5455389199a053c554
BLAKE2b-256 checksum
How to use checksums
123eb2803e1fbd2f07490ba3f6f496034198d96039cb1aecac538ef74fa68fa9
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.dev202607091834-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607091834-cp313-cp313-macosx_11_0_arm64.whl
Size 418.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d6ff6939d88eff202acf59385284cbbb081bc489169973bdda4cb841ba54b851
BLAKE2b-256 checksum
How to use checksums
d3651ba532cfb70311d963d3d1ddc2b53bb4af4f7215d9b31c3608e23dffd2a0
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.dev202607091834-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607091834-cp312-cp312-win_amd64.whl
Size 608.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
09aa127be4d3475d4920e881d0db6ff63a04dec609132c0b782c691e2b47fbe8
BLAKE2b-256 checksum
How to use checksums
96893d582bfd8bbb2f2c8deb523bba4b9d244311450a8edafe36a297d54f79ac
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.dev202607091834-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607091834-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.7 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bf8560c7b69dd85fbcf86dba083b481d0806a4eea7c8f2c33d93116ff5fc148f
BLAKE2b-256 checksum
How to use checksums
42095021e7ffe25a40fde1b88564512eefe115a3ed4008028267cf65a96644d6
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.dev202607091834-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607091834-cp312-cp312-macosx_11_0_arm64.whl
Size 418.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5eb9790f20605f9bbc9abd846920669c5ed9962f2129d0d8379d239b3bb2dac8
BLAKE2b-256 checksum
How to use checksums
af0fb172a4668399c7f42775fcfe9e850d391008a3da6f386e70da6872c8a97a
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.dev202607091834-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607091834-cp311-cp311-win_amd64.whl
Size 607.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
92c09ab5d3f05a07765a25ffbc6488313c5a4598a853ffa587acbe572e3127a2
BLAKE2b-256 checksum
How to use checksums
2e22ed742e7fb6b324783fa72bddfd05f32dcf54bc6e2a26a3155f567328dcb7
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.dev202607091834-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607091834-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 435.6 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0c07f326734543992b521c02d913d158fcc554c4ca63746e75b78b154c08f4d0
BLAKE2b-256 checksum
How to use checksums
bac81914a81a52872081122a7c3b971ece41f90fe7c33876e8fadadd82b68f66
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.dev202607091834-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607091834-cp311-cp311-macosx_11_0_arm64.whl
Size 418.8 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a9e945fe8701de95c4f388489f36f41006873c87e57f80f42a8b9a501e7cb979
BLAKE2b-256 checksum
How to use checksums
99787c46f19f106f6e1060aae9b6be48a2e466e82456b56e252b474dafe82595
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.dev202607091834-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607091834-cp310-cp310-win_amd64.whl
Size 607.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
51f9a918123aa9341cf499eb12a6ec610ee46958857e3680e9f2f5be35066926
BLAKE2b-256 checksum
How to use checksums
8c834acb5e74f6f353876badefd21248adaa3001c612c503e50271bfe714644e
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.dev202607091834-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607091834-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 434.9 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
db209747dfedd36309f051d718343bacd65b0cfbc495f8897f535bab9ef920bd
BLAKE2b-256 checksum
How to use checksums
4afd34f534cf7c3b48de6296052d5a9b57254fec3d024a10486475512fe9e897
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.dev202607091834-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607091834-cp310-cp310-macosx_11_0_arm64.whl
Size 417.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d552df5d2b765e17f8975d5577dd8f14af2ecd2bc9d5eb57b23806375ed1deb0
BLAKE2b-256 checksum
How to use checksums
7b2ae0efb4b2f73c4e9057b429d6b5da908656a956dd94aa2326fcc7611603e8
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