Home / Companies / Memgraph / Blog / Post Details
Content Deep Dive

How to Implement Custom JSON Utility Procedures With Memgraph MAGE and Python.

Blog post from Memgraph

Post Details
Company
Date Published
Author
-
Word Count
1,257
Language
English
Hacker News Points
-
Summary

Memgraph provides a framework for enhancing the Cypher query language through custom procedures, which can be developed using Python or C APIs and organized into query modules. These modules allow users to overcome limitations of standard queries by implementing functionalities such as importing and exporting data in JSON format. The tutorial details the creation of a "json_util.py" module featuring procedures to load JSON data from local files or remote addresses and export nodes as JSON documents, using the Memgraph Lab environment and Docker for development. Additionally, the Memgraph Advanced Graph Extensions (MAGE) project encourages the sharing and development of such modules within the community, fostering innovation and collaboration in graph database management. The tutorial provides insights into testing and deploying these custom procedures, emphasizing their utility in expanding the capabilities of graph databases beyond standard query operations.