New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hai

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hai

Toolbelt library

  • 0.4.1
  • PyPI
  • Socket score

Maintainers
2

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc