XBOW Validation Benchmarks SDK
Python SDK for managing XBOW validation benchmark environments.
Installation
pip install xbow-validation-benchmarks-sdk
Quick Start
from xbow_validation_benchmarks_sdk.managers.repository import BenchmarkRepository
from xbow_validation_benchmarks_sdk.managers.environment import EnvironmentManager
from xbow_validation_benchmarks_sdk.models.benchmark import Benchmark
# Initialize repository (auto-clones if needed)
repository = BenchmarkRepository()
# List available benchmarks
benchmark_ids = repository.list_benchmarks()
# Load a benchmark
benchmark_path = repository.get_benchmark_path(benchmark_ids[0])
benchmark = Benchmark.model_validate_json(
(benchmark_path / "benchmark.json").read_text()
)
# Create and start environment
env_manager = EnvironmentManager(repository=repository)
environment = env_manager.create_environment(benchmark=benchmark, flag="FLAG{test}")
env_manager.start_environment(environment)
# Access targets
for target in environment.targets:
print(f"Target: {target.host}:{target.port}")
# Cleanup
env_manager.stop_environment(environment)
env_manager.destroy_environment(environment)
Features
- Repository Management: Auto-clone and update benchmark repositories
- Environment Isolation: Each environment gets unique ports and isolated containers
- Docker Integration: Seamless Docker Compose orchestration
- Flag Injection: Dynamic flag configuration for CTF-style benchmarks
Requirements
- Python >= 3.12
- Docker
License
MIT
Metadata
Release files for xbow-validation-benchmarks-sdk 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xbow_validation_benchmarks_sdk-0.0.14.tar.gz | 27.0 kB | Without provenance | Details for xbow_validation_benchmarks_sdk-0.0.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xbow_validation_benchmarks_sdk-0.0.14-py3-none-any.whl | Python 3 | none | any | Details for xbow_validation_benchmarks_sdk-0.0.14-py3-none-any.whl |
Total release size: 33.0 kB
Release files / xbow_validation_benchmarks_sdk-0.0.14.tar.gz
| Download URL | xbow_validation_benchmarks_sdk-0.0.14.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22eb9b191b9ceb7319a51cdae539a5b0819ad4c9b3547e08d5cacffbfa1ec93c
|
|
BLAKE2b-256 checksum How to use checksums |
0f4c02fd3a483be4bf70044ee59b29dc237db658bf4ca0dc265c948b2016c5f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / xbow_validation_benchmarks_sdk-0.0.14-py3-none-any.whl
| Download URL | xbow_validation_benchmarks_sdk-0.0.14-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b988c157fc928f80e9405596e9ebfa7df709fbc6260ab63cf13a7e9d54db63f
|
|
BLAKE2b-256 checksum How to use checksums |
98b175157480ab4c116f99b56c3e95f14a799265e59ed3b336d30b70b6a0f7f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for xbow-validation-benchmarks-sdk 0.0.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.