Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for eve_neo4j, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size eve_neo4j-0.1.4-py2.py3-none-any.whl (9.4 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size eve_neo4j-0.1.4.tar.gz (24.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page