Python library to infer date format from examples