Skip to content

Instantly share code, notes, and snippets.

@chiffa
Last active November 2, 2015 22:23
Show Gist options
  • Save chiffa/0d2befe746fba3806019 to your computer and use it in GitHub Desktop.
Save chiffa/0d2befe746fba3806019 to your computer and use it in GitHub Desktop.
import random
from bulbs.neo4jserver import Graph
g = Graph()
random_node_names = ['%030x' % random.randrange(16**30) for _ in range(0, 10000)]
for i, node in enumerate(random_node_names):
print 'inserting: %.2f %%' % (i/100.)
g.vertices.create(name=node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment