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
You can test whip specifications with pywhip.