Skip to content
Advertisement

How to search graph database using Python?

I want to search graphs inside Python without the burden of having to learn a new query language. I extensively use pydantic library and I wonder if the two can work together.

Advertisement

Answer

You can use GQLAlchemy. It is an open source object graph mapper, and it is created using the pydantic library. You can check the implementation at GiHub repo.

GQLAlchemy lets you connect with Memgraph more easily and helps you if you’re not familiar with Cypher query language.

Here is an example of how to build a robust app with GQLAlchemy.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement