Eve Neo4j extension
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
eve_neo4j
.dockerignore
.editorconfig
.gitignore
.travis.yml
CONTRIBUTING.rst
Dockerfile.test
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.rst
docker-compose.test.yml
requirements.dev.txt
requirements.txt
setup.cfg
setup.py
tox.ini

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}")'