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.4.tar.gz (32.5 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.4-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kamiwaza-0.1.4.tar.gz
  • Upload date:
  • Size: 32.5 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.4.tar.gz
Algorithm Hash digest
SHA256 d20bb648a138dd03b8139b11103d32bbcafa3b5e86278ff7622b5835dad2fe64
MD5 8f77d2c88a0beff1764d2bc747e6345a
BLAKE2b-256 56ea8569db55b52ba664213bf75425ae11f6b4a92fdde2907991e3bad177553b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kamiwaza-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 45.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c83cbf1e9ee7f0c1c5daa2106ffd54e56757f8f01f3ddbd51479a3508261bc2
MD5 f4ffe1c4eec6859dc07def65694e17f6
BLAKE2b-256 4ecc61fc1327ab5bc18d6d1bb6cf569b855e38c80040740a986696fbf543bfe5

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