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

Now You Can Express Cypher Queries in Pure Python using Pypher [Community Post]

Blog post from Neo4j

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

Pypher is a suite of lightweight Python objects that allow users to express Cypher queries in pure Python, providing a simple and intuitive interface for building Cypher queries. It covers all Cypher use-cases with an interface similar to Cypher and is designed to be easily expandable for future updates. Pypher can build out complex Cypher queries without the need for convoluted string concatenation, automatically binding parameters and making queries safer by reducing the chances of Cypher injection. However, it may require learning some special syntax and watch out for assignments, Python keywords, bound parameters, and property access when using Pypher. The project is living and evolving with the Cypher language, allowing users to report bugs or suggest improvements through a GitHub ticket.