Skip to main content

Sandflare CLI — manage sandboxes and databases

Project description

Sandflare CLI

Zero-dependency Python CLI for managing Sandflare sandboxes and databases.

Install

pip install sandflare-cli
# or from source:
pip install -e sdk/cli/

Quick Start

# Save your API key once
sandflare config set-key pa_live_your_key_here

# Sandboxes
sandflare sandbox create --template python
sandflare sandbox list
sandflare sandbox exec sb-1 python3 -c "print('hello')"
sandflare sandbox shell sb-1
sandflare sandbox delete sb-1

# API Keys
sandflare keys list
sandflare keys create --label "CI/CD"
sandflare keys revoke <key-id>

Environment Variables

Variable Description
SANDFLARE_API_KEY API key (preferred)
PANDAAGENT_API_KEY Legacy API key env alias
SANDFLARE_API_URL API base URL (default: https://api.sandflare.io)

Aliases

Preferred commands:

sandflare sandbox create --template node
sf sb ls

Legacy pandaagent / pa aliases can remain during migration.

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

sandflare_cli-2.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

sandflare_cli-2.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file sandflare_cli-2.0.0.tar.gz.

File metadata

  • Download URL: sandflare_cli-2.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sandflare_cli-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b37342dabd7b00d3f9d76665280c59d97a8ae7a481c6d14f73a09bdf7de1ad2e
MD5 831e8f763e91502122e5be2083a6a575
BLAKE2b-256 056f3dab720e6d8e5ce06e426802b3d96995333f67bff0c633256d387bd8f388

See more details on using hashes here.

File details

Details for the file sandflare_cli-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sandflare_cli-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sandflare_cli-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d3cb2bdc6b947260f50fe7c9a6e44f6c1ba31e4bf6f3271954133f3180939eb
MD5 2cd5b8b5b2ebfaa13852c12529fd0111
BLAKE2b-256 275750593afccb47e846bb50f404f143bb6946f073eabc6a9cb8c5eade1a3db8

See more details on using hashes here.

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