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

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

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

Download URL kumoai-3.0.0.dev202607211833-cp314-cp314-win_amd64.whl
Size 623.3 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
dffa5348942b8ba8f58a4c6506dca51db18130eb2c8c56b40829ff9375726750
BLAKE2b-256 checksum
How to use checksums
9853a23c9cf219024401000e9f0ce1bd0c8180ace096809f8dbc019ff69cd3e0
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.dev202607211833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607211833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 442.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
ea732eef294baa4b9ddc1d6f0f59341d5e638031bc8b6ec9525d7fa70d9e0c5c
BLAKE2b-256 checksum
How to use checksums
435cae1a32fd81a162877c7d95f982f08a90de66ce75162ff5a7284a268e9878
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.dev202607211833-cp314-cp314-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607211833-cp314-cp314-macosx_11_0_arm64.whl
Size 425.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1eae0e17b212dd42ebc81e86e248ddd3dbaab03019ce27eab10ac49388e5781f
BLAKE2b-256 checksum
How to use checksums
56d6b28c4a302cc56d0377ee6d760250dc20aa7feec0bca8baff34d2a1855721
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.dev202607211833-cp313-cp313-win_amd64.whl

Download URL kumoai-3.0.0.dev202607211833-cp313-cp313-win_amd64.whl
Size 614.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ac830f813ab5f65add39d62d2ddfec83b6842d0d960ab918ce18329f4b435095
BLAKE2b-256 checksum
How to use checksums
85028b198071b0dbcda40727a2fdc0d16447eaf876f137600a95ba80cfdf4e90
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.dev202607211833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607211833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.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
db84d4119f0fc50bdd32302050b56b4cc9a70b2aedb57042f5ca1980255a20b9
BLAKE2b-256 checksum
How to use checksums
7c9706dead6610d9c4b497d281215baccd53dacd4b081f8ffd99406483700e85
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.dev202607211833-cp313-cp313-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607211833-cp313-cp313-macosx_11_0_arm64.whl
Size 424.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9ddc9bdf03484f653498bc45a40a2b5adde6d9e752f6f69f3c3d2f39fb7b9116
BLAKE2b-256 checksum
How to use checksums
86a0023c85d6f76d8acf3e5f0aab15586c09bd87ba9c5b27e517c42a170fe31a
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.dev202607211833-cp312-cp312-win_amd64.whl

Download URL kumoai-3.0.0.dev202607211833-cp312-cp312-win_amd64.whl
Size 614.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f4aecad26bc5911da88c05771061491678ac24491eb689c9570624f9981933c7
BLAKE2b-256 checksum
How to use checksums
bdfdd945e509f6b4460d8d04587a5ca779facc1f22749b2fda1fe3fdcca330dd
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.dev202607211833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607211833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 442.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
18bd5674e8a180bf4f1ec9512664fe762f75d231ee9ee965ba32e052d6ac6d2b
BLAKE2b-256 checksum
How to use checksums
9199dc8d4c161e05288b099cfd963eb73eb406cc962ac746e88ab1fc3490916c
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.dev202607211833-cp312-cp312-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607211833-cp312-cp312-macosx_11_0_arm64.whl
Size 424.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e1f01814cba4a445b2bf26a7c2aaaa5e3fa1e9369936f5c9e404690bea98e054
BLAKE2b-256 checksum
How to use checksums
9f143ae90a6a111185e91c452f100de8e0e0becd8c1a13fccd6a9696d543df93
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.dev202607211833-cp311-cp311-win_amd64.whl

Download URL kumoai-3.0.0.dev202607211833-cp311-cp311-win_amd64.whl
Size 614.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
eadc06d37099378465c340df85dba68a76862ba45fb148a762974bb6ff21d5d5
BLAKE2b-256 checksum
How to use checksums
896b5d80414ef88dc329209a87448894dee83fdd5581cb8180c9fc93c02bdf02
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.dev202607211833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607211833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.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
72930074ce87461985e689f55debb8bc2e95d17a3d2ac49780624a0a7fc408b5
BLAKE2b-256 checksum
How to use checksums
7753491df3aeed4354f21793388e182ce0b078dac47558373ba6b7086f22fcf6
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.dev202607211833-cp311-cp311-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607211833-cp311-cp311-macosx_11_0_arm64.whl
Size 425.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8f561fcf1ca2176b1769875e827eb567abe7b9e5a0afd79142f23a9f480713b3
BLAKE2b-256 checksum
How to use checksums
2cfc5373b2694e275b670a1fa48a5561db7fad759c83be023a4a815e93fccf0a
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.dev202607211833-cp310-cp310-win_amd64.whl

Download URL kumoai-3.0.0.dev202607211833-cp310-cp310-win_amd64.whl
Size 613.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
9e5f6240c7a4d8947b0d2c3142706383c4f59e75d4207ab1387e4720f641ade4
BLAKE2b-256 checksum
How to use checksums
8bc094109c116447b1504db14d5ee763652ed4feb1073c8792ee63cde4473408
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.dev202607211833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kumoai-3.0.0.dev202607211833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 441.2 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
03bcab9d98cd894c59dee0415ebf56a97ba023e6ec6cb768733338ef48e628f2
BLAKE2b-256 checksum
How to use checksums
75b5e06a44b4797aa1d2318fd35862b4a4f16afbc93657fdba39fd7a33e23fb1
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.dev202607211833-cp310-cp310-macosx_11_0_arm64.whl

Download URL kumoai-3.0.0.dev202607211833-cp310-cp310-macosx_11_0_arm64.whl
Size 423.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
09dace7b362a259973a7b45288b867f23e2c42890d8773db82fe73f083fd3e54
BLAKE2b-256 checksum
How to use checksums
ec4a28aca5fd7c966218fcfaede6ea08d7a4db27a86a4ba7659ada8c1afefb99
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