Skip to content

Instantly share code, notes, and snippets.

View xunkai55's full-sized avatar

Xunkai xunkai55

  • Beijing, China
View GitHub Profile
@espeed
espeed / bulbs_titan_example.py
Last active May 28, 2016 01:55
Bulbs/Titan Example
# by James Thornton, http://jamesthornton.com
from bulbs.titan import Graph, DEBUG
# TITAN_URI => "http://localhost:8182/graphs/graph"
# "graph" is the default graph name set in the Titan Server config
g = Graph()
g.config.set_logger(DEBUG)