Hi all,
We’re building a Python system that constructs complex graph structures and saves them to Neo4j. Currently, our code inserts nodes and relationships one by one, which is too slow. We’re looking to:
- Define graph entities using annotations or decorators (like JPA in Java).
- Generate the full graph structure in memory.
- Persist it to Neo4j efficiently—ideally using batch writes or Cypher
UNWIND
.
Are there any best practices, tools, or libraries (like Neomodel) that support this kind of workflow? Or should we develop our own layer on top of the Neo4j Python driver?
Thanks!