Eve Neo4j extension.
Project description
Eve Neo4j extension.
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 details)
Built Distribution
File details
Details for the file eve_neo4j-0.1.4.tar.gz
.
File metadata
- Download URL: eve_neo4j-0.1.4.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478ba890f297f21ea4a37c54bf47ef7614357c22a24273f31f6aebf78627b79c |
|
MD5 | 1c09f893ce48d48bd60f56e73a7ecae0 |
|
BLAKE2b-256 | a2ff10e506047892ec60387a27d46e4f60a70ad7c038f997f968fad44e6286cf |
File details
Details for the file eve_neo4j-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: eve_neo4j-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774e0e52b9afaba17219108178b8828ad29e5b624d4a84522f36bf12390fbd10 |
|
MD5 | 71b200348c8145d545b3b0a9b86d20fa |
|
BLAKE2b-256 | 4b081642641ab391661786fc9b5dc2125c568dfb60f0fe4d07946d3abc330bc2 |