flaskgraphiti 011

flaskgraphiti 011
  • Downloads: 160
  • Requirements:
  • Size:
  • Licence:
  • Version: flask-graphiti
  • Added At: 2012-29-05
  • Publisher Site:



flaskgraphiti 011

Share

flask-graphiti is a Flask extension that integrates the Graphiti library with Flask.Installationcli walkthrough:pip install flask-graphitiIn your project settings provide the GRAFFITI_DATABASES setting dictionnary. For instance if you database is named in Rexster 'matrix', use neo4j and kept the default port setting, you must use:GRAFFITI_DATABASES = { 'matrix': { 'url': 'http://localhost:8182/', 'db': 'neo4j', }}UsageTo declare models you must first import the flask_graphiti module, in you models.py, the remaining imports should be done against graphiti library:from flask_graphiti import graphfrom graphiti.properties import (String, Boolean, Integer)class Person(graph.matrix.Node): name = String() age = Integer() is_a_program = Boolean()class Knows(graph.matrix.Edge): passThere is nothing specific to
flask-graphiti is a Flask extension that integrates the Graphiti library with Flask.Installationcli walkthrough:pip install flask-graphitiIn your project settings provide the GRAFFITI_DATABASES setting dictionnary. For instance if you database is named in Rexster 'matrix', use neo4j and kept the default port setting, you must use:GRAFFITI_DATABASES = { 'matrix': { 'url': 'http://localhost:8182/', 'db': 'neo4j', }}UsageTo declare models you must first import the flask_graphiti module, in you models.py, the remaining imports should be done against graphiti library:from flask_graphiti import graphfrom graphiti.properties import (String, Boolean, Integer)class Person(graph.matrix.Node): name = String() age = Integer() is_a_program = Boolean()class Knows(graph.matrix.Edge): passThere is nothing specific to �. you can free download flaskgraphiti 011 now.
Soft85 only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here






comments powered by Disqus

Download flaskgraphiti 011 _FREE_