5. py2neo.cypher.reading – Cypher Read Utilities

Pygments lexer for Cypher.

class py2neo.cypher.reading.CypherLexer(**options)[source]

For Cypher Query Language

For the Cypher version in Neo4j 3.4

get_statements(text)[source]

Split the text into statements delimited by semicolons and yield each statement in turn. Yielded statements are stripped of both leading and trailing whitespace. Empty statements are skipped.