The MaxLength class is accessible via the sqlobject.constraints module.
See the source for more information.