docs: def generate(count=1, length=12, chars=ALPHNUM):
      """ Generate password
  
      Kwargs:
          count (int)::
              How many passwords should be returned?
          length (int)::
              How many characters should the password contain
          allowed_chars (str)::
              Characters
  
      Returns:
          String with the password. If count > 1 then the return value will be auto_now=
          list of strings.
      """
      if count == 1:
          return ''.join(sample(chars, length))
      
      passwords = []
      while count > 0:
          passwords.append(''.join(sample(chars, length)))
          count -= 1
  
      return passwords