Skip to main content

KoalaVault model converter tool for producers

Project description

Koava - KoalaVault Model Converter

PyPI version PyPI - Python Version License

Koava is the official CLI tool for encrypting and managing AI models on the KoalaVault platform.

Features

  • 🔐 Encrypt Models: Convert safetensors files to encrypted CryptoTensors format
  • ☁️ Upload to KoalaVault: Push encrypted models to the KoalaVault platform
  • 🤗 Hugging Face Integration: Automatically create and push to HF repositories
  • 🔄 Backup & Restore: Automatic backup before encryption with restore capability

Installation

# Build from source
cargo build --release

# Or install via pip (when published)
pip install koava

Quick Start

# 1. Login with your API key
koava login

# 2. Push your model (create + encrypt + upload + HF push)
koava push ./my-model

# 3. Check status
koava status

Commands

Command Description
login Authenticate with KoalaVault
push Complete workflow: create + encrypt + upload
encrypt Encrypt safetensors files
upload Upload encrypted model
create Create model on server
list List model files
remove Delete model files
restore Restore from backup
status Show authentication status
config Configure settings
logout Clear credentials

Examples

Encrypt a Model

# Encrypt in-place (creates automatic backup)
koava encrypt ./my-model

# Encrypt to a different directory
koava encrypt ./my-model --output ./encrypted-model

# Dry run (preview what would be done)
koava encrypt ./my-model --dry-run

Complete Push Workflow

# Push with default settings
koava push ./my-model

# Push with custom name and description
koava push ./my-model --name my-model-v2 --description "Updated version"

# Create public HF repository
koava push ./my-model --public

Manage Models

# List files for a model
koava list my-model

# Remove model files from server
koava remove my-model

# Restore from backup
koava restore ./my-model

Configuration

Configuration is stored in ~/.config/koalavault/config.json.

# Show current config
koava config show

# Set timeout
koava config set-timeout 60

# Configure HF CLI path
koava config set-huggingface-cli auto

Custom Configuration File

You can specify a custom configuration file path using the global --config or -c flag. This is useful for managing multiple configuration profiles.

# Use a custom config file for a specific command
koava -c ./my-custom-config.json config show

# All commands support this flag
koava --config /path/to/config.json status

Requirements

  • Rust 1.80+ (for building)
  • Python 3.8+ (for pip installation)
  • Hugging Face CLI (hf) for push functionality

License

Licensed under the Apache License, Version 2.0. See LICENSE file for details.

Links

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

koava-0.1.0.tar.gz (108.5 kB view details)

Uploaded Source

Built Distributions

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

koava-0.1.0-py3-none-win_arm64.whl (5.9 MB view details)

Uploaded Python 3Windows ARM64

koava-0.1.0-py3-none-win_amd64.whl (6.1 MB view details)

Uploaded Python 3Windows x86-64

koava-0.1.0-py3-none-manylinux_2_34_x86_64.whl (6.3 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

koava-0.1.0-py3-none-manylinux_2_34_aarch64.whl (6.1 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

koava-0.1.0-py3-none-macosx_11_0_arm64.whl (6.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

koava-0.1.0-py3-none-macosx_10_12_x86_64.whl (6.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: koava-0.1.0.tar.gz
  • Upload date:
  • Size: 108.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for koava-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d07e14fab8e61dd150fe9637fd57bc707c108382605cf7fe7b60bb04e2904e1
MD5 e1be12d61e81340d8f9a4680192a8f6e
BLAKE2b-256 cf706405fef666e7d1343f7155be87dad245a0d1caa832363a2611597c4ab0d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0.tar.gz:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: koava-0.1.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for koava-0.1.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 35f8527b4070a441b24ca82e157565550f1767dfa8f6474154d11b4f735f3dff
MD5 6eccfc149e5267ce8a217d2f783a2cec
BLAKE2b-256 13d5624b0b67cc04b26097d567fe36e88b0bdaec7fa2d88dca6ed68326638d7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-win_arm64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: koava-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for koava-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3a6ddb4bbee2c58b5f2adf0034d4a3e46a0ddada25e5640f13a05206bd67b007
MD5 13f4f6b17904239be1445487edb4309b
BLAKE2b-256 295d62c4c87ac40a5e99abcf8367b40482e2089c83efdd92c1d8fe53cbd60c12

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-win_amd64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for koava-0.1.0-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 add9e6268765bd6e8d5fe9d3c8421ffb0738126d68443cf9709afdfc81a6a0f4
MD5 825ddf67ffa920f3e6648bbab3d2450e
BLAKE2b-256 ca8f65b860d482c844922e704929ba2eef091bcfbaa83b04bdd72cba3dd5c678

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-manylinux_2_34_x86_64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for koava-0.1.0-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 1545228a6814f50c40fa16b245796252618cda0ce96272ccfa578d5511ad9264
MD5 72e0fde40624b0fbb925115f37012388
BLAKE2b-256 3869675d730a83c5c57f8297a47a8f3d0f13085a3c318c9a46a1d2f06effdf87

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-manylinux_2_34_aarch64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: koava-0.1.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for koava-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f309d859d5072c6e27bd087b6f742e0feef60f3f7f837e6e9d01a7c14939588
MD5 fe4cb270add37154d5c10554157700f6
BLAKE2b-256 cd7149a935fe832e28d2f3d2ea066eb0c1a9a82773846929efb29f44662edb47

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-macosx_11_0_arm64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koava-0.1.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for koava-0.1.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1bb28c883953f15108440a1c6be4c3861f47df68ceb16807f942c2bb96a81b73
MD5 7eb2f62461103b9b84c9d3e3357fbd4e
BLAKE2b-256 f0b26fe181b00524b729f562e0448140c8b812c3b8b5499dd909c7e18c4d7fb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for koava-0.1.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: koava-release.yml on KoalaVault-ai/koava

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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