A Python library to force timing restrictions