import os from neo4j import GraphDatabase driver = GraphDatabase.driver( os.environ.get('NEO4J_URL'), auth=( os.environ.get('NEO4J_USERNAME'), os.environ.get('NEO4J_PASSWORD') ) )