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 portal

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.19.tar.gz (3.1 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.19-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zerct-0.1.19.tar.gz
  • Upload date:
  • Size: 3.1 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.19.tar.gz
Algorithm Hash digest
SHA256 4f7a2be0affd35488c388713ab079cad9797ffaee09f7c166e5605ef86e69273
MD5 9851ebb237a44684fcde26ea1950c321
BLAKE2b-256 86ebafea2e1ba9825fdbad5d1fa10582c92f694b759f828eab6e8288c673db09

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: zerct-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 99f44343fcbc736ad58df4ba7face8d731956eb8cf5bc16ad672ec73a07494d3
MD5 0ea56f13eb66bf79699683574b84969c
BLAKE2b-256 860aa6423eb3eb6afe87ea41812111422ff19dc19376e30d17d6d6864547648c

See more details on using hashes here.

Provenance

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