Login and manage account
In this section, we present ExpaiLogin module and its methods.
expai.ExpaiAccount
expai.ExpaiAccount
Class definition
expai.ExpaiLogin(email: str, user_pass: str, access_token: str = None, server_name: str = "https://api.expai.io")
Python example to initialise the class
One account can be only used simultaneously in one device.
expai.ExpaiAccount.create_project
expai.ExpaiAccount.create_project
Create a new project in your account
ExpaiAccount.create_project(self, project_name: str = None, project_description: str = None)
expai.ExpaiAccount.project_list
expai.ExpaiAccount.project_list
List all projects available in your account
ExpaiAccount.project_list(self, search_by: str = None, exact_search: str = None)
expai.ExpaiAccount.delete_project
expai.ExpaiAccount.delete_project
Delete a project from your account
You won't be able to revert this action and all users will lose access to the project.
ExpaiAccount.delete_project(self, project_name: str = None, project_id: str = None)
expai.ExpaiAccount.update_project
expai.ExpaiAccount.update_project
Update project metadata. Fields to be updated and their keys can be found here.
ExpaiAccount.update_project(self, project_name: str = None, project_id: str = None, update_info: dict = None)
expai.ExpaiAccount.get_project
expai.ExpaiAccount.get_project
This method returns a Project object that enables interaction with its content (Models, Datasets, Explanations, Fairness).
ExpaiAccount.get_project(self, project_name: str = None, project_id: str = None)
Last updated