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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kamiwaza-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 013f60a8b31dffdf4daefc9e330ae79fc46c7d5d3899d947405db876d02c404b
MD5 af48cad214962c554f08247aee1f4682
BLAKE2b-256 ac9793e2877a4eec1a224bd17eac7d667801625f4c195f4052a0cafb55e12d98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kamiwaza-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 45.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 806a25f489adfffa7d83a0f06d13c3c4c5486cf2f853da13263ce02dd3b7a140
MD5 52f50582b5c7499e31fd5330907d836f
BLAKE2b-256 d835a515cf654f27abc57e7a25e09b0e1e28d9c313c2539b1bbbb7d745eda092

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