The Int class is accessible via the formencode.validators module.
Example:
>>> Int.to_python('10')
10
>>> Int.to_python('ten')
Traceback (most recent call last):
...
Invalid: Please enter an integer value
Messages
See the source for more information.