NLeSC / guide

Software Development Guide
https://guide.esciencecenter.nl
Creative Commons Attribution 4.0 International
47 stars 30 forks source link

Data validation #364

Open egpbos opened 2 days ago

egpbos commented 2 days ago

In #359, we started discussing data validation tools in Python: attrs (lightweight, convenient for value validation) and pydantic (use type hints for data type validation) were mentioned.

It seems convenient at least for configuration file handling, so in any case I think we should add it to the python chapter.

However, I'm wondering if it makes sense to discuss validation a bit more broadly in the data chapter. What useful experiences can we add from other perspectives? Are there similar packages in other languages worth mentioning?