Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 943 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 943 Bytes

whip

Whip is a human and machine-readable syntax to express specifications for data. It can be used as a whip to test how well data meets certain specifications, be it a feather 😅 or a chain whip 😱.

Example:

my_date_field:
  dateformat: ['%Y-%m-%d', '%Y-%m', '%Y'] # Needs to be ISO8601 format, but don't allow ranges
  mindate: 1830-01-01                     # No dates before 1830
  empty: True                             # Empty values are allowed

Documentation

Implementations

You can test whip specifications with pywhip.

Contributors

License

MIT License