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

# Databases
sandflare db create
sandflare db list
sandflare db connect psql-1
sandflare db delete psql-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
sf db 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-0.1.0.tar.gz (5.7 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-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sandflare_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 332446a8c05ac62520ae472b64aa4b71a8eb60c978b34694ea4b1054f66ef0c0
MD5 3d3ba5f0b1d612f42032f499bbee37a0
BLAKE2b-256 021d3358ec70e69c92c8cf2ebb0cab40b24b5ffb67192e1d4565b866656a0f1e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sandflare_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31693099566f61e4d31041b644bedd7c9c7639d307137654d85fa315ea536719
MD5 1275f6ad25253444e62d0040b934d31a
BLAKE2b-256 d5d00f8f0cba45831aabcafe6f731f60bf6f66827b4aca967973b757b0fdd920

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