Skip to main content

Deploy Rust backends and static frontends to Zerct.

Project description

zerct

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

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

From a full-stack repo root, zerct deploy discovers nested zerct.toml files and deploys the whole workspace in one command.

Rust backend deploys require cargo fmt --all --check, locked cargo check, and locked all-target, all-feature Clippy with -D warnings.

Static frontend deploys require TypeScript browser source, tsgo --noEmit for typecheck, and native linting such as oxlint, biome check, or deno lint.

The npm package remains the primary first install path:

npx @zerct/zerct deploy

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

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

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

Agent repair loop:

zerct doctor --json
zerct deploy --wait --json
zerct 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 Zerct 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

zerct-0.1.20.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

zerct-0.1.20-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file zerct-0.1.20.tar.gz.

File metadata

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

File hashes

Hashes for zerct-0.1.20.tar.gz
Algorithm Hash digest
SHA256 5b00a2dfd6032b84b7216f2481ac29b71be8ef0c08bc4378e46f11e91de16a3e
MD5 1edf5445649017342df90606acff96d8
BLAKE2b-256 9262b1f0c56efbf8df7f9df5e94c5c050557384657d1f5cfd1ad53836956489a

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerct-0.1.20.tar.gz:

Publisher: publish-pypi.yml on Zerct/zerct

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

File details

Details for the file zerct-0.1.20-py3-none-any.whl.

File metadata

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

File hashes

Hashes for zerct-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 af8282f34a94dc2028304542359a6fed51ae99ff34f32e5ed9596fd1c08ee963
MD5 21559ea5905930db5e2cd957c74b638a
BLAKE2b-256 4a002cb52703d61bde9809a6f99f2be26997098dc743f2de5e031f68d2be627c

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerct-0.1.20-py3-none-any.whl:

Publisher: publish-pypi.yml on Zerct/zerct

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