When to Use - Writing Python code that connects to Neo4j - Setting up driver, sessions, transactions, or async patterns - Debugging result handling, serialization, or UNWIND batching - Reviewing Neo4j driver usage in Python code When NOT to Use - Writing/optimizing Cypher → - Driver version upgrades → - GraphRAG pipelines ( package) → --- Installation Python =3.10 required for v6.x. --- Environment Variables Load connection config from environment — never hardcode credentials. file format: Add to . Without , use in shell or directly. --- Driver Lifecycle Create one Driver per application . Th…