Skip to main content

Python client library for the Kamiwaza AI Infrastructure Platform

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Kamiwaza Python SDK

Python client library for interacting with the Kamiwaza AI Infrastructure Platform. This SDK provides a type-safe interface to all Kamiwaza API endpoints with built-in authentication, error handling, and resource management.

Installation

pip install kamiwaza-client

Quick Start

from kamiwaza_client import KamiwazaClient

# Initialize the client for local development
client = KamiwazaClient("http://localhost:7777/api/")

Examples

The /examples directory contains Jupyter notebooks demonstrating various use cases:

  1. Model Download and Deployment - Shows how to download and deploy a model using the SDK
  2. Structured Data Extraction - Demonstrates how to use deployed models for data processing and standardization

More examples coming soon!

Service Overview

Service Description Documentation
client.models Model management Models Service
client.serving Model deployment Serving Service
client.vectordb Vector database VectorDB Service
client.catalog Data management Catalog Service
client.embedding Text processing Embedding Service
client.retrieval Search Retrieval Service
client.ingestion Data pipeline Ingestion Service
client.cluster Infrastructure Cluster Service
client.lab Lab environments Lab Service
client.auth Security Auth Service
client.activity Monitoring Activity Service

Batch Operations

Many services support batch operations for better performance:

# Batch embedding
chunks = embedder.chunk_text(text, max_length=500)
embeddings = embedder.embed_chunks(chunks, batch_size=32)

# Batch vector insertion
client.vectordb.insert(vectors, metadata, batch_size=1000)

The Kamiwaza SDK is actively being developed with new features, examples, and documentation being added regularly. Stay tuned for updates including additional example notebooks, enhanced documentation, and expanded functionality across all services. For the latest updates and feature releases, keep an eye on this repository.

Project details


Download files

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

Source Distribution

kamiwaza-0.1.1.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

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

kamiwaza-0.1.1-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file kamiwaza-0.1.1.tar.gz.

File metadata

  • Download URL: kamiwaza-0.1.1.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for kamiwaza-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d61073946cf076c19cd467f8f5dbbfc2cb9ba227862043f73647e1fd213a843d
MD5 83cef66eba320c8153816432c3e82d7a
BLAKE2b-256 93479951953f919d665c39e2238ead63064f53643162b70acb4df8aa24cb74c4

See more details on using hashes here.

File details

Details for the file kamiwaza-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kamiwaza-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for kamiwaza-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17e01b76cd3555919a9fd0fdba500c30cce287777041319e7c8b2e9790a6f56c
MD5 9d835824116301458f53e6288adb6dca
BLAKE2b-256 50a5ca9a0c43cb5e9a247f1e3492bcb2bc1b54c9b52c87e86846bf2622af9faa

See more details on using hashes here.

Supported by

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