A Python library for validation