neo4j / neo4j-python-driver

Neo4j Bolt driver for Python
https://neo4j.com/docs/api/python-driver/current/
Other
893 stars 187 forks source link

can i make wrapper about neo4j query? #976

Closed shaan-lee closed 10 months ago

shaan-lee commented 10 months ago

https://github.com/shaan-lee/neo4j-manager

i feel problem to use neo4j query in python, so open the repo in my git if you want, can i merge in neo4j-python-driver repo? i will develop more function about this can work almost every query

robsdedude commented 10 months ago

Hi and thanks for reaching out.

What you linked looks like the beginning of an OGM (object-graph-mapper, based on the word ORM for relational databases). There are already some out there. I recommend you look around to see if there are any that suite your needs. One prominent example that comes to my mind is neomodel.

Generally, there are quite a few things that are easy to get wrong when writing an OGM or ORM:

This driver library is very unlikely to ever get support for anything like that. It's more low-level and is meant to enable wrapping it, just like you suggested, to create higher level frameworks. Currently, there is no Python OGM officially supported by Neo4j, though. Maybe this changes in the future.

I'll close the issue now, as we're not interested in merging it. But please feel free to: