Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!pip install neo4j
|
2 |
+
|
3 |
+
from neo4j import GraphDatabase
|
4 |
+
|
5 |
+
# URI examples: "neo4j://localhost", "neo4j+s://xxx.databases.neo4j.io"
|
6 |
+
URI = "neo4j+s://4985272f.databases.neo4j.io"
|
7 |
+
AUTH = ("neo4j", "graph_test")
|
8 |
+
|
9 |
+
with GraphDatabase.driver(URI, auth=AUTH) as driver:
|
10 |
+
driver.verify_connectivity()
|