Module Expr Str Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Dict Assign NameStore Dict Assign TupleStore NameStore NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults kwarg body If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr Num body Return NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults kwarg body If Call NameLoad AttributeLoad NameLoad attr Str body Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str BoolOpOr AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr keyword BoolOpOr AttributeLoad NameLoad attr NameLoad keyword BoolOpOr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Num Assign NameStore Num ImportFrom alias alias For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call NameLoad NameLoad Call NameLoad BinOpMod Str TupleLoad BinOpMult Str BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult Str AttributeLoad NameLoad attr Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword BoolOpOr AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore BinOpDiv BinOpSub AttributeLoad NameLoad attr Num Num Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore BinOpDiv BinOpSub AttributeLoad NameLoad attr Num Num Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Num Assign NameStore Num ImportFrom alias alias For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Return Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Num Assign NameStore Num ImportFrom alias alias For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListComp Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num comprehension NameStore Call NameLoad Num Num Return Call AttributeLoad Str attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str BoolOpOr AttributeLoad NameLoad attr Num ImportFrom alias alias Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Str Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str Str Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num Call AttributeLoad NameLoad attr keyword Num keyword Num Call AttributeLoad NameLoad attr keyword Num keyword Num attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str If AttributeLoad NameLoad attr body Return Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str If AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad Str attr NameLoad Return Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr
N/A N/A 
Django forms data generators

 N/A random datetime date datetime time django forms django.utils formats django_any xunit django_any.functions valid_choices split_model_kwargs ExtensionMethod N/A any_form N/A ExtensionMethod N/A any_form_field N/A ExtensionMethod any_form_default N/A N/A form_cls N/A kwargs N/A N/A 
    Returns tuple with form data and files
     N/A form_data N/A N/A form_files N/A N/A N/A form_fields fields_args N/A split_model_kwargs kwargs N/A N/A name field N/A N/A N/A form_cls base_fields iteritems N/A N/A N/A name form_fields N/A N/A N/A form_data N/A name N/A kwargs N/A name N/A N/A N/A form_data N/A name N/A any_form_field field N/A fields_args N/A name N/A N/A form_data form_files N/A N/A any_form register_default field_required_attribute N/A N/A function N/A N/A N/A 
    Sometimes return None if field is not required

    >>> result = any_form_field(forms.BooleanField(required=False))
    >>> result in ['', 'True', 'False']
    True
     _wrapper N/A N/A field N/A kwargs N/A N/A N/A N/A N/A field required N/A N/A random random 0.1 N/A N/A None N/A N/A function field kwargs N/A N/A _wrapper N/A N/A any_form_field decorator field_choices_attibute N/A N/A function N/A N/A N/A 
    Selection from field.choices
     _wrapper N/A N/A field N/A kwargs N/A N/A N/A hasattr N/A field widget choices N/A N/A N/A N/A random choice N/A list N/A valid_choices N/A N/A field widget choices N/A N/A function field kwargs N/A N/A _wrapper N/A N/A any_form_field decorator boolean_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for BooleanField

    >>> result = any_form_field(forms.BooleanField())
    >>> type(result)
    <type 'str'>
     N/A N/A str N/A N/A xunit any_boolean N/A N/A N/A any_form_field register N/A forms BooleanField char_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for CharField
    >>> result = any_form_field(forms.CharField(min_length=3, max_length=10))
    >>> type(result)
    <type 'str'>
     N/A min_length N/A N/A kwargs get min_length 1 N/A max_length N/A N/A kwargs get max_length N/A N/A field max_length 255 N/A N/A N/A xunit any_string min_length N/A N/A field min_length min_length max_length N/A N/A field max_length max_length N/A N/A N/A any_form_field register N/A forms CharField decimal_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for DecimalField

    >>> result = any_form_field(forms.DecimalField(max_value=100, min_value=11, max_digits=4, decimal_places = 2))
    >>> type(result)
    <type 'str'>
    >>> from decimal import Decimal
    >>> Decimal(result) >= 11, Decimal(result) <= Decimal('99.99')
    (True, True)
     N/A min_value 0 N/A max_value 10 django.core.validators MinValueValidator MaxValueValidator N/A elem N/A field validators N/A N/A N/A isinstance elem MinValueValidator N/A N/A min_value N/A elem limit_value N/A N/A isinstance elem MaxValueValidator N/A N/A max_value N/A elem limit_value N/A N/A N/A field max_digits N/A field decimal_places N/A decimal Decimal N/A max_value N/A min max_value N/A Decimal N/A %s.%s N/A N/A 9 N/A N/A field max_digits N/A field decimal_places N/A 9 N/A field decimal_places N/A min_value N/A N/A N/A kwargs get min_value min_value N/A max_value N/A N/A N/A kwargs get max_value max_value N/A N/A str N/A N/A xunit any_decimal min_value min_value max_value max_value decimal_places N/A N/A field decimal_places 2 N/A N/A N/A any_form_field register N/A forms DecimalField email_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for EmailField

    >>> result = any_form_field(forms.EmailField(min_length=10, max_length=30))
    >>> type(result)
    <type 'str'>
    >>> len(result) <= 30, len(result) >= 10
    (True, True)
     N/A max_length 10 N/A N/A field max_length N/A N/A max_length N/A N/A N/A field max_length 5 2 N/A min_length 10 N/A N/A field min_length N/A N/A min_length N/A N/A N/A field min_length 4 2 N/A N/A %s@%s.%s N/A N/A N/A xunit any_string min_length min_length max_length max_length N/A N/A xunit any_string min_length min_length max_length max_length N/A N/A xunit any_string min_length 2 max_length 3 N/A N/A N/A any_form_field register N/A forms EmailField date_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for DateField

    >>> result = any_form_field(forms.DateField())
    >>> type(result)
    <type 'str'>
     N/A from_date N/A N/A kwargs get from_date N/A date 1990 1 1 N/A to_date N/A N/A kwargs get to_date N/A N/A date today N/A date_format N/A N/A random choice N/A N/A field input_formats N/A N/A formats get_format DATE_INPUT_FORMATS N/A N/A N/A N/A N/A xunit any_date from_date from_date to_date to_date strftime date_format N/A N/A N/A any_form_field register N/A forms DateField datetime_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for DateTimeField

    >>> result = any_form_field(forms.DateTimeField())
    >>> type(result)
    <type 'str'>
     N/A from_date N/A N/A kwargs get from_date N/A datetime 1990 1 1 N/A to_date N/A N/A kwargs get to_date N/A N/A datetime today N/A date_format N/A N/A random choice N/A N/A field input_formats N/A N/A formats get_format DATETIME_INPUT_FORMATS N/A N/A N/A N/A N/A xunit any_datetime from_date from_date to_date to_date strftime date_format N/A N/A N/A any_form_field register N/A forms DateTimeField float_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for FloatField

    >>> result = any_form_field(forms.FloatField(max_value=200, min_value=100))
    >>> type(result)
    <type 'str'>
    >>> float(result) >=100, float(result) <=200
    (True, True)
     N/A min_value 0 N/A max_value 100 django.core.validators MinValueValidator MaxValueValidator N/A elem N/A field validators N/A N/A N/A isinstance elem MinValueValidator N/A N/A min_value N/A elem limit_value N/A N/A isinstance elem MaxValueValidator N/A N/A max_value N/A elem limit_value N/A min_value N/A N/A kwargs get min_value min_value N/A max_value N/A N/A kwargs get max_value max_value N/A precision N/A N/A kwargs get precision 3 N/A N/A str N/A N/A xunit any_float min_value min_value max_value max_value precision precision N/A N/A N/A any_form_field register N/A forms FloatField integer_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for IntegerField

    >>> result = any_form_field(forms.IntegerField(max_value=200, min_value=100))
    >>> type(result)
    <type 'str'>
    >>> int(result) >=100, int(result) <=200
    (True, True)
     N/A min_value 0 N/A max_value 100 django.core.validators MinValueValidator MaxValueValidator N/A elem N/A field validators N/A N/A N/A isinstance elem MinValueValidator N/A N/A min_value N/A elem limit_value N/A N/A isinstance elem MaxValueValidator N/A N/A max_value N/A elem limit_value N/A min_value N/A N/A kwargs get min_value min_value N/A max_value N/A N/A kwargs get max_value max_value N/A N/A str N/A N/A xunit any_int min_value min_value max_value max_value N/A N/A N/A any_form_field register N/A forms IntegerField ipaddress_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for IPAddressField
    
    >>> result = any_form_field(forms.IPAddressField())
    >>> type(result)
    <type 'str'>
    >>> from django.core.validators import ipv4_re
    >>> import re
    >>> re.match(ipv4_re, result) is not None
    True
     N/A choices N/A N/A kwargs get choices N/A choices N/A N/A N/A N/A random choice choices N/A N/A nums N/A N/A str N/A N/A xunit any_int min_value 0 max_value 255 N/A _ N/A xrange 0 4 N/A N/A N/A . join nums N/A N/A N/A any_form_field register N/A forms IPAddressField null_boolean_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for NullBooleanField
    
    >>> result = any_form_field(forms.NullBooleanField())
    >>> type(result)
    <type 'unicode'>
    >>> result in [u'1', u'2', u'3']
    True
     N/A N/A N/A random choice N/A None True False N/A N/A N/A any_form_field register N/A forms NullBooleanField slug_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for SlugField
    
    >>> result = any_form_field(forms.SlugField())
    >>> type(result)
    <type 'str'>
    >>> from django.core.validators import slug_re
    >>> import re
    >>> re.match(slug_re, result) is not None
    True
     N/A min_length N/A N/A kwargs get min_length 1 N/A max_length N/A N/A kwargs get max_length N/A N/A field max_length 20 string ascii_letters digits N/A letters N/A N/A ascii_letters digits _- N/A N/A N/A xunit any_string letters letters min_length min_length max_length max_length N/A N/A N/A any_form_field register N/A forms SlugField url_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for URLField
    
    >>> result = any_form_field(forms.URLField())
    >>> from django.core.validators import URLValidator
    >>> import re
    >>> re.match(URLValidator.regex, result) is not None
    True
     N/A urls N/A N/A kwargs get choices N/A http://news.yandex.ru/society.html http://video.google.com/?hl=en&tab=wv http://www.microsoft.com/en/us/default.aspx http://habrahabr.ru/company/opera/ http://www.apple.com/support/hardware/ http://localhost/ http://72.14.221.99 http://fr.wikipedia.org/wiki/France N/A N/A N/A random choice urls N/A N/A N/A any_form_field register N/A forms URLField time_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for TimeField

    >>> result = any_form_field(forms.TimeField())
    >>> type(result)
    <type 'str'>
     N/A time_format N/A N/A random choice N/A N/A field input_formats N/A N/A formats get_format TIME_INPUT_FORMATS N/A N/A N/A N/A time N/A N/A xunit any_int min_value 0 max_value 23 N/A N/A xunit any_int min_value 0 max_value 59 N/A N/A xunit any_int min_value 0 max_value 59 strftime time_format N/A N/A N/A any_form_field register N/A forms TimeField choice_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for ChoiceField

    >>> CHOICES = [('YNG', 'Child'), ('OLD', 'Parent')]
    >>> result = any_form_field(forms.ChoiceField(choices=CHOICES))
    >>> type(result)
    <type 'str'>
    >>> result in ['YNG', 'OLD']
    True
    >>> typed_result = any_form_field(forms.TypedChoiceField(choices=CHOICES))
    >>> typed_result in ['YNG', 'OLD']
    True
     N/A N/A field choices N/A N/A N/A str N/A N/A random choice N/A list N/A valid_choices N/A field choices N/A None N/A N/A N/A any_form_field register N/A forms TypedChoiceField N/A N/A any_form_field register N/A forms ChoiceField multiple_choice_field_data N/A N/A field N/A kwargs N/A N/A 
    Return random value for MultipleChoiceField

    >>> CHOICES = [('YNG', 'Child'), ('MIDDLE', 'Parent') ,('OLD', 'GrandParent')]
    >>> result = any_form_field(forms.MultipleChoiceField(choices=CHOICES))
    >>> type(result)
    <type 'str'>
     N/A N/A field choices N/A django_any.functions valid_choices N/A l N/A list N/A valid_choices N/A field choices N/A N/A N/A random shuffle l N/A choices N/A N/A count N/A N/A xunit any_int min_value 1 max_value N/A len N/A field choices N/A i N/A xrange 0 count N/A N/A N/A N/A choices append N/A l N/A i N/A N/A N/A join choices N/A None N/A N/A N/A any_form_field register N/A forms MultipleChoiceField model_choice_field_data N/A N/A field N/A kwargs N/A N/A 
    Return one of first ten items for field queryset
     N/A data N/A list N/A N/A field queryset N/A 10 N/A data N/A N/A N/A N/A random choice data N/A N/A N/A TypeError N/A No %s available in queryset N/A N/A field queryset model N/A N/A N/A any_form_field register N/A N/A forms models ModelChoiceField