Command line tool to create model bundles for Liquid Edge AI Platform (LEAP)
Project description
leap-bundle
Command line tool to create model bundles for Liquid Edge AI Platform (LEAP).
This tool allows you to create, manage, and download AI model bundles for deployment on edge devices. Upload your model directories, track bundle creation progress, and download optimized bundles ready for mobile integration.
Installation
pip install leap-bundle
Commands
| Command | Description |
|---|---|
leap-bundle login <api-token> |
Authenticate with LEAP using API token |
leap-bundle whoami |
Show current authenticated user |
leap-bundle logout |
Logout from LEAP |
leap-bundle config |
Show current configuration |
leap-bundle config --server <url> |
Set server URL (default: https://leap.liquid.ai) |
leap-bundle create |
Submit new bundle request |
leap-bundle list |
List all bundle requests |
leap-bundle list <request-id> |
Show details of a specific request |
leap-bundle cancel <request-id> |
Cancel a bundle request |
leap-bundle download <request-id> |
Download the bundle file for a specific request |
Development
This package uses uv for dependency management.
Setup
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync --dev
Development Commands
uv command |
npm command |
Description |
|---|---|---|
uv run ruff check . |
npm run lint |
Run code linting |
uv run ruff format . |
npm run format |
Format code using ruff |
uv run mypy . |
npm run typecheck |
Run type checking with mypy |
uv run pytest |
npm run test |
Run tests using pytest |
npm run check |
Run all above checks |
Local Development
# Install the package in virtual environment
uv pip install -e .
# Run the CLI
uv run leap-bundle --help
# Or activate the virtual environment and run directly
source .venv/bin/activate
leap-bundle --help
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leap_bundle-0.1.0.tar.gz.
File metadata
- Download URL: leap_bundle-0.1.0.tar.gz
- Upload date:
- Size: 59.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e998512fe59f3d45cb4c0c121ce72b6c90345bc50f2a2972b63b2c17cb957a
|
|
| MD5 |
27eb66b0897d2dfd334cc889b41dfc4f
|
|
| BLAKE2b-256 |
c7c6335797cb11c37716796ea2f05141974e563f9ba9493d0cf442b83bd3f0ee
|
File details
Details for the file leap_bundle-0.1.0-py3-none-any.whl.
File metadata
- Download URL: leap_bundle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a35b90d41a3c8906d2a28299060b8585096e49ab334cfac5308c7f790bf73d87
|
|
| MD5 |
0af14a8502e57707761fa0c3cf2c33e8
|
|
| BLAKE2b-256 |
18c1d45667d40a11faff1af52727655b3307c8d4aa1f16c4a54fed4e94d9a13c
|