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.21.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.21-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zerct-0.1.21.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.21.tar.gz
Algorithm Hash digest
SHA256 b98c9f34b7fb00c149897beabd14c373e4a3ede7c3056d7fb63aa68fb05e6025
MD5 6053ad9f1b0d9054264c214b11076287
BLAKE2b-256 8b3c082980845cd5f64c2284cb5a82dd6eeeb348c29b6f1ce56a799724ba320c

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerct-0.1.21.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.21-py3-none-any.whl.

File metadata

  • Download URL: zerct-0.1.21-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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 4788d0d6aa58b5b2f319e3c170d5b89a143ae37f27bf6cd361d107426408e3d7
MD5 6396cdcf91d8754b754f15b8c4c1a50e
BLAKE2b-256 fc84071537f870fbb12cc29ccd81486eaa9f3aae7824c2ba61b5021f1e0fd136

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerct-0.1.21-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