def repositories_by(username, type=None, sort=None, direction=None, number=(-1), etag=None):
 if login:
  return gh.repositories_by(username, type, sort, direction, number, etag)
 return iter([])

def repositories_by ( username , type = None , sort = None , direction = None , number = ( - 1 ) , etag = None ) : if login : return gh . repositories_by ( username , type , sort , direction , number , etag ) return iter ( [ ] )
list public repositories for the specified username .