Skip to main content

Infrastructure and deployment management CLI for Hetzner, Cloudflare, Neon, GitHub, and Resend

Project description

Vanty CLI

vanty-cli is a standalone Typer-based CLI for infrastructure and deployment work across Hetzner, Cloudflare, Neon, GitHub, and Resend.

Install

uv tool install .
vanty --help

For local development:

uv sync --dev
uv run vanty --help

Environment

Create a .env file in the package root or export the variables directly:

HETZNER_API_TOKEN=
CF_API_TOKEN=
CF_ACCOUNT_ID=
NEON_API_KEY=
RESEND_API_KEY=
GITHUB_TOKEN=
SSH_KEY_PATH=~/.ssh/id_ed25519
DEFAULT_SERVER=
DEFAULT_SERVER_TYPE=cx23
DEFAULT_LOCATION=nbg1
DEFAULT_IMAGE=ubuntu-24.04

Cloudflare also supports CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.

Command Groups

  • vanty server: Hetzner server provisioning, listing, SSH, IP lookup
  • vanty deploy: deploy, logs, exec, status, webhook, deploy keys
  • vanty buckets: Cloudflare zones, DNS, R2 buckets, token helpers
  • vanty db: Neon projects, branches, databases, connection URIs
  • vanty email: Resend domains, API keys, test emails
  • vanty lb: Hetzner load balancers and DNS
  • vanty redis: remote Redis maintenance commands

Examples

vanty env
vanty server provision --name api-1 --domain api.example.com --repo https://github.com/advantch/app.git
vanty deploy full --server api-1 --env-file .env.prod
vanty buckets dns --domain example.com --name api --content 1.2.3.4
vanty db create-project my-project --region aws-eu-central-1
vanty email domains add emails.example.com --cloudflare

CI/CD

  • tests.yml runs Ruff, pytest, and package builds on pushes and pull requests.
  • release.yml builds artifacts, publishes a GitHub release, and publishes to PyPI on v* tags.

Notes

  • server provision reads ops/cloud-init.yaml from this package.
  • The CLI is intentionally standalone and does not depend on Django or llm-data-kit.

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

vanty_cli-0.2.0.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

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

vanty_cli-0.2.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file vanty_cli-0.2.0.tar.gz.

File metadata

  • Download URL: vanty_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vanty_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cad61000bf665154b8de7b1961759b8814b259a6c96b7493173b82c3b54d39a8
MD5 ef94f23b03073c1063469f1a9a22782c
BLAKE2b-256 0eb9c4e07aa74414798d97c8f51bbc5ccbdc229bc059307ec1437ebe17bd9e1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vanty_cli-0.2.0.tar.gz:

Publisher: release.yml on advantch/vanty-cli

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

File details

Details for the file vanty_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vanty_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vanty_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b526c70a1ed3fe974481da15f899e6dc60e5a564f1639cbc07955c726fdc592
MD5 9290e50d0054ba984299b67ce3354c13
BLAKE2b-256 271db0ca399ec1d6b60545aeecde82562e9b8d991fdd7b124cae968f6250cf0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vanty_cli-0.2.0-py3-none-any.whl:

Publisher: release.yml on advantch/vanty-cli

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