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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

kumoai-3.0.0.dev202607211833-py3-none-any.whl (332.8 kB view details)

Uploaded Python 3

kumoai-3.0.0.dev202607211833-cp314-cp314-win_amd64.whl (623.3 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607211833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (442.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607211833-cp314-cp314-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607211833-cp313-cp313-win_amd64.whl (614.7 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607211833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607211833-cp313-cp313-macosx_11_0_arm64.whl (424.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607211833-cp312-cp312-win_amd64.whl (614.7 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607211833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (442.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607211833-cp312-cp312-macosx_11_0_arm64.whl (424.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607211833-cp311-cp311-win_amd64.whl (614.1 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607211833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607211833-cp311-cp311-macosx_11_0_arm64.whl (425.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607211833-cp310-cp310-win_amd64.whl (613.3 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607211833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (441.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

kumoai-3.0.0.dev202607211833-cp310-cp310-macosx_11_0_arm64.whl (423.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file kumoai-3.0.0.dev202607211833-py3-none-any.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-py3-none-any.whl
Algorithm Hash digest
SHA256 f3fb94d72f85467f7016f50794224d82a020df09d46baffe71e360834d5afcb4
MD5 1782c01aabbf1ddbae0fa2e4f6f0432d
BLAKE2b-256 d86bd21b8bd0789fde5b99969ab313ab6d5c610b288fa372fe26a28eebdce91c

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 dffa5348942b8ba8f58a4c6506dca51db18130eb2c8c56b40829ff9375726750
MD5 719a17a0bc985b820c38a4441ae9e8a5
BLAKE2b-256 9853a23c9cf219024401000e9f0ce1bd0c8180ace096809f8dbc019ff69cd3e0

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea732eef294baa4b9ddc1d6f0f59341d5e638031bc8b6ec9525d7fa70d9e0c5c
MD5 14f4223077cfd51d9f3af5c87a4a4384
BLAKE2b-256 435cae1a32fd81a162877c7d95f982f08a90de66ce75162ff5a7284a268e9878

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1eae0e17b212dd42ebc81e86e248ddd3dbaab03019ce27eab10ac49388e5781f
MD5 c38028c23581076ecafe95fd8286219c
BLAKE2b-256 56d6b28c4a302cc56d0377ee6d760250dc20aa7feec0bca8baff34d2a1855721

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ac830f813ab5f65add39d62d2ddfec83b6842d0d960ab918ce18329f4b435095
MD5 835eec7a7123dbef4edf8f7b95570d95
BLAKE2b-256 85028b198071b0dbcda40727a2fdc0d16447eaf876f137600a95ba80cfdf4e90

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db84d4119f0fc50bdd32302050b56b4cc9a70b2aedb57042f5ca1980255a20b9
MD5 6600dfae71c479e8436b9fe4523377e9
BLAKE2b-256 7c9706dead6610d9c4b497d281215baccd53dacd4b081f8ffd99406483700e85

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ddc9bdf03484f653498bc45a40a2b5adde6d9e752f6f69f3c3d2f39fb7b9116
MD5 068ffae9709b23250803af654e087b95
BLAKE2b-256 86a0023c85d6f76d8acf3e5f0aab15586c09bd87ba9c5b27e517c42a170fe31a

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f4aecad26bc5911da88c05771061491678ac24491eb689c9570624f9981933c7
MD5 68fabf53e8a1ee424394f400aa5f0d06
BLAKE2b-256 bdfdd945e509f6b4460d8d04587a5ca779facc1f22749b2fda1fe3fdcca330dd

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18bd5674e8a180bf4f1ec9512664fe762f75d231ee9ee965ba32e052d6ac6d2b
MD5 c18e0979e5df1f2ff6a6a06d7e406ca6
BLAKE2b-256 9199dc8d4c161e05288b099cfd963eb73eb406cc962ac746e88ab1fc3490916c

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1f01814cba4a445b2bf26a7c2aaaa5e3fa1e9369936f5c9e404690bea98e054
MD5 8a82f9974cc6238fa1e10b46b93a71fe
BLAKE2b-256 9f143ae90a6a111185e91c452f100de8e0e0becd8c1a13fccd6a9696d543df93

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eadc06d37099378465c340df85dba68a76862ba45fb148a762974bb6ff21d5d5
MD5 355a2c0a01c601e9b0ab0d355f5f6217
BLAKE2b-256 896b5d80414ef88dc329209a87448894dee83fdd5581cb8180c9fc93c02bdf02

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72930074ce87461985e689f55debb8bc2e95d17a3d2ac49780624a0a7fc408b5
MD5 411af01bb8316686564763b0ac1b6d90
BLAKE2b-256 7753491df3aeed4354f21793388e182ce0b078dac47558373ba6b7086f22fcf6

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f561fcf1ca2176b1769875e827eb567abe7b9e5a0afd79142f23a9f480713b3
MD5 e1c67b30a4c1331be67ebaf1b184e839
BLAKE2b-256 2cfc5373b2694e275b670a1fa48a5561db7fad759c83be023a4a815e93fccf0a

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9e5f6240c7a4d8947b0d2c3142706383c4f59e75d4207ab1387e4720f641ade4
MD5 11436a802b169ec94dccb42c78e473ed
BLAKE2b-256 8bc094109c116447b1504db14d5ee763652ed4feb1073c8792ee63cde4473408

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03bcab9d98cd894c59dee0415ebf56a97ba023e6ec6cb768733338ef48e628f2
MD5 009a275f00fabd78fc42da7e1db40e71
BLAKE2b-256 75b5e06a44b4797aa1d2318fd35862b4a4f16afbc93657fdba39fd7a33e23fb1

See more details on using hashes here.

File details

Details for the file kumoai-3.0.0.dev202607211833-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607211833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 09dace7b362a259973a7b45288b867f23e2c42890d8773db82fe73f083fd3e54
MD5 71f0c46f083256a70e2f8bf927e49e66
BLAKE2b-256 ec4a28aca5fd7c966218fcfaede6ea08d7a4db27a86a4ba7659ada8c1afefb99

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page