Module Import alias Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Dict Str Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad BinOpMod AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Assert BoolOpOr CompareNotEq NameLoad Num CompareNotEq NameLoad Num Str Assert BoolOpOr CompareEq NameLoad Num CompareLtE NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num If BoolOpOr CompareLt NameLoad AttributeLoad NameLoad attr BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Num CompareGt NameLoad AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad BinOpMod AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt NameLoad AttributeLoad NameLoad attr BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt NameLoad AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad BinOpMod AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr BoolOpAnd Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad UnaryOpNot Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr body Assign SubscriptStore AttributeLoad NameLoad attr Slice ListLoad Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Slice ListLoad Raise Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr Str body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr BoolOpAnd NameLoad Str Str Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad BinOpMod AttributeLoad NameLoad attr Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad BinOpMod AttributeLoad NameLoad attr Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad
N/A N/A re N/A __all__ N/A Email email EqualTo equal_to IPAddress ip_address Length length NumberRange number_range Optional optional Required required Regexp regexp URL url AnyOf any_of NoneOf none_of MacAddress mac_address UUID ValidationError N/A ValueError N/A N/A 
    Raised when a validator fails to validate its input.
     __init__ N/A N/A self message N/A args kwargs N/A N/A N/A N/A ValueError __init__ self message args kwargs N/A N/A StopValidation N/A Exception N/A N/A 
    Causes the validation chain to stop.

    If StopValidation is raised, no more validators in the validation chain are
    called. If raised with a message, the message will be added to the errors
    list.
     __init__ N/A N/A self message N/A args kwargs N/A N/A N/A N/A Exception __init__ self message args kwargs N/A N/A EqualTo N/A object N/A N/A 
    Compares the values of two fields.

    :param fieldname:
        The name of the other field to compare to.
    :param message:
        Error message to raise in case of a validation error. Can be
        interpolated with `%(other_label)s` and `%(other_name)s` to provide a
        more helpful error.
     __init__ N/A N/A self fieldname message N/A None N/A N/A N/A self fieldname fieldname N/A N/A self message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A other N/A form N/A N/A self fieldname N/A N/A N/A KeyError N/A N/A N/A ValidationError N/A N/A N/A field gettext Invalid field name '%s'. N/A self fieldname N/A N/A N/A field data N/A other data N/A N/A d N/A other_label other_name N/A N/A N/A hasattr other label N/A N/A other label text N/A self fieldname N/A self fieldname N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Field must be equal to %(other_name)s. N/A N/A ValidationError N/A N/A self message d N/A N/A Length N/A object N/A N/A 
    Validates the length of a string.

    :param min:
        The minimum required length of the string. If not provided, minimum
        length will not be checked.
    :param max:
        The maximum length of the string. If not provided, maximum length
        will not be checked.
    :param message:
        Error message to raise in case of a validation error. Can be
        interpolated using `%(min)d` and `%(max)d` if desired. Useful defaults
        are provided depending on the existence of min and max.
     __init__ N/A N/A self min max message N/A -1 -1 None N/A N/A N/A N/A min -1 N/A max -1 At least one of `min` or `max` must be specified. N/A N/A N/A max -1 N/A min max `min` cannot be more than `max`. N/A N/A self min min N/A N/A self max max N/A N/A self message message N/A __call__ N/A N/A self form field N/A N/A N/A l N/A N/A N/A field data N/A len N/A field data 0 N/A N/A N/A l N/A self min N/A N/A N/A self max -1 N/A l N/A self max N/A N/A N/A N/A self message None N/A N/A N/A N/A self max -1 N/A N/A N/A self message N/A N/A field ngettext Field must be at least %(min)d character long. Field must be at least %(min)d characters long. N/A self min N/A N/A N/A N/A self min -1 N/A N/A N/A self message N/A N/A field ngettext Field cannot be longer than %(max)d character. Field cannot be longer than %(max)d characters. N/A self max N/A N/A N/A self message N/A N/A field gettext Field must be between %(min)d and %(max)d characters long. N/A N/A ValidationError N/A N/A self message N/A dict min N/A self min max N/A self max N/A N/A NumberRange N/A object N/A N/A 
    Validates that a number is of a minimum and/or maximum value, inclusive.
    This will work with any comparable number type, such as floats and
    decimals, not just integers.

    :param min:
        The minimum required value of the number. If not provided, minimum
        value will not be checked.
    :param max:
        The maximum value of the number. If not provided, maximum value
        will not be checked.
    :param message:
        Error message to raise in case of a validation error. Can be
        interpolated using `%(min)s` and `%(max)s` if desired. Useful defaults
        are provided depending on the existence of min and max.
     __init__ N/A N/A self min max message N/A None None None N/A N/A N/A self min min N/A N/A self max max N/A N/A self message message N/A __call__ N/A N/A self form field N/A N/A N/A data N/A field data N/A N/A N/A data None N/A N/A N/A self min None N/A data N/A self min N/A N/A N/A self max None N/A data N/A self max N/A N/A N/A N/A self message None N/A N/A N/A N/A self max None N/A N/A N/A self message N/A N/A field gettext Number must be greater than %(min)s. N/A N/A N/A N/A self min None N/A N/A N/A self message N/A N/A field gettext Number must be less than %(max)s. N/A N/A N/A self message N/A N/A field gettext Number must be between %(min)s and %(max)s. N/A N/A ValidationError N/A N/A self message N/A dict min N/A self min max N/A self max N/A N/A Optional N/A object N/A N/A 
    Allows empty input and stops the validation chain from continuing.

    If input is empty, also removes prior errors (such as processing errors)
    from the field.
     N/A field_flags N/A optional __call__ N/A N/A self form field N/A N/A N/A N/A N/A N/A field raw_data N/A N/A isinstance N/A N/A field raw_data N/A 0 basestring N/A N/A N/A N/A N/A field raw_data N/A 0 strip N/A N/A N/A N/A field errors N/A N/A N/A N/A StopValidation N/A N/A Required N/A object N/A N/A 
    Validates that the field contains data. This validator will stop the
    validation chain on error.

    If the data is empty, also removes prior errors (such as processing errors)
    from the field.

    :param message:
        Error message to raise in case of a validation error.
     N/A field_flags N/A required __init__ N/A N/A self message N/A None N/A N/A N/A self message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A N/A field data N/A N/A isinstance N/A field data basestring N/A N/A N/A N/A field data strip N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext This field is required. N/A N/A N/A field errors N/A N/A N/A N/A StopValidation N/A self message N/A N/A Regexp N/A object N/A N/A 
    Validates the field against a user provided regexp.

    :param regex:
        The regular expression string to use. Can also be a compiled regular
        expression pattern.
    :param flags:
        The regexp flags to use, for example re.IGNORECASE. Ignored if
        `regex` is not a string.
    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self regex flags message N/A 0 None N/A N/A N/A isinstance regex basestring N/A N/A regex N/A N/A re compile regex flags N/A N/A self regex regex N/A N/A self message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A N/A N/A self regex match N/A N/A field data N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid input. N/A N/A ValidationError N/A self message N/A N/A Email N/A Regexp N/A N/A 
    Validates an email address. Note that this uses a very primitive regular
    expression and should only be used in instances where you later verify by
    other means, such as email activation or lookups.

    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self message N/A None N/A N/A N/A N/A N/A super Email self __init__ ^.+@[^.].*\.[a-z]{2,10}$ N/A re IGNORECASE message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid email address. N/A N/A N/A N/A super Email self __call__ form field N/A N/A IPAddress N/A Regexp N/A N/A 
    Validates an IP(v4) address.

    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self message N/A None N/A N/A N/A N/A N/A super IPAddress self __init__ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid IP address. N/A N/A N/A N/A super IPAddress self __call__ form field N/A N/A MacAddress N/A Regexp N/A N/A 
    Validates a MAC address.

    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self message N/A None N/A N/A pattern ^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$ N/A N/A N/A N/A super MacAddress self __init__ pattern message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid Mac address. N/A N/A N/A N/A super MacAddress self __call__ form field N/A N/A URL N/A Regexp N/A N/A 
    Simple regexp based url validation. Much like the email validator, you
    probably want to validate the url later by other means if the url must
    resolve.

    :param require_tld:
        If true, then the domain-name portion of the URL must contain a .tld
        suffix.  Set this to false if you want to allow domains like
        `localhost`.
    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self require_tld message N/A True None N/A N/A tld_part N/A N/A require_tld \.[a-z]{2,10} N/A regex N/A ^[a-z]+://([^/:]+%s|([0-9]{1,3}\.){3}[0-9]{1,3})(:[0-9]+)?(\/.*)?$ tld_part N/A N/A N/A N/A super URL self __init__ regex N/A re IGNORECASE message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid URL. N/A N/A N/A N/A super URL self __call__ form field N/A N/A UUID N/A Regexp N/A N/A 
    Validates a UUID.

    :param message:
        Error message to raise in case of a validation error.
     __init__ N/A N/A self message N/A None N/A N/A pattern ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ N/A N/A N/A N/A super UUID self __init__ pattern message message N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid UUID. N/A N/A N/A N/A super UUID self __call__ form field N/A N/A AnyOf N/A object N/A N/A 
    Compares the incoming data to a sequence of valid inputs.

    :param values:
        A sequence of valid inputs.
    :param message:
        Error message to raise in case of a validation error. `%(values)s`
        contains the list of values.
    :param values_formatter:
        Function used to format the list of values in the error message.
     __init__ N/A N/A self values message values_formatter N/A None None N/A N/A N/A self values values N/A N/A self message message N/A N/A values_formatter None N/A N/A values_formatter N/A N/A N/A v N/A N/A N/A ,  join v N/A N/A self values_formatter values_formatter N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A field data N/A self values N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid value, must be one of: %(values)s. N/A N/A ValueError N/A N/A self message N/A dict values N/A N/A self values_formatter N/A self values N/A N/A NoneOf N/A object N/A N/A 
    Compares the incoming data to a sequence of invalid inputs.

    :param values:
        A sequence of invalid inputs.
    :param message:
        Error message to raise in case of a validation error. `%(values)s`
        contains the list of values.
    :param values_formatter:
        Function used to format the list of values in the error message.
     __init__ N/A N/A self values message values_formatter N/A None None N/A N/A N/A self values values N/A N/A self message message N/A N/A values_formatter None N/A N/A values_formatter N/A N/A N/A v N/A N/A N/A ,  join v N/A N/A self values_formatter values_formatter N/A __call__ N/A N/A self form field N/A N/A N/A N/A N/A field data N/A self values N/A N/A N/A N/A self message None N/A N/A N/A self message N/A N/A field gettext Invalid value, can't be any of: %(values)s. N/A N/A ValueError N/A N/A self message N/A dict values N/A N/A self values_formatter N/A self values N/A N/A N/A email Email N/A equal_to EqualTo N/A ip_address IPAddress N/A mac_address MacAddress N/A length Length N/A number_range NumberRange N/A optional Optional N/A required Required N/A regexp Regexp N/A url URL N/A any_of AnyOf N/A none_of NoneOf