Skip to main content

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.

# development dependencies require Python 3.8+
pip install -e . -r requirements-test.txt pre-commit && pre-commit install

# if you want to manually run lints...
pre-commit run --all-files

# if you want to run tests...
pytest

# if you want to try it out...
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.

Release files for hai 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hai 0.4.1
File Size Uploaded
hai-0.4.1.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hai 0.4.1
File Interpreter ABI Platform
hai-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / hai-0.4.1.tar.gz

Download URL hai-0.4.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5257f788016eb9ad6e4442ead3a532bf3d347929d0d272045d07265c1a1f51d8
BLAKE2b-256 checksum
How to use checksums
6fa4f15677a4fb71c3b5cdf0644f2e8f8e797f71d6b207d5552cb4b894444e3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / hai-0.4.1-py3-none-any.whl

Download URL hai-0.4.1-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da2d3262e2539f086997a7b5697e0cbc48c04f18a1e507881adc1cb41d188d9d
BLAKE2b-256 checksum
How to use checksums
d76c951812f0afea3e87f2453fc9c66d63b699f62cfb718d9930b01d39e3992b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.0

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.5

1 release file

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page