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.3

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.3
File Size Uploaded
jetstan_cli-0.1.3.tar.gz 21.7 kB Details

Built distribution (wheel)

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

Total release size: 40.1 kB

Release files / jetstan_cli-0.1.3.tar.gz

Download URL jetstan_cli-0.1.3.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
344244db97534d7eee121f1609af85533c97829f8be84b53e1c2834c7c5e446f
BLAKE2b-256 checksum
How to use checksums
4f1a530d066c0090a2056883dd7cffa5658bdc33a59f989e1edf8226b88d43b3
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.3-py3-none-any.whl

Download URL jetstan_cli-0.1.3-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce3ebf0617c201b9f3691752ec8c8d1c1cfae8ccd775d6553351799e1e309f72
BLAKE2b-256 checksum
How to use checksums
435f3b1b900a3c5801492d69eb7caf7686dbccf65fde6078d81725c6966ad16f
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

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

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