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.dev202607161833-py3-none-any.whl (330.8 kB view details)

Uploaded Python 3

kumoai-3.0.0.dev202607161833-cp314-cp314-win_amd64.whl (621.3 kB view details)

Uploaded CPython 3.14Windows x86-64

kumoai-3.0.0.dev202607161833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.0 kB view details)

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

kumoai-3.0.0.dev202607161833-cp314-cp314-macosx_11_0_arm64.whl (423.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kumoai-3.0.0.dev202607161833-cp313-cp313-win_amd64.whl (612.7 kB view details)

Uploaded CPython 3.13Windows x86-64

kumoai-3.0.0.dev202607161833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.9 kB view details)

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

kumoai-3.0.0.dev202607161833-cp313-cp313-macosx_11_0_arm64.whl (422.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kumoai-3.0.0.dev202607161833-cp312-cp312-win_amd64.whl (612.7 kB view details)

Uploaded CPython 3.12Windows x86-64

kumoai-3.0.0.dev202607161833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (440.0 kB view details)

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

kumoai-3.0.0.dev202607161833-cp312-cp312-macosx_11_0_arm64.whl (422.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kumoai-3.0.0.dev202607161833-cp311-cp311-win_amd64.whl (612.0 kB view details)

Uploaded CPython 3.11Windows x86-64

kumoai-3.0.0.dev202607161833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.9 kB view details)

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

kumoai-3.0.0.dev202607161833-cp311-cp311-macosx_11_0_arm64.whl (423.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kumoai-3.0.0.dev202607161833-cp310-cp310-win_amd64.whl (611.2 kB view details)

Uploaded CPython 3.10Windows x86-64

kumoai-3.0.0.dev202607161833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (439.1 kB view details)

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

kumoai-3.0.0.dev202607161833-cp310-cp310-macosx_11_0_arm64.whl (421.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-py3-none-any.whl
Algorithm Hash digest
SHA256 3f3bd0ba36c653ebd69ea3ef3ad49b05193fa148f8d2c0bec5a16f9666ae8043
MD5 2aa1f1e298c2a453c105bd9a16298d3e
BLAKE2b-256 d335ade65fa4746a0b362180a16a98d7c378282f67fb8375d8796368400c32e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 1e107cbc2c1430822caf62a98d551e56e05ea9a9e029496610b367b0c13dc642
MD5 c9d94a7e1f62157736c8a2a24e74b59a
BLAKE2b-256 0e11a3099a5140ceb3a635a10b52cc9ee2698837b34dfb93fd60d5e978b7f125

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1b5c5626da5445658c7c68cfd0ae6d6ffcc8d4598685504c882f3275ebce691
MD5 3bd3900312bfcb633f31edad959bec19
BLAKE2b-256 c64103951111e3cf986e9dd57ecb203117ac78faf02be4cb2b420513965f71de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 312f20e70731865e61daddaf2f9819e41029968752cf70bd589a7cfff6144faf
MD5 5e56c23c61418c742d4d51af74a1447c
BLAKE2b-256 1a545571872d92236ab478fcd825e019701e426c49f6fcf2137d197bf9adae58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a82c14e66c336c5a6fb5e5068450e2674f0a2eb1d6490b7c6442cfa7c96a04e1
MD5 eff58e6cb90dce0a44795a915acc8fff
BLAKE2b-256 7c95631b3c47ae22162cae155cbb04d9a9353de26b39d657a6c60cd55743cc17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d6b3460b4ed53bba5c9af3d33e264ee4303147d566ee3723def191da9670b9a6
MD5 d9af393d0e1ec14d61471237c10e0994
BLAKE2b-256 d7b7438c0abd0a142f02727455d1855f3b58de1d29a98f1fd006e8c5a407a3cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 017da4ed4f442a93ff80e172f6aaa7a920e8e4d432c41d909f44c11b9138b24e
MD5 5bd772a791bfe08a7263448b6ca08c97
BLAKE2b-256 214de73a4722891f8b1fa2349d56d839c00917be91a0407124021bc323efc222

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1f66657fd32d57973d500c78b96afc253e98876ceabfb5140f475e05b6d07757
MD5 35e170ba8b37dca50ec984cf741fd9a4
BLAKE2b-256 92b118a8ffc8862b6a8c697ea9bed8dd30ac8be6d3899a67f195ddc522a0e479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8899bc85f421f8bcc3f00ac0991cf36a85debc476ad153bf13d331c4329c52c7
MD5 e03c5ea5af4cd6463202289765a4959d
BLAKE2b-256 29e4466ba2d10dd5358a55806d3bebe94cca92f06ae5ce9f38214faec8d826f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0be5b4b7f6225ba77601a654db9107f0b96e9bb2e429e3adf5833245e2535307
MD5 0dda65b45877a00b173f5b05524af08d
BLAKE2b-256 c21f93b2bccfe30ae0acc8e7be256603f9204fec2c74852c534ee215aa348bb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 58e11a330c62a5e23259c3ad0d296d1dd23d8b50c6089a6f65923b6e1e164a18
MD5 441618a63adeef62da06064baa4df768
BLAKE2b-256 3829c94afe638aebeaece3b6222a1028350468fbd1de3e0a66b8c653738a6456

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9845e6420b296ad78bc2d322f10574ff3880d2b48191ace615824bcfdcb1d525
MD5 f5484b0ca76ff9449b18b52cc20e45a5
BLAKE2b-256 8c0f10ea3c3b008fec1014e1173c7b6816cbf12a7b2b4aef0b530689d7117fe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d5bb0abda03725a2f94d32dad3e32fd5bf7e36e6e6dec9fe5ea6d85008f1e37
MD5 5fe34f4f3417bb192a4d3bb4fbae1a08
BLAKE2b-256 0f7b31e48ef9d58dd38e52aaedf589484e21daa88a3030d76732331fb8e48f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 03ac05d23253c762659e93805cc5302380dafd830aad530aad2f1ffe3ed6fc3b
MD5 c65d24d6f7377cf4a8b0cae49f933fec
BLAKE2b-256 414c8b773bf51dccf12f01489c298eef2586164de9dae053418553688a412aa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 233ff37e86752c2da97e7bbdc1cffbd2eae6bd85c781c9e8b27bc15df938b8de
MD5 27f19e4e2ba1d46226634d2deeac4b3c
BLAKE2b-256 0d5f81ff0bf68e6a35a091bdff58933df9c9d377308c930d5af3dde9efd07402

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kumoai-3.0.0.dev202607161833-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f25c875a566c130149eb12920f2df5a0fb9376e7aed0f3397b35b4fc5c655066
MD5 79e9acc00273cb1c482cf127a33f49f6
BLAKE2b-256 6d8044d883340b319411db7d7c842ae441b2f2faae59fe040895589c5db22ea8

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