heymenn commited on
Commit
6c7a981
1 Parent(s): a775f6a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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()