Skip to main content

Python SDK for Syva sandboxes

Project description

Syva Python SDK

Install:

pip install syva

Use:

from syva import Image, Sandbox

image = Image("base").python("3.12").pip_install("requests")
sandbox = Sandbox.create(image=image)
result = sandbox.process.exec("python3 --version")
print(result.stdout)
sandbox.destroy()

Set SYVA_API_KEY for the hosted API. Set SYVA_API_URL to point the SDK at a local or self-hosted control plane.

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

syva-0.1.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

syva-0.1.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syva-0.1.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for syva-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d74947681336fcae2fba1e25bfd26ceddc5b59d46ef748335de70f90562067b1
MD5 75f0d86d9cad04bf5c2850bd317e7e04
BLAKE2b-256 6e9fe04124ad87eddba8147c4a1f5b7cfcbb739e1fa6c12c0e0d01cf4016c2de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syva-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for syva-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ee1c32764560b0a0acbbb209d36e48b617c569402d39b4c05197000993d7ee9
MD5 3b98a21b0bfbaba47017c99c86d95bfc
BLAKE2b-256 85716584abbab23edfe552193c671b5faecedd84c76293b4d2361de4023c25e1

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