Toml-bench – Which toml package to use in Python?
1–10 of 16 posts
Re: Toml-bench – Which toml package to use in Python?
#2Re: Toml-bench – Which toml package to use in Python?
#3[flagged]
toml is a prominent example of the least-worst option gaining traction. For configuration files that need to be human editable, provide comments, but are machine readable and have broad support, TOML is the choice that the plurality has settled on. In python, it’s in core tools like pip; it’s not going away because we don’t like how you nest collections awkwardly or whatever.
at least it’s Norway YAML!
Re: Toml-bench – Which toml package to use in Python?
#4[flagged]
Re: Toml-bench – Which toml package to use in Python?
#5[flagged]
Re: Toml-bench – Which toml package to use in Python?
#6[flagged]
That criticism feels weak to me outside of the scope of "StrictYaml vs TOML". Within that context, I might agree, having just heard of StrictYaml today. Having dealt with the full blast of complexity YAML and especially XML and XML Schema has in store... TOML is probably one of the top 2-3 config languages I'd use.
Re: Toml-bench – Which toml package to use in Python?
#7Earlier quoted context omitted.
That criticism feels weak to me outside of the scope of "StrictYaml vs TOML". Within that context, I might agree, having just heard of StrictYaml today. Having dealt with the full blast of complexity YAML and especially XML and XML Schema has in store... TOML is probably one of the top 2-3 config languages I'd use.
More-so, what tooling relies upon StrictYAML? I can immediately point to the TOML spec and every language is going to have a library which reads it. Some off-brand YAML flavor is not ideal. We cannot even standardize on JSON5. As superior-but-mutated language has nothing but uphill battles towards adoption.
Thankfully with python we have 6
Re: Toml-bench – Which toml package to use in Python?
#8[flagged]
Re: Toml-bench – Which toml package to use in Python?
#9[flagged]
Re: Toml-bench – Which toml package to use in Python?
#10But this is a great post that covers the relative behaviors of the different parsing libraries and helps you evaluate the best _functional_ choice for your needs. Bravo!