社区贡献库

简介

除了官方支持的驱动程序外,您还可以找到它们的社区替代方案。除了 Java、.NET、JavaScript、Go 和 Python 驱动程序,Neo4j 社区还支持 Ruby、PHP、Perl 和 Rust。下面提供了相关资源的链接。

每个编程语言社区的成员都投入了大量时间和精力来开发 Neo4j 的每个社区驱动程序,因此如果您使用其中任何一个,请务必向作者提供反馈。

这些社区驱动程序由 Neo4j 社区慷慨贡献。其中许多功能齐全且维护良好,但有些可能并非如此。Neo4j 对它们的使用性不承担任何责任。

从 Ruby 使用 Neo4j

Neo4j.rb

Neo4j.rb 项目由以下 Ruby Gem 组成:

neo4j-ruby-driver

一个适用于 Ruby 的 Neo4j 驱动程序,API 与官方驱动程序一致。它基于 Seabolt 和 FFI。可在所有 Ruby 版本(包括 JRuby)和 Seabolt 支持的所有平台上使用。

neo4j-java-driver

一个基于官方 Java 实现的 Ruby Neo4j 驱动程序。它提供了对 Java 驱动程序的薄封装(仅限 JRuby)。

activegraph

一个用于 Neo4j 图数据库的对象图映射器 (OGM)。它尝试遵循 ActiveRecord 建立的 API 约定,但具有 Neo4j 特性。它需要上述驱动程序之一。

neo4j-rake_tasks

一套用于在项目中安装和管理 Neo4j 数据库的 rake 任务。

网站

https://neo4jrb.io/

作者

Heinrich, Amit, Brian, Chris, Andreas

neo4j-ruby-driver, neo4j-java-driver, activegraph

源代码

https://github.com/neo4jrb

文档

https://neo4jrb.readthedocs.org/en/latest/

博客

https://blog.brian-underwood.codes/

协议

Bolt

从 PHP 使用 Neo4j

此外,Neo4j 可以安装在任何系统上,然后通过其 Bolt 和 HTTP API 访问。我们推荐使用 Neo4j PHP 客户端以便通过 Bolt 和 HTTP API 进行最简单的开发。您也可以通过 PHP Bolt 库直接访问 Bolt 协议。

Neo4j PHP 客户端

Neo4j PHP 客户端是一个支持多种协议的客户端。支持 HTTPBolt,从 Neo4j 3.5 到最新版本。

它正在积极开发中。有关更多详细信息,请参阅Github 页面上的 README 文件。

作者

Ghlen Nagels

源代码

https://github.com/neo4j-php/neo4j-php-client

https://packagist.org.cn/packages/laudis/neo4j-php-client

PHP

7.4 / 8.0+

Neo4j

3.5 / 4.0+

协议

Bolt, HTTP

示例应用程序

https://github.com/neo4j-examples/movies-neo4j-php-client

PHP Bolt

一个适用于 PHP 的 Bolt 协议底层驱动程序。

作者

Michal Stefanak

源代码

https://github.com/neo4j-php/Bolt

PHP

7.4+ / 8.0+

Neo4j

3.0+ / 4.0+ / 5.0+

协议

Bolt

从 Perl 使用 Neo4j

Neo4j::Driver

这个 Perl 驱动程序允许使用与官方 Neo4j 驱动程序相同的类和方法调用与 Neo4j 服务器交互。它还(目前是实验性)支持 HTTPS 和 Bolt。

作者

Arne Johannessen

https://metacpan.org/release/Neo4j-Driver

源代码

https://github.com/johannessen/neo4j-driver-perl

Neo4j::Bolt

这是 Mark Jensen 的另一个驱动程序。它作为 libneo4j-client C 库的 Perl 封装实现,该库实现了 Bolt 网络协议。

作者

Mark A. Jensen

源代码

https://github.com/majensen/perlbolt

.NET 社区驱动程序

Neo4jClient

一个用于 Neo4j 的 .NET 客户端,它使得在 C# 中使用 IntelliSense 轻松编写 Cypher® 查询。它还支持基本的 CRUD 和旧版索引。

源代码

https://github.com/DotNet4Neo4j/neo4jclient

NuGet 包

https://nuget.net.cn/packages/neo4jclient

作者

Charlotte Skardon Tatham Oddie

文档

https://github.com/DotNet4Neo4j/Neo4jClient/wiki

示例

https://github.com/neo4j-examples/movies-dotnet-neo4jclient

协议

Bolt, HTTP

Neo4j.Driver.Extensions

Neo4j.Driver.Extensions 提供了一组官方驱动程序 API 的扩展方法,旨在减少样板代码并简化实体类映射。

源代码

https://github.com/DotNet4Neo4j/Neo4j.Driver.Extensions

NuGet 包

https://nuget.net.cn/packages/neo4j.driver.extensions

作者

Charlotte Skardon

文档

介绍博客文章

Python 社区驱动程序

Neomodel

一个基于 Neo4j python 驱动程序构建的对象图映射器。熟悉的 Django 风格节点定义,具有强大的查询 API,线程安全和完整的事务支持。还提供了一个 Django 插件 django_neomodel

作者

Athanasios Anastasiou 和 Robin Edwards

https://pypi.python.org/pypi/neomodel

源代码

http://github.com/neo4j-contrib/neomodel

文档

https://neomodel.readthedocs.io/en/latest/

Python

2.7 / 3.3+

协议

Bolt

示例

https://github.com/neo4j-examples/neo4j-movies-python-neomodel

Go 社区驱动程序

GoGM: Golang 对象图映射器

作者

Eric Solender,Mindstand 的 CTO 和联合创始人

源代码

https://github.com/z5labs/gogm

文档

https://github.com/mindstand/gogm/blob/master/README.md

从 Rust 使用 Neo4j

neo4rs

可以使用 neo4rs 驱动程序从 Rust 中使用 Neo4j。neo4rs 支持通过 Bolt 使用 Neo4j,从 Neo4j 4.4 到最新版本。

您也可以在 Neo4j 社区 Discord#drivers 频道提问。

作者

knutwalker

源代码

https://github.com/neo4j-labs/neo4rs

crates.io 上的 neo4rs

文档

docs.rs 上的 neo4rs

示例

https://github.com/neo4j-examples/movies-rust-bolt

Rust

1.75+

Neo4j

4.4+

协议

Bolt

© . All rights reserved.