hai — Utility Library for Python
hai
is a collection of helpful Python snippets used at Valohai.
Usage
pip install hai
python
>>> import hai; print(hai.__version__)
Development
Installing editable library version in the current virtual environment for development.
pip install -e . -r requirements-test.txt pre-commit && pre-commit install
pre-commit run --all-files
pytest
python
>>> import hai; print(hai.__version__)
Releases
The library is released to both GitHub Releases (https://github.com/valohai/hai)
and PyPI (https://pypi.org/project/hai/) simultaneously.