Skip to content
This repository was archived by the owner on Dec 4, 2022. It is now read-only.

inonit/libcypher-parser-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypher parser for Python

Build Status Coverage Status

Python interface for libcypher-parser.

Getting started

Requires libcypher-parser to be installed before compiling the extension.

Debian/Ubuntu

$ sudo add-apt-repository ppa:cleishm/neo4j
$ sudo apt-get update
$ sudo apt-get install libcypher-parser-dev

macOS

$ brew install cleishm/neo4j/libcypher-parser

For other platforms, see the official docs.

Installation

$ pip install libcypher-parser-python

To build

$ pip install Cython
$ python setup.py build_ext --inplace

A simple test

Paste the following code in your terminal.

$ python -c "from libcypher_parser import parse_statement; print(parse_statement('MATCH (n) RETURN n'))"
(True, {'n_errors': 0, 'n_nodes': 10, 'n_statements': 1})

About

Python interface for libcypher-parser

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages