Social phenomena is coming. We have lot’s of social applications that we are using every day, let’s say Facebook, twitter, Instagram. Lot’s of such kind apps based on social graph and graph theory. I would like to share my knowledge and expertise about how to work with graphs and build large social graph as engine for Social network using python and Graph databases. We'll compare SQL and NoSQL approaches for friends relationships.
2. Agenda:
• Who am I?
• 101 Graph data structure in Python
• neo4j overview
• PEP-249 and Neo4j
• other python neo4j clients
3. Andrii Soldatenko
• Backend Python Developer at
• CTO in Persollo.com
• Speaker at many PyCons and
Python meetups
• blogger at https://asoldatenko.com
9. 101 Graph data structure
def find_path(g, s, e, path=[]):
path = path + [s]
if s == e:
return path
if not s in g:
return None
for node in g[s]:
if node not in path:
newpath = find_path(g, node,
e, path)
if newpath: return newpath
return None