Skip to main content

Eve Neo4j extension.

Project description

Eve Neo4j extension.

https://img.shields.io/pypi/v/eve_neo4j.svg 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

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

# TODO: Override this as a defautl when ussing Neo4j as datalayer
ITEM_URL = 'regex("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}")'

History

0.1.4

  • Feature: Create relations.
  • Fix: dict data type on update.
  • Fix: Use internal remove method to delete old node.
  • Feature: Implement unique validation.

0.1.3

  • Support dict data type.
  • Use docker compose for testing
  • Improve remove method performance
  • Implement custom validator for Neo4j’s data types.

0.1.2

  • Parse timestamp fields from Node to datetime objects.
  • Update usage in docs.
  • Rename dict_to_node to create_node.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
eve_neo4j-0.1.4-py2.py3-none-any.whl (9.4 kB) Copy SHA256 hash SHA256 Wheel 3.5
eve_neo4j-0.1.4.tar.gz (24.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page