anatools.anaclient module

AnaClient is a python module for accessing Rendered.AI’s Ana Platform API.

class anatools.anaclient.AnaClient(workspace=None, environment='prod', verbose=False)

Bases: object

add_members(members, workspaceid=None)
create_channel(channel, packages=None, instance=None, organizations=None)
create_dataset(name, graphid, description=None, interpretations=1, priority=1, seed=1, workspaceid=None)
create_graph(name, channel, graph, workspaceid=None)
create_workspace(name, channels, description=None)
delete_dataset(datasetid, workspaceid=None)
delete_graph(graphid, workspaceid=None)
delete_workspace(workspaceid=None)
deploy_channel(channel, environment='test')
download_dataset(datasetid, workspaceid=None)
download_graph(graphid, workspaceid=None)
get_channels()
get_datasets(datasetid=None, name=None, owner=None, status=None, workspaceid=None)
get_graphs(graphid=None, name=None, owner=None, workspaceid=None)
get_members(workspaceid=None)
get_workspace()
get_workspaces()
login(workspace=None, environment='prod')
logout()
register_channel_owner(email, channel)
register_data(package, location)
register_datafile(package, filepath)
register_docker(channel)
remove_members(members, workspaceid=None)
set_workspace(workspaceid=None)
update_dataset(datasetid, description, workspaceid=None)
update_graph(graphid, description, workspaceid=None)
update_workspace(description, workspaceid=None)