• Stars
    star
    1,389
  • Rank 32,552 (Top 0.7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 16 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An active model wrapper for the Neo4j Graph Database for Ruby.

Welcome to Active Graph (f.k.a. Neo4j.rb)

Code Status

Actively Maintained Build Status Coverage Status Code Climate

Get Support

Documentation

All new documentation will be done via our readthedocs site, though some old documentation has yet to be moved from our wiki

Contact Us

StackOverflow Gitter Twitter

Introduction

Neo4j.rb is an Active Model compliant Ruby/JRuby wrapper for the Neo4j graph database. It uses the neo4j-ruby-driver and active_attr gems.

Neo4j is a transactional, open-source graph database. A graph database manages data in a connected data structure, capable of representing any kind of data in a very accessible way. Information is stored in nodes and relationships connecting them, both of which can have arbitrary properties. To learn more visit What is a Graph Database?

With this gem you not only do you get a convenient higher level wrapper around Neo4j, but you have access to a powerful high-level query building interface which lets you take advantage of the power of Neo4j like this:

# Break down the top countries where friends' favorite beers come from
person.friends.favorite_beers.country_of_origin(:country).
  order('count(country) DESC').
  pluck(:country, count: 'count(country)')

It can be installed in your Gemfile with a simple gem 'neo4j'

For a general overview see our website: http://neo4jrb.io/

Winner of a 2014 Graphie for "Best Community Contribution" at Neo4j's Graph Connect conference! 2014 Graphie

Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined here and in the announcement message. It will take a little time before all documentation is updated to reflect the new release but unless otherwise noted, all 3.X documentation is totally valid for v4.

Neo4j version support

Neo4j Version v2.x v3.x >= v4.x >= 7.0.3 activegraph 10 activegraph 11.1
1.9.x Yes No No No No No
2.0.x No Yes No No No No
2.1.x No Yes Yes * Yes No No
2.2.x No No Yes Yes No No
2.3.x No No Yes Yes No No
3.0, 3.1, 3.3 No No No Yes No No
3.4 No No No Yes Yes No
3.5 No No No Yes Yes Yes
4.0 No No No No Yes Yes
4.1 No No No No No Yes
4.2 No No No No No Yes
4.3 No No No No No Yes
4.4 No No No No No Yes
5.x No No No No No Yes

* Neo4j.rb >= 4.x doesn't support Neo4j versions before 2.1.5. To use 2.1.x you should upgrade to a version >= 2.1.5

Neo4j feature support

Neo4j Feature v2.x v3.x >= v4.x >= 8.x >= activegraph 10.0
Bolt Protocol No No No Yes Yes
Auth No No Yes Yes Yes
Remote Cypher Yes Yes Yes Yes No
Transactions Yes Yes Yes Yes Yes
High Availability No Yes Yes Yes Yes
Causal Cluster No No No No Yes
Embedded JVM support Yes Yes Yes Yes via bolt only

Documentation

  • Website (for an introduction)
  • readthedocs
  • Note: Our GitHub Wiki pages have outdated information. We are in the process of moving all documentation to readthedocs

Legacy (<= 2.x) Documentation

Developers

Original Author

Previous Maintainers

Current Maintainers

Contributing

Always welcome! Please review the guidelines for contributing to this repository.

License

Notice: There are different licenses for the neo4j-community, neo4j-advanced, and neo4j-enterprise jar gems. Only the neo4j-community gem is required by default.

More Repositories

1

neo4j-core

A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem
Ruby
99
star
2

devise-activegraph

Devise ORM for Neo4j
Ruby
65
star
3

kvitter

Example application using neo4j.rb
JavaScript
45
star
4

neo4j-ruby-driver

Neo4j Ruby Driver
Ruby
38
star
5

neo4apis-activerecord

An ruby gem to import SQL data to neo4j using activerecord
Ruby
28
star
6

carrierwave-neo4j

Neo4j support for Carrierwave
Ruby
21
star
7

neolytics

A gem to record data about Ruby code execution in Neo4j for analysis
Ruby
18
star
8

neo4j-rake_tasks

Rake tasks for managing Neo4j. Tasks allow for starting, stopping, and configuring
Ruby
13
star
9

neo4jrb_spatial

Basic integration between Neo4j.rb and Neo4j Spatial
Ruby
12
star
10

neo4apis

An API to import web API data to neo4j
Ruby
9
star
11

twitter_analytics

Making twitter analytics easy with neo4j and neo4apis gems
Ruby
8
star
12

neo4j-community

Ruby
7
star
13

neo4j-searchkick

Lets the Searchkick gem work with ActiveRel models.
Ruby
7
star
14

neo4j-meta_model

JavaScript
7
star
15

swapi

Basic app to import Star Wars API data into neo4j
Ruby
5
star
16

neo4apis-twitter

An ruby gem to import twitter data to neo4j
Ruby
5
star
17

neo4apis-github

An ruby gem to import github data to neo4j
Ruby
3
star
18

neo4j-enterprise

Ruby
2
star
19

neo4j-advanced

Ruby
2
star
20

lapd_incidents

Demo for talks using LAPD incident data
Ruby
1
star
21

neo4j_ruby_object_space

Tools to analyze Ruby's ObjectSpace with Neo4j
Ruby
1
star
22

neo4j-mdm-linking

Scripts to link GitHub and StackOverflow data together and a Rails app to examine results
Ruby
1
star
23

meta_model

Shell
1
star
24

devise_with_twitter

An example Rails application using devise to authenticate users with Twitter and Neo4j
Ruby
1
star