Eve Neo4j extension
Python Makefile
Latest commit 21aa521 Nov 15, 2016 @rodrigorn rodrigorn committed on GitHub Merge pull request #10 from Abraxas-Biosystems/pyup-update-flake8-3.0…
….4-to-3.2.0

Update flake8 to 3.2.0

README.rst

Eve Neo4j extension.

https://travis-ci.org/Abraxas-Biosystems/eve-neo4j.svg?branch=master Documentation Status Updates Python 3

Eve-Neo4j is a Neo4j data layer for eve REST framework.

Features

  • Neo4j's nodes CRUD.

License

Install

$ pip install eve-neo4j

Usage

Set neo4j as your eve data layer.

import eve
from eve_neo4j import Neo4j

app = eve.Eve(data=Neo4j)
app.run()

Config

Add the following to your settings.py

GRAPH_DATABASE = 'http://localhost:7474/db/data/'
GRAPH_USER = 'neo4j'
GRAPH_PASSWORD = 'neo4j'

# TODO: Override this as a default when using Neo4j as a data layer
ITEM_URL = 'regex("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}")'