You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
281 B
13 lines
281 B
6 months ago
|
from jmespath import parser
|
||
|
from jmespath.visitor import Options
|
||
|
|
||
|
__version__ = '1.0.1'
|
||
|
|
||
|
|
||
|
def compile(expression):
|
||
|
return parser.Parser().parse(expression)
|
||
|
|
||
|
|
||
|
def search(expression, data, options=None):
|
||
|
return parser.Parser().parse(expression).search(data, options=options)
|