Skip to content

bleib1dj/neomodel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neomodel

An Object Graph Mapper (OGM) for the neo4j graph database, built on the awesome py2neo.

  • Familiar Django model style definitions.
  • Powerful query API.
  • Enforce your schema through cardinality restrictions.
  • Full transaction support.
  • Hooks including (optional) Django signals support.

image

Downloads

Documentation

Available on readthedocs.

Requirements

  • Python 2.7, 3.4, pypy and pypy3
  • neo4j 2.0 or 2.1

Installation

Install from pypi (recommended):

$ pip install neomodel

To install from github:

$ pip install git+git://github.com/robinedwards/neomodel.git@HEAD#egg=neomodel-dev

Contributing

Ideas, bugs, tests and pull requests always welcome.

Running the test suite

Make sure you have a fresh virtualenv and nose installed:

$ pip install nose

A Neo4j database to run the tests on, (it will wipe this database):

$ export NEO4J_REST_URL=http://localhost:7474/db/data # (the default)

Install neomodel for development and run the suite:

$ python setup.py develop
$ nosetests -s

About

An Object Graph Mapper (OGM) for the neo4j graph database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.8%
  • Makefile 5.1%
  • Shell 5.1%