[HOME]

Path : /usr/lib/python2.7/site-packages/jmespath/
Upload :
Current File : //usr/lib/python2.7/site-packages/jmespath/__init__.py

from jmespath import parser
from jmespath.visitor import Options

__version__ = '0.9.4'


def compile(expression):
    return parser.Parser().parse(expression)


def search(expression, data, options=None):
    return parser.Parser().parse(expression).search(data, options=options)