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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kumoai-3.0.0.dev202607091834-py3-none-any.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-py3-none-any.whl
- Upload date:
- Size: 326.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d01ffc044fc6f746a89c62c8b70e3887f4a75636d3c4673c55819fd626d42a8c
|
|
| MD5 |
e4413b18d1e8b86f4a81b248960c7fc0
|
|
| BLAKE2b-256 |
1ef15a17a194583c3fe993ad98fcdfabfcbf7350935d6af4a621d671daa2c2ce
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 616.9 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d57d8ebd11086f2c92188c0e10e3585d42758e6a90b9d932b26942a904992a
|
|
| MD5 |
4fbefbf540926ecc696e9620194ba5ce
|
|
| BLAKE2b-256 |
38f7f2933f0d93938abbf3e7959bfa15979cea733049c776ab178619f3683434
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 435.7 kB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e9cc86d27947ea300b69315f9f226be97230dcc567a738f7c77d167e4926ce
|
|
| MD5 |
6a8df4deb95f05c94cfdbbb9d2ed5dc5
|
|
| BLAKE2b-256 |
394b495d7f3d262726cda2c5d68280ec13340e079dbc011601faa29a903326e0
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 418.8 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d327bb2831b30a67862a64d66190e54c2ed2505901b91effb5f3dff0ca64504
|
|
| MD5 |
959e24ffbf5262b8e8f6f3798da18035
|
|
| BLAKE2b-256 |
b23ebc2f4f70550c4745dd59a1b1c724d99a92bdd92585344582db434f05815c
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 608.4 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b35f7a16fdace65c60a3dca93b51be1579ae9eddad62620624f2bc67c370ac
|
|
| MD5 |
c13a6e0996e780b77cd010fd577d6e86
|
|
| BLAKE2b-256 |
37cd67884e3b336ff99c701b398ee079636947c3632d6d55bd1979eb1c8220f5
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 435.6 kB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33da3b08bb37572d1ba56765bd3974dd3dbe999409c58b5455389199a053c554
|
|
| MD5 |
acd9e4e159bf67051f39b8c6f20ea963
|
|
| BLAKE2b-256 |
123eb2803e1fbd2f07490ba3f6f496034198d96039cb1aecac538ef74fa68fa9
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 418.5 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6ff6939d88eff202acf59385284cbbb081bc489169973bdda4cb841ba54b851
|
|
| MD5 |
005eb393250853a58952ddfcbafacae4
|
|
| BLAKE2b-256 |
d3651ba532cfb70311d963d3d1ddc2b53bb4af4f7215d9b31c3608e23dffd2a0
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 608.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09aa127be4d3475d4920e881d0db6ff63a04dec609132c0b782c691e2b47fbe8
|
|
| MD5 |
eabf8032f5170a7060c03c4ddf06d985
|
|
| BLAKE2b-256 |
96893d582bfd8bbb2f2c8deb523bba4b9d244311450a8edafe36a297d54f79ac
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 435.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8560c7b69dd85fbcf86dba083b481d0806a4eea7c8f2c33d93116ff5fc148f
|
|
| MD5 |
2d97f1b2b3d85912195922e5be21e765
|
|
| BLAKE2b-256 |
42095021e7ffe25a40fde1b88564512eefe115a3ed4008028267cf65a96644d6
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 418.5 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eb9790f20605f9bbc9abd846920669c5ed9962f2129d0d8379d239b3bb2dac8
|
|
| MD5 |
c914597878a494be83b09cee5da06a53
|
|
| BLAKE2b-256 |
af0fb172a4668399c7f42775fcfe9e850d391008a3da6f386e70da6872c8a97a
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 607.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92c09ab5d3f05a07765a25ffbc6488313c5a4598a853ffa587acbe572e3127a2
|
|
| MD5 |
f5da161f1a6ceedfa1dd44719628ab91
|
|
| BLAKE2b-256 |
2e22ed742e7fb6b324783fa72bddfd05f32dcf54bc6e2a26a3155f567328dcb7
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 435.6 kB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c07f326734543992b521c02d913d158fcc554c4ca63746e75b78b154c08f4d0
|
|
| MD5 |
3a4f7211933e21bbbdbbc1fb0446856c
|
|
| BLAKE2b-256 |
bac81914a81a52872081122a7c3b971ece41f90fe7c33876e8fadadd82b68f66
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 418.8 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9e945fe8701de95c4f388489f36f41006873c87e57f80f42a8b9a501e7cb979
|
|
| MD5 |
eb04594cfb2889111fc22f43de520f3c
|
|
| BLAKE2b-256 |
99787c46f19f106f6e1060aae9b6be48a2e466e82456b56e252b474dafe82595
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 607.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51f9a918123aa9341cf499eb12a6ec610ee46958857e3680e9f2f5be35066926
|
|
| MD5 |
1d276d1ae10172f65635d16ec65a4091
|
|
| BLAKE2b-256 |
8c834acb5e74f6f353876badefd21248adaa3001c612c503e50271bfe714644e
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 434.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db209747dfedd36309f051d718343bacd65b0cfbc495f8897f535bab9ef920bd
|
|
| MD5 |
9ca8cfda78a663e7323312b2a46ae85b
|
|
| BLAKE2b-256 |
4afd34f534cf7c3b48de6296052d5a9b57254fec3d024a10486475512fe9e897
|
File details
Details for the file kumoai-3.0.0.dev202607091834-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: kumoai-3.0.0.dev202607091834-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 417.5 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d552df5d2b765e17f8975d5577dd8f14af2ecd2bc9d5eb57b23806375ed1deb0
|
|
| MD5 |
6873369c1ed60390445fb750e493d32e
|
|
| BLAKE2b-256 |
7b2ae0efb4b2f73c4e9057b429d6b5da908656a956dd94aa2326fcc7611603e8
|