Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please evaluate OmegaConf and Hydra #194

Closed
omry opened this issue Sep 24, 2020 · 4 comments
Closed

Please evaluate OmegaConf and Hydra #194

omry opened this issue Sep 24, 2020 · 4 comments

Comments

@omry
Copy link

omry commented Sep 24, 2020

Hi, interesting project!
I am the author of OmegaConf and of Hydra.

Take a look at OmegaConf has some powerful features that can help your project:

  • Config composition
  • Interpolations
  • Optional strong runtime type safety (via dataclasses).
    And more.

Hydra could also be of interest, although some of it's default behaviors may be inappropriate for your proejct.

@yaythomas
Copy link
Member

Thanks @omry. Especially the dot-list functionality is very interesting!

@omry
Copy link
Author

omry commented Sep 24, 2020

The dotlist is one of the earlier features in OmegaConf :).
You have another task for schema validation which I think can be addressed easily using Structured Configs.
I am also sure interpolation can help you reduce config duplication (and can also allow transparent access to environment variables):

user: ${env:USER}

@yaythomas
Copy link
Member

that really is very cool! amazing work, thanks for sharing!

@omry
Copy link
Author

omry commented Sep 24, 2020

Glad you like it.
I strongly recommend that you look at Hydra as well, it's significantly more advanced but also more opinionated - and some of the opinions may be somewhat incompatible with your goals.
Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants