Skip to main content

Python bindings and client APIs for sagens microVM sandboxes.

Project description

sagens Python

Python package for managing sagens daemons and BOX workspaces.

What it includes

  • Rust bindings for daemon lifecycle helpers and smoke-test server bootstrap
  • A synchronous Python client for the box_api websocket protocol
  • High-level classes for Daemon, Box, BoxFs, BoxCheckpoint, and BoxShell
  • pytest smoke and gated full e2e coverage

Local development

Build the host binary and stage it into the package layout:

cargo run --bin xtask -- dev --python-package-root python

Install the package in editable mode:

python3 -m pip install -e python[test]

Run smoke tests:

python3 -m pytest python/tests -q

Run full e2e when runtime assets and env are ready:

SAGENS_RUN_E2E=1 python3 -m pytest python/tests/test_e2e.py -q

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_x86_64.whl (94.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.39+ x86-64

sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_aarch64.whl (101.6 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.39+ ARM64

sagens-0.0.0.0.3-3-cp311-abi3-macosx_11_0_arm64.whl (79.2 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 73526109b4f5b4000ce2b16550ad9e0a30aa06000fcb5a592c56ce34e1681c5e
MD5 347ef34c215b1df8bb4a7d6e74f51a67
BLAKE2b-256 5d2115fa8e03859c640468d423667d6d16027aa310b3c4d11433653f5c2ddd6a

See more details on using hashes here.

File details

Details for the file sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 5fbdc18fa4447f677241a60e48f451d03fd1cb19cad4e3f9cd5459d80a1ba4a9
MD5 99fa99196d54a26e05e8b3b0f93ecb8b
BLAKE2b-256 14a3ef65177e4cc340fe2b4394b922982901fb838884bf731a947040b91c5a7d

See more details on using hashes here.

File details

Details for the file sagens-0.0.0.0.3-3-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sagens-0.0.0.0.3-3-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d7a9ab1f68d2b635c3c8a7a89d9494400440dfbb6ba474c515089a349a7fbd5
MD5 f967dd6ad96eb8089b0acaae3df07e21
BLAKE2b-256 4245ee3715e1a966d5e1e426731f93cc628ea2f2b7f8dbe5c1581aa6b569f145

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