The only libraries that look a bit like Java Bean validation that I know (and used) are:
Zope 3 zope.schema , but this is due to the use of zope interfaces. I think
SQLAlchamy Elixir , but it involves using SQLAlchemy entities
I'm not sure that (or how) they can be used without hovering certain superclasses
source share