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.2.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-0.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sandflare_cli-0.2.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.7

File hashes

Hashes for sandflare_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2118bc08db39158f285b4175e941a4f381a604e829785ee60fb8a34ef04fbb0d
MD5 d883aab0b7976b249382af8559a0d7e4
BLAKE2b-256 8f5c2cdb2a3cdb553f0556b7f32838c76309aa52b35e9a00e669ccabeb3286ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sandflare_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 630ef503258382e8d99e8e0245099d4a6e0098f97a54a40b3b0e2dad8654437a
MD5 a6a76a3e475481b0b06501b71be1a654
BLAKE2b-256 81815b3b324d2fc7f0a3e5399929a2d81431b375c19e070b41d8e5e8d7aaa303

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