See also <a href="https://github.com/tdda/tdda" rel="nofollow">https://github.com/tdda/tdda</a>, which has some of the same features and can run tests against new data. It runs on Pandas dataframes, CSVs, and can generate hand-editable JSON constraints for a dataset.