Skip to main content

Python SDK 0.2.0 — first stable release, on PyPI

The first stable release of the Valen HTTP and modular ONNX SDK for Python, published on PyPI as valen-sdk.

Highlights​

  • Decisions and SystemOne requests over HTTP, and local inference with modular ONNX bundles.
  • Local asset integrity checks and offline caching; text, image and video preprocessing.
  • Promotes the 0.2.0 development API without a request/response schema change.

Compatibility​

  • HTTP clients need Python 3.10+; local ONNX inference needs Python 3.11+ and ONNX Runtime 1.31+.
  • ONNX format_version=2, contract_version=valen-decisions-1.
  • GGUF models are served through HTTP, not Valen.local.

Validation​

  • 28 contract tests pass on the packaged distribution, which also passed Linux CPU 0.8B ONNX FP32 text inference.
  • Published through PyPI Trusted Publishing. The downloaded wheel passed SHA256 verification, matched the GitHub release source, installed offline with no dependency downloads, and passed the 28 contract tests.

Install​

Terminal
python -m pip install valen-sdk==0.2.0 # HTTP clients
python -m pip install "valen-sdk[onnx]==0.2.0" # local CPU inference

The GitHub release also carries the wheel, sdist, SHA256SUMS and validation.json.