Closed alienrobotwizard closed 9 years ago
Simple python client for lipstick 2.0
Install:
cd clients/python sudo pip install -e .
Usage:
from lipstick import lipstick, Graph, Edge, Node client = lipstick.Client('localhost:9292') graph = Graph('A').node(Node('1')).node(Node('2')).edge(Edge('1','2')).status().statusText("running") client.save(graph) # ...some long process... graph.status().progress(25) client.update(graph) # ...finished graph.status().progress(100) graph.status().statusText("finished") client.update(graph)
Simple python client for lipstick 2.0
Install:
Usage: