Scimitar is an implementation of ISO Schematron that compiles a Schematron schema into a Python validator script.