Skip to main content

A library of custom OmegaConf resolvers

Project description

hya

CI Nightly Tests Nightly Package Tests
Documentation Documentation
Codecov
Code style: black Doc style: google Ruff Doc style: google
PYPI version Python BSD-3-Clause
Downloads Monthly downloads

Overview

hya is a library of custom OmegaConf resolvers. hya is designed to be used with Hydra. The resolvers can be easily registered in your python project by adding the following lines:

from hya import register_resolvers

register_resolvers()

Installation

We highly recommend installing a virtual environment. hya can be installed from pip using the following command:

pip install hya

To make the package as slim as possible, only the minimal packages required to use hya are installed. To include all the packages, you can use the following command:

pip install hya[all]

Please check the get started page to see how to install only some specific packages or other alternatives to install the library. The following is the corresponding hya versions and tested dependencies.

hya omegaconf braceexpand* numpy* torch* python
main >=2.2,<3.0 >=0.1.7,<0.2.0 >=1.21,<3.0 >=1.11,<3.0 >=3.9,<3.13
0.2.4 >=2.2,<3.0 >=0.1.7,<0.2.0 >=1.21,<3.0 >=1.11,<3.0 >=3.9,<3.13
0.2.3 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.21,<2.0 >=1.10,<3.0 >=3.9,<3.13
0.2.2 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.21,<2.0 >=1.10,<3.0 >=3.9,<3.13
0.2.1 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.21,<2.0 >=1.10,<3.0 >=3.9,<3.13
0.2.0 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.21,<2.0 >=1.10,<3.0 >=3.9,<3.13

* indicates an optional dependency

older versions
hya omegaconf braceexpand* torch* python
0.1.3 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.10,<2.2 >=3.9,<3.13
0.1.2 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.10,<2.2 >=3.9,<3.13
0.1.1 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.10,<2.2 >=3.9,<3.12
0.1.0 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.10,<2.2 >=3.9,<3.12
0.0.14 >=2.1,<3.0 >=0.1.7,<0.2.0 >=1.10,<2.2 >=3.9,<3.12
0.0.13 >=2.1,<3.0 >=1.10,<2.1 >=3.9,<3.12
0.0.12 >=2.1,<3.0 >=1.10,<2.1 >=3.9,<3.12

Contributing

Please check the instructions in CONTRIBUTING.md.

API stability

:warning: While hya is in development stage, no API is guaranteed to be stable from one release to the next. In fact, it is very likely that the API will change multiple times before a stable 1.0.0 release. In practice, this means that upgrading hya to a new version will possibly break any code that was using the old version of hya.

License

hya is licensed under BSD 3-Clause "New" or "Revised" license available in LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hya-0.2.4.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

hya-0.2.4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file hya-0.2.4.tar.gz.

File metadata

  • Download URL: hya-0.2.4.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for hya-0.2.4.tar.gz
Algorithm Hash digest
SHA256 7948d6b7cd0470a35e62f3eb7a0dd52a43d1520fe2d4dab0b19ea6b067d0ae12
MD5 45dc0b94031dce6c74d1ae6478a20ff3
BLAKE2b-256 12be198a235558dbb7b28ef4160f7148f282142be441df65e483816da8611b42

See more details on using hashes here.

File details

Details for the file hya-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: hya-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for hya-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed133c0bceaf845496fad4490253889365078714ca296ae34aa0ad022585d51
MD5 749cb0b3a3b5c3c24013cd4e07f577f9
BLAKE2b-256 7bf5c066410233029cb52c165ffddc36636f781930cf2c3d6eea23d76af0576d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page