Skip to main content

Deploy Rust backends, static frontends, and fullstack apps to Tovuk.

Project description

tovuk

Python CLI package for deploying Rust backends, static frontends, and fullstack apps to Tovuk. It delegates to the npm Tovuk CLI so PyPI stays aligned with the primary agent command surface.

pipx install tovuk
tovuk init my-app --template fullstack-rust-tanstack
cd my-app/web && bun install && cd ..
tovuk doctor --json
tovuk preview
tovuk deploy --wait --json

From a fullstack repo root, tovuk deploy reads one root tovuk.toml, builds the backend and frontend roots, and returns one app URL with /api/* routed to the Rust backend.

Rust backend deploys require cargo fmt --all --check, locked release-mode cargo check, locked release-mode tests, and strict all-target, all-feature Clippy with panic/unwrap bans plus resource-sensitive lints.

Static frontend deploys require TypeScript browser source, stable native type-aware TypeScript checks, native linting such as oxlint, biome check, or deno lint, and Fallow dead-code, semantic duplicate-code, and health gates.

The npm package remains the primary first install path:

npx tovuk deploy

Python installs require Node.js 18+ with npx available at runtime.

The Python package exposes the same agent command surface as npm:

tovuk capabilities
tovuk me
tovuk usage
tovuk activity --json
tovuk apps
tovuk overview --app app_1 --json
tovuk deploys --app app_1
tovuk builds
tovuk logs --deploy deploy_1 --limit 100 --json
tovuk env list --app app_1
tovuk env set --app app_1 API_KEY=value
tovuk env delete --app app_1 API_KEY
tovuk domains add --app app_1 api.example.com
tovuk domains verify --app app_1 api.example.com
tovuk billing checkout --json
tovuk billing portal
tovuk support create "Deploy failed" "Agent retried deploy after doctor." --app app_1 --build job_1 --deploy deploy_1 --failing-command "tovuk deploy --wait --json" --first-log-line "cargo check failed in src/main.rs" --json
tovuk support list --json
tovuk support resolve ticket_0123456789abcdef0123 --json

Agent repair loop:

tovuk doctor --json
tovuk deploy --wait --json
tovuk logs --build job_1 --json

Fix the first failed agent_instruction. If a build fails, inspect build logs, fix the first actionable log error, rerun doctor, then redeploy.

On first deploy, the CLI opens browser login, waits for GitHub or Google, stores the Tovuk session in the OS credential store when available, and continues the deploy. Later commands reuse that session.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tovuk-0.1.50.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tovuk-0.1.50-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file tovuk-0.1.50.tar.gz.

File metadata

  • Download URL: tovuk-0.1.50.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tovuk-0.1.50.tar.gz
Algorithm Hash digest
SHA256 187fe8144cf0a9efa1ecd9208c9757f5765d2dd27985c76a0c036ef95e2061a4
MD5 198518bccd9980742940f9bc13bb9697
BLAKE2b-256 3987574c7357cf3a9600dd2a1edcde8da4ce5f65c1f7c46aa52d9e9b8bbb2d4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tovuk-0.1.50.tar.gz:

Publisher: publish-pypi.yml on tovuk/tovuk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tovuk-0.1.50-py3-none-any.whl.

File metadata

  • Download URL: tovuk-0.1.50-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tovuk-0.1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 53244995d2149b494def16e924cbc7d4a6c23d92adc7ff08ba7ade695d5bdbe5
MD5 c705461e3cc4a2945d95485446e770a5
BLAKE2b-256 84bad83adb3e3d4252c2c96acbe7e4f9ac1867a59af1607738b4be5af0f3ed90

See more details on using hashes here.

Provenance

The following attestation bundles were made for tovuk-0.1.50-py3-none-any.whl:

Publisher: publish-pypi.yml on tovuk/tovuk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page