#NEWLINE# @ requires_auth #NEWLINE# def create( self , project , description = None , homepage = None , public = True ) : #NEWLINE# #INDENT# 'Create a repository.\n\n        :param str project: new project name\n        :param str description: optional project description\n        :param str homepage: optional project homepage\n        :param bool public: whether to make a public project\n\n        ' #NEWLINE# repo_data = { #NEWLINE# #INDENT# 'name' : project , #NEWLINE# 'description' : description , #NEWLINE# 'homepage' : homepage , #NEWLINE# 'public' : str ( int ( public ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# return self . get_value ( 'create' , post_data = repo_data , filter = 'repository' , datatype = Repository )