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.

Source Distribution

eve_neo4j-0.1.4.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distribution

eve_neo4j-0.1.4-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page