CAPTCHAv2 is a question/answer based CAPTCHA system. It has been designed to protect any Web form from spam bots attempting to submit information automatically by asking questions the visitor needs to answer. It can also detect brute force attempts and will block further abuse by adding the visitor's IP address to the .htaccess file. CAPTCHAv2 prevents accidentally blocking good bots by verifying the whois record of the visitor's IP. It is also possible to use CAPTCHAv2 as an automatically blocking bot trap. Bot trap implementation guide can be found in the guides.
validator.py is a tool for ensuring that data conforms to certain sets of rules, called validations. A validation is essentially a schema for a dictionary, containing a list of rules for each key/value pair in the dictionary you want to validate. This is intended to fill a similar use case to form validations in WTForms or Rails, but for general sources of data, not just Web forms.