parameters: (numpasswords=1, passwordlength=8, method='trigraph', verbose=False,
               leetify=False, alphabet=_lowercase, vowels=_vowels,
               explain=False, multichar=False, substitute_rate=0.5, capitalize_rate=0.5)
return_statement: return passlist
docstring: main generate loop
docstring_summary: main generate loop
docstring_tokens: main generate loop
function: def generate(numpasswords=1, passwordlength=8, method='trigraph', verbose=False,
               leetify=False, alphabet=_lowercase, vowels=_vowels,
               explain=False, multichar=False, substitute_rate=0.5, capitalize_rate=0.5):
      '''main generate loop'''
      gfunc, kwargs = _methods[method]
      passlist = []
      for i in xrange(numpasswords):
          pw = gfunc(passwordlength=passwordlength, alphabet=alphabet, vowels=vowels, **kwargs)
          pw_explain = pw
          if leetify:
              pw, pw_explain = leetify_string(pw, multichar=multichar,
                                              substitute_rate=substitute_rate,
                                              capitalize_rate=capitalize_rate)
          passlist.append(pw)
      return passlist
function_tokens: def generate ( numpasswords = 1 , passwordlength = 8 , method = 'trigraph' , verbose = False , leetify = False , alphabet = _lowercase , vowels = _vowels , explain = False , multichar = False , substitute_rate = 0.5 , capitalize_rate = 0.5 ) : gfunc , kwargs = _methods [ method ] passlist = [ ] for i in xrange ( numpasswords ) : pw = gfunc ( passwordlength = passwordlength , alphabet = alphabet , vowels = vowels , * * kwargs ) pw_explain = pw if leetify : pw , pw_explain = leetify_string ( pw , multichar = multichar , substitute_rate = substitute_rate , capitalize_rate = capitalize_rate ) passlist . append ( pw ) return passlist