Skip to content

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

License

Notifications You must be signed in to change notification settings

bleib1dj/neomodel

This branch is 1105 commits behind neo4j-contrib/neomodel:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 10, 2014
Nov 11, 2014
Nov 11, 2014
Oct 20, 2014
Oct 21, 2014
Jul 1, 2013
Oct 21, 2014
Nov 20, 2013
Nov 20, 2013
Oct 22, 2014
Mar 7, 2013
Oct 21, 2014

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.
https://secure.travis-ci.org/robinedwards/neomodel.png 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%