Vuer Hub CLI - environment management plugin for vuer CLI
Project description
Vuer Hub CLI
Environment management plugin for the Vuer CLI. Provides commands for managing simulation environments through the Vuer Hub registry.
Installation
pip install vuer-hub
Or with uv:
uv add vuer-hub
Requirements
- Python >= 3.10
- Vuer CLI (
vuer>=0.1.0)
Quick Start
# 1. Point the CLI at the hub and authenticate
export VUER_HUB_URL=https://api.vuer.ai
vuer login --env production
# 2. Publish an environment directory (must contain environment.json)
vuer envs-publish --directory ./my-environment
# 3. Download it back anywhere
vuer envs-pull my-environment/1.0.0 --output ./downloads
Commands
Once installed, the following commands become available through the vuer CLI:
Authentication
# Login to Vuer Hub (dev environment)
vuer login
# Login to production environment
vuer login --env production
Uses the OAuth Device Flow: the command prints a URL and a code, you authorize
in the browser, and credentials are saved to ~/.vuer/credentials.
Environment Management
# Sync all dependencies from environment.json into vuer_environments/
vuer sync
# Add an environment to environment.json and sync
vuer add some-environment/1.2.3
# Remove an environment from environment.json and sync
vuer remove some-environment/1.2.3
# Upgrade an environment to the latest version
vuer upgrade some-environment
sync resolves transitive dependencies via the backend, downloads each
environment into vuer_environments/<name>/<version>/, and writes an
environments-lock.yaml with the resolved set. Re-running skips
already-synced environments.
Publishing & Pulling
# Publish current directory as an environment
vuer envs-publish
# Publish from a specific directory
vuer envs-publish --directory ./my-environment
# Simulate a publish without uploading (recommended first run)
vuer envs-publish --directory ./my-environment --dry-run
# Pull an environment from the registry (positional name/version)
vuer envs-pull my-environment/1.0.0
# Pull to a custom output directory
vuer envs-pull my-environment/2.0.0 --output ./downloads
envs-publish archives the directory into a .tgz (excluding __pycache__,
.cache, .git and *.pyc) and uploads it. envs-pull streams the archive
with a progress bar and extracts it to <output>/<name>/<version>/.
Note: the same name + version cannot be published twice (the registry returns a conflict). Bump the
versioninenvironment.jsonto publish an update.
The environment.json file
envs-publish, sync, add and remove all operate on an environment.json
in the target directory. Minimum required fields are name and version:
{
"name": "my-environment",
"version": "1.0.0",
"description": "Short description of the environment",
"visibility": "PUBLIC",
"env-type": "genesis",
"dependencies": {
"some-dependency": "1.2.3"
}
}
name— required, no whitespace.version— required, valid semver (e.g.1.0.0).visibility—PUBLIC,PRIVATE, orORG_MEMBERS(defaultPUBLIC).env-type— free-form environment type tag (e.g.genesis,isaac).dependencies— map ofname→versionfor transitive resolution.
Environment Variables
VUER_HUB_URL- Base URL of the Vuer Hub API (e.g.https://api.vuer.ai)VUER_AUTH_TOKEN- JWT token for authentication (alternative tovuer login)VUER_CLI_DRY_RUN- Set to any value (except "0", "false", "False") to enable dry-run mode
Configuration
Credentials are stored in ~/.vuer/credentials after running vuer login.
License
MIT
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 vuer_hub-0.1.0.tar.gz.
File metadata
- Download URL: vuer_hub-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70e7377d6466d60324bc0c298692f6bd24296b97cdd703b391a9610c9716c9b9
|
|
| MD5 |
d564a06479db521db31a08d55a7ad6c0
|
|
| BLAKE2b-256 |
10cb7d52da4fc615790a83dd4691fe8b55c5d871bc69546e5caa25bd9f9e736c
|
File details
Details for the file vuer_hub-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vuer_hub-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7722a4785b306c8fb93c2da6b9932baf42261517a51b25872b321d3a68ddf17b
|
|
| MD5 |
baddc0f0a625d1c1cff6f932f2667630
|
|
| BLAKE2b-256 |
399bf03bc31a7368a8747ce7d53a8653633eb7143f2f0071f245294d3d77dc23
|