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_apiwebsocket protocol - High-level classes for
Daemon,Box,BoxFs,BoxCheckpoint, andBoxShell pytestsmoke 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 94.2 MB
- Tags: CPython 3.11+, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73526109b4f5b4000ce2b16550ad9e0a30aa06000fcb5a592c56ce34e1681c5e
|
|
| MD5 |
347ef34c215b1df8bb4a7d6e74f51a67
|
|
| BLAKE2b-256 |
5d2115fa8e03859c640468d423667d6d16027aa310b3c4d11433653f5c2ddd6a
|
File details
Details for the file sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_aarch64.whl.
File metadata
- Download URL: sagens-0.0.0.0.3-cp311-abi3-manylinux_2_39_aarch64.whl
- Upload date:
- Size: 101.6 MB
- Tags: CPython 3.11+, manylinux: glibc 2.39+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fbdc18fa4447f677241a60e48f451d03fd1cb19cad4e3f9cd5459d80a1ba4a9
|
|
| MD5 |
99fa99196d54a26e05e8b3b0f93ecb8b
|
|
| BLAKE2b-256 |
14a3ef65177e4cc340fe2b4394b922982901fb838884bf731a947040b91c5a7d
|
File details
Details for the file sagens-0.0.0.0.3-3-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: sagens-0.0.0.0.3-3-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d7a9ab1f68d2b635c3c8a7a89d9494400440dfbb6ba474c515089a349a7fbd5
|
|
| MD5 |
f967dd6ad96eb8089b0acaae3df07e21
|
|
| BLAKE2b-256 |
4245ee3715e1a966d5e1e426731f93cc628ea2f2b7f8dbe5c1581aa6b569f145
|