API Reference¶
The public API is intentionally small and centered on a few building blocks:
setup_uv()and theuv_pip_*()helpers for environment bootstrap.pytest()andpytest_bench()for test execution.supports_cuda()andcuda_driver_version()for GPU-aware session guards.
Use the pages in this section when you need exact signatures or parameter behavior. The user guide is the better place to start if you want examples first.
liblaf.nox_recipes
¶
Composable helpers for building nox sessions.
liblaf.nox_recipes packages a small set of focused helpers for common
automation tasks:
- bootstrapping
uv-managed environments, - running
pytestwith project-friendly defaults, and - guarding CUDA-only sessions on machines without NVIDIA drivers.
The package is designed to be imported into a noxfile.py and used from
regular @nox.session functions.