Package konval :: Module stringval
[hide private]
[frames] | no frames]

Module stringval

source code

Validators that clean or transform strings.
Classes [hide private]
  Strip
Transform strings by stripping flanking space.
  ToLower
Transform strings by converting to lower case.
  ToUpper
Transform strings by converting to upper case.
  IsNonblank
Only allow non-blank strings (i.e. those with a length more than 0).
  IsRegexMatch
Only allow values that match a certain regular expression.
  IsPlainText
Check the value only contains alphanumerics, underscores & hyphen.
  ToCanonical
Reduce strings to a canonical form.
Variables [hide private]
  __package__ = 'konval'