# leap-bundle
Command line tool to create model bundles for Liquid Edge AI Platform ([LEAP](https://leap.liquid.ai)).
This tool enables everyone 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
```bash
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 validate <input-path>` | Validate directory for bundle creation |
| `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
```bash
# 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
```bash
# 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
[LFM Open License v1.0](https://www.liquid.ai/lfm-license)
Raw data
{
"_id": null,
"home_page": null,
"name": "leap-bundle",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Liren Tu <liren@liquid.ai>",
"keywords": "ai, cli, edge-model, machine-learning",
"author": null,
"author_email": "Liquid AI <leap@liquid.ai>",
"download_url": "https://files.pythonhosted.org/packages/75/f2/7d90362af1d432b02e1ad7c0708e60af20c13b25c247d9f9edca26f458e5/leap_bundle-0.2.0.tar.gz",
"platform": null,
"description": "# leap-bundle\n\nCommand line tool to create model bundles for Liquid Edge AI Platform ([LEAP](https://leap.liquid.ai)).\n\nThis tool enables everyone 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.\n\n## Installation\n\n```bash\npip install leap-bundle\n```\n\n## Commands\n\n| Command | Description |\n| --- | --- |\n| `leap-bundle login <api-token>` | Authenticate with LEAP using API token |\n| `leap-bundle whoami` | Show current authenticated user |\n| `leap-bundle logout` | Logout from LEAP |\n| `leap-bundle config` | Show current configuration |\n| `leap-bundle validate <input-path>` | Validate directory for bundle creation |\n| `leap-bundle create` | Submit new bundle request |\n| `leap-bundle list` | List all bundle requests |\n| `leap-bundle list <request-id>` | Show details of a specific request |\n| `leap-bundle cancel <request-id>` | Cancel a bundle request |\n| `leap-bundle download <request-id>` | Download the bundle file for a specific request |\n\n## Development\n\nThis package uses `uv` for dependency management.\n\n### Setup\n\n```bash\n# Install uv if you haven't already\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n\n# Install dependencies\nuv sync --dev\n```\n\n### Development Commands\n\n| `uv` command | `npm` command | Description |\n| --- | --- | --- |\n| `uv run ruff check .` | `npm run lint` | Run code linting |\n| `uv run ruff format .` | `npm run format` | Format code using ruff |\n| `uv run mypy .` | `npm run typecheck` | Run type checking with mypy |\n| `uv run pytest` | `npm run test` | Run tests using pytest |\n| | `npm run check` | Run all above checks |\n\n### Local Development\n\n```bash\n# Install the package in virtual environment\nuv pip install -e .\n\n# Run the CLI\nuv run leap-bundle --help\n# Or activate the virtual environment and run directly\nsource .venv/bin/activate\nleap-bundle --help\n```\n\n## License\n\n[LFM Open License v1.0](https://www.liquid.ai/lfm-license)\n",
"bugtrack_url": null,
"license": "LFM Open License v1.0",
"summary": "Command line tool to create model bundles for Liquid Edge AI Platform (LEAP)",
"version": "0.2.0",
"project_urls": {
"Documentation": "https://leap.liquid.ai/docs/leap-bundle/quick-start",
"Homepage": "https://leap.liquid.ai",
"License": "https://www.liquid.ai/lfm-license"
},
"split_keywords": [
"ai",
" cli",
" edge-model",
" machine-learning"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "02ba49d723a2c02ba1afe86201ab7e322c464f926d42aa0a3540735c83b39351",
"md5": "242b189b84142958a6c341e2e5f6b6f9",
"sha256": "71b9652d179793de05610a16173423a98598f314aeefebd09affe208b60e445b"
},
"downloads": -1,
"filename": "leap_bundle-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "242b189b84142958a6c341e2e5f6b6f9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17379,
"upload_time": "2025-08-12T11:03:02",
"upload_time_iso_8601": "2025-08-12T11:03:02.039500Z",
"url": "https://files.pythonhosted.org/packages/02/ba/49d723a2c02ba1afe86201ab7e322c464f926d42aa0a3540735c83b39351/leap_bundle-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "75f27d90362af1d432b02e1ad7c0708e60af20c13b25c247d9f9edca26f458e5",
"md5": "ded0a999618ae4c39c8b7bca5738282b",
"sha256": "9c57f12df155f3f1416769c5ce10f6a5e78631f329b4edf57dc92c03105d5743"
},
"downloads": -1,
"filename": "leap_bundle-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "ded0a999618ae4c39c8b7bca5738282b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 12523,
"upload_time": "2025-08-12T11:03:02",
"upload_time_iso_8601": "2025-08-12T11:03:02.914029Z",
"url": "https://files.pythonhosted.org/packages/75/f2/7d90362af1d432b02e1ad7c0708e60af20c13b25c247d9f9edca26f458e5/leap_bundle-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-12 11:03:02",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "leap-bundle"
}