Skip to content

v0.2.0

Choose a tag to compare

@teaguesterling teaguesterling released this 30 Mar 23:21
· 44 commits to main since this release

nsjail-python v0.2.0

Binary Distribution

nsjail-python now supports bundling the nsjail binary.

pip install nsjail-python            # core library (expects nsjail on PATH)
pip install nsjail-python[binary]    # includes pre-built nsjail (x86_64/aarch64)
pip install nsjail-python[build]     # build nsjail from source
pip install nsjail-python[proto]     # protobuf validation support

New Features

  • Runner.async_run() — async subprocess execution
  • Jail.run() / Jail.async_run() — execute directly from builder chain
  • to_protobuf() serializer — convert configs to protobuf messages
  • Code generator — emits config.py, enums.py, _field_meta.py from config.proto
  • Companion packages — nsjail-bin, nsjail-bin-build, nsjail-bin-none