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.0.tar.gz (22.9 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.0-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kamiwaza-0.1.0.tar.gz
  • Upload date:
  • Size: 22.9 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.0.tar.gz
Algorithm Hash digest
SHA256 5af77a4461824947d21d408dc5dc83d5d212e9780938f6541dce6f83f87a9315
MD5 aff12033238047e11d1514ba74f2897a
BLAKE2b-256 d21b33d8bba0a32dfa4d371cc25ca6aea851a22da7c32a1bc0a257bb3227a4e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kamiwaza-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a107a97421ab970a998c998d2ecafee6c5cdab600603ae72a53caf150eac44e0
MD5 09f41da98fb50da4c900d906800c0061
BLAKE2b-256 e419b886ebbb3c562248f8a3bd39f80c9e1e97ce738713447ddeafe080d5608e

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