hydra VS strictyaml

Compare hydra vs strictyaml and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
hydra strictyaml
14 21
8,229 1,411
1.6% -
6.3 1.9
21 days ago about 2 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hydra

Posts with mentions or reviews of hydra. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-19.
  • Hydra – a Framework for configuring complex applications
    1 project | news.ycombinator.com | 24 Sep 2023
  • Show HN: Hydra - Open-Source Columnar Postgres
    6 projects | news.ycombinator.com | 19 Sep 2023
    Nice tool, only unfortunate name, consider changing it. Already very well know security tool named hydra https://github.com/vanhauser-thc/thc-hydra been around since 2001. Then facebook went ahead and named their config tool hydra https://github.com/facebookresearch/hydra on top of it. Like we get it, hydra popular mythology but we could use more original naming for tools
  • Show HN: Hydra 1.0 – open-source column-oriented Postgres
    12 projects | news.ycombinator.com | 3 Aug 2023
    This looks really impressive, and I'm excited to see how it performs on our data!

    P.S., I think the name conflicts with Hydra, the configuration management library: https://hydra.cc/

  • Best practice for saving logits/activation values of model in PyTorch Lightning
    3 projects | /r/deeplearning | 19 Jul 2023
    I've been trying to learn PyTorch Lightning and Hydra in order to use/create my own custom deep learning template (e.g. like this) as it would greatly help with my research workflow. A lot of the work I do requires me to analyse metrics based on the logits/activations of the model.
  • [D] Alternatives to fb Hydra?
    5 projects | /r/MachineLearning | 29 Mar 2023
    However, hydra seems to have several limitations that are really annoying and are making me reconsider my choice. Most problematic is the inability to group parameters together in a multirun. Hydra only supports trying all combinations of parameters, as described in https://github.com/facebookresearch/hydra/issues/1258, which does not seem to be a priority for hydra. Furthermore, hydras optuna optimizer implementation does not allow for early pruning of bad runs, which while not a deal breaker is definitely a nice to have feature.
  • Show HN: Lightweight YAML Config CLI for Deep Learning Projects
    2 projects | news.ycombinator.com | 10 Mar 2023
    Do you hate the fact that they don't let you return the config file: https://github.com/facebookresearch/hydra/issues/407
  • Config management for deep learning
    3 projects | /r/Python | 10 Mar 2023
    I kind of built this due to frustrations with Hydra. Hydra is an end to end framework, it locks you into a certain DL project format, it decides logging, model saving and a whole host of things. For example Hydra can do the same config file overwriting that I allow but you have to store the config file with the name config.yaml inside a specific folder. On top of that hydra doesn’t let you return the config file from the main function so you have to put all the major logic in the main function itself (link), the authors claim this is by design. I can find Hydra useful for a mature less experimental project. But in my robotics and ML research, I like being able to write code where I want and integrating it how I want, especially when debugging for which I think this package is useful. TLDR; If you just want the config file functionality use my package, if you want a complete DL project manager use Hydra. While hydra implements this config file functionality, it also adds a lot of restrictions to project structure that you might not like.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    For managing configs of ML experiments (where each experiment can override a base config, and "variant" configs can further override the experiment config, etc), Hydra + Yaml + OmegaConf is really nice.

    https://hydra.cc/

    I admit I don't fully understand all the advanced options in Hydra, but the basic usage is already very useful. A nice guide is here:

    https://florianwilhelm.info/2022/01/configuration_via_yaml_a...

  • Hydra - namestitev in osnovna uporaba
    1 project | /r/HackProtectSlo | 8 Dec 2022
  • Hydra - namestitevt in osnovna uporaba
    1 project | /r/HackProtectSlo | 8 Dec 2022

strictyaml

Posts with mentions or reviews of strictyaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-20.
  • StrictYAML
    1 project | news.ycombinator.com | 29 Sep 2023
    1 project | /r/hypeurls | 3 Jul 2022
    8 projects | news.ycombinator.com | 2 Jul 2022
  • XML is better than YAML
    17 projects | news.ycombinator.com | 20 Sep 2023
    NestedText already is the way I use YAML; everything is intepreted as a string. I have some trust in my YAML parser to not mangle most strings. I could use NestedText, but users would be unfamiliar with it, and IIRC the only parsers are in Python. But then I could use StrictYaml too https://github.com/crdoconnor/strictyaml
  • The new type of SQL injection
    4 projects | /r/ProgrammerHumor | 15 Mar 2023
    you can stick to a subset of YAML syntax (e.g. strictYAML)
  • DO YOU YAML?
    7 projects | dev.to | 16 Jan 2023
    YAML stands for "YAML Ain’t Markup Language" - this is known as a recursive acronym. YAML is often used for writing configuration files. It’s human readable, easy to understand and can be used with other programming languages. Although YAML is commonly used in many disciplines, it has received criticism on the amoutn of whitespace .yml files have, difficulty in editing, and complexity of the standard. Despite the criticism, properly using YAML ensures that you can reproduce the results of a project and makes sure that the virtual environment packages play nicely with system packages. (If you're looking for another way to share environments there are other alternatives to YAML which include StrictYAML (a type-safe YAML parser) and NestedText)
  • The yaml document from hell
    8 projects | /r/programming | 12 Jan 2023
    The example you linked provides this as an example of a YAML document that he wants his format to support.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    That safe subset exists and is implemented in a number of languages. It is called strict-yaml: https://hitchdev.com/strictyaml/
  • Hacker News top posts: Jul 3, 2022
    2 projects | /r/hackerdigest | 3 Jul 2022
    StrictYAML\ (33 comments)
  • Why JSON Isn’t a Good Configuration Language (2018)
    9 projects | news.ycombinator.com | 7 Jun 2022
    To me those are in the category of "nice to have", and the problem is that every developer has different preferences for these [1] [2]. But the main features of StrictYaml, like supporting comments and less syntactic noise, I think are pretty uncontroversial, and perhaps it's worth it to get people to switch over for those alone. It doesn't need to be perfect, it just needs to be a significant enough improvement over JSON, and I'd say those two features are more than enough

    [1]: https://github.com/crdoconnor/strictyaml/issues/37

    [2]: https://github.com/crdoconnor/strictyaml/issues/38

What are some alternatives?

When comparing hydra and strictyaml you can also consider the following projects:

dynaconf - Configuration Management for Python ⚙

pyyaml - Canonical source repository for PyYAML

ConfigParser

nestedtext - Human readable and writable data interchange format

python-dotenv - Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

ytt - YAML templating tool that works on YAML structure instead of text

python-decouple - Strict separation of config from code.

crudini - A utility for manipulating ini files

django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.

yaml-rust - A pure rust YAML implementation.

classyconf - Declarative and extensible library for configuration & code separation

starlark-go - Starlark in Go: the Starlark configuration language, implemented in Go