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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hai-0.4.1.tar.gz | 11.5 kB | Without provenance | Details for hai-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hai-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for hai-0.4.1-py3-none-any.whl |
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
|
Security for hai 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.