lerna is a rewrite of hydra in rust, including plugins and extensions
HEALTH ? 90 / Healthy
lerna is a rewrite of hydra in rust, including plugins and extensions
// readme
A high-performance configuration framework for Python applications, built with Rust.
Lerna is a rewrite of Facebookβs Hydra configuration framework. It provides the same powerful API with significantly improved performance through a Rust core.
import hydra to import lernapip install lerna
import lerna
from omegaconf import DictConfig
@lerna.main(config_path="conf", config_name="config")
def my_app(cfg: DictConfig) -> None:
print(cfg.db.driver)
print(cfg.db.user)
if __name__ == "__main__":
my_app()
Lerna is a **drop-inβ¦