<jupyter_start><jupyter_text>iTOL Client Usage Example<jupyter_code>from iTOL_client import ITOL_session
login = login
pwd = <PASSWORD><jupyter_output><empty_output><jupyter_text>Login to yout iTOL account and get the information about all your workspaces, projects and trees:<jupyter_code>my_itol = ITOL_session(login=login, password=pwd)<jupyter_output><empty_output><jupyter_text>Surfing through your iTOL account Here is your workspaces:<jupyter_code># workspaces
itol_data = my_itol.data
itol_data.table<jupyter_output><empty_output><jupyter_text>Let's look into Default project<jupyter_code>itol_data['Default'].table<jupyter_output><empty_output><jupyter_text>Also, you can call the project by id<jupyter_code>itol_data['76963'].table<jupyter_output><empty_output><jupyter_text>Moreover, you can get any parameter of the workspace (for projects and trees you can run a similar command):<jupyter_code>itol_data['Default'].name, itol_data['Default'].id, itol_data['Default'].desc<jupyter_output><empty_output><jupyter_text>Dive deeper into the project:<jupyter_code>itol_data['Default']['Marinimicrobia project'].table<jupyter_output><empty_output><jupyter_text>Touch trees with duplicated names<jupyter_code>itol_data['Default']['Marinimicrobia project']['tree_renamed']
itol_data['Default']['Marinimicrobia project']['Python tree'].datasets<jupyter_output><empty_output><jupyter_text>Delete workspaces, projects or trees by their IDs<jupyter_code>my_itol.data.table
my_itol.delete('workspace', '77443')
my_itol.data.table<jupyter_output><empty_output><jupyter_text>Reload iTOL data<jupyter_code>my_itol.get_data()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup