Skip to main content

jetstan-cli

Engineer-facing CLI for Jetstan fleet operations. Installs its own console script, jetstan, independently of jetstan-agent — this is a standalone PyPI package, not a submodule of the OTA agent.

jetstan talks to the Control Plane (cloud-logics) over HTTP only. It never talks to PostgreSQL or MQTT directly (see the repo root TECHNICAL.md for the full architecture).

Phase 2.1 status

Exactly three commands exist:

jetstan --help
jetstan --version
jetstan health

Nothing else. jetstan_cli/commands/*.py are documented placeholders for future subcommands (publish, deployment-group, deployment, release) — not wired into the CLI yet, since the Control Plane has no business logic to back them.

jetstan_deploy.py, the working release tool relocated here from the old top-level scripts/, is unrelated to the jetstan command and still runs via python -m jetstan_cli.jetstan_deploy.

Installing

cd jetstan-cli
pip install -e .

Or, once published:

pip install jetstan-cli

Either way, this registers the jetstan console script.

Configuration

jetstan health needs to know where the Control Plane is. Set JETSTAN_API — there is no hardcoded default:

cp .env.example .env
# edit .env: JETSTAN_API=http://127.0.0.1:8123

jetstan_cli/config.py reads this from the environment (or from jetstan-cli/.env for local development, the same convention every other package in this repo already uses).

Usage

jetstan --help
jetstan --version

jetstan health
# ✓ Control Plane Healthy      (exit code 0)
# or
# ✗ Control Plane Unreachable  (exit code 1)

Testing

pip install -e ".[dev]"
pytest

Release files for jetstan-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jetstan-cli 0.1.1
File Size Uploaded
jetstan_cli-0.1.1.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jetstan-cli 0.1.1
File Interpreter ABI Platform
jetstan_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.5 kB

Release files / jetstan_cli-0.1.1.tar.gz

Download URL jetstan_cli-0.1.1.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
27d07b3a7e4a5d24984565503e2dc235fb28a53d7634d96f6242fe87cb339323
BLAKE2b-256 checksum
How to use checksums
f5d6f87054c6631b5f31a9b37f9260389b20ca6a78a531e891962ad157a0bb92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / jetstan_cli-0.1.1-py3-none-any.whl

Download URL jetstan_cli-0.1.1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a12b8c3df66f9f7479d3af4d3577129456e294686cfee0847c78f2decc56512
BLAKE2b-256 checksum
How to use checksums
0514669388b4f24bde78ed47ea34c8184901ac6dd35404c6641a3b35bb7b6082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page