
neo4j 提供如下编程语言的API:
go
java
python
.NET
Javascript
此外还提供REST、HTTP API
# pip install neo4j-driver
Collecting neo4j-driver
Downloading https://files.pythonhosted.org/packages/77/ac/b8b9dbe47062457ec9fa3f57b62198243869b33144218d40a03c7c25c170/neo4j-driver-1.7.2.tar.gz
Collecting neobolt<2,>=1.7.4 (from neo4j-driver)
Downloading https://files.pythonhosted.org/packages/05/0b/e2054c74ae537d8ecaee83157e4f567190170f48ee63c48614f9ab3daf73/neobolt-1.7.5.tar.gz (182kB)
|████████████████████████████████| 184kB 932kB/s
Collecting neotime<2,>=1.7.1 (from neo4j-driver)
Downloading https://files.pythonhosted.org/packages/0b/7e/ca368a8d8e288be1352d4e2df35da1e01f8aaffbf526695df71630bcb8a6/neotime-1.7.4.tar.gz
Requirement already satisfied: pytz in /usr/local/lib/python3.6/site-packages (from neotime<2,>=1.7.1->neo4j-driver) (2019.1)
Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from neotime<2,>=1.7.1->neo4j-driver) (1.12.0)
Installing collected packages: neobolt, neotime, neo4j-driver
Running setup.py install for neobolt ... done
Running setup.py install for neotime ... done
Running setup.py install for neo4j-driver ... done
Successfully installed neo4j-driver-1.7.2 neobolt-1.7.5 neotime-1.7.4
# pip list | grep -i -E "neobolt|neotime|neo4j-driver"
neo4j-driver 1.7.2
neobolt 1.7.5
neotime 1.7.4
安装指定的neo4j版本:
# pip install neo4j-driver==1.7.2
参考:
https://neo4j.com/docs/
https://neo4j.com/docs/driver-manual/current/get-started/