https://github.com/danvk/pyjsonselect
Fully conformant implementation of JSONSelect in Python
https://github.com/danvk/pyjsonselect
Last synced: 10 months ago
JSON representation
Fully conformant implementation of JSONSelect in Python
- Host: GitHub
- URL: https://github.com/danvk/pyjsonselect
- Owner: danvk
- License: apache-2.0
- Created: 2014-10-06T22:24:49.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T18:57:29.000Z (about 11 years ago)
- Last Synced: 2024-12-28T23:33:54.998Z (over 1 year ago)
- Language: Python
- Size: 378 KB
- Stars: 11
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/danvk/pyjsonselect) [](https://coveralls.io/r/danvk/pyjsonselect?branch=master)
pyjsonselect
------------
A fully-conformant implementation of the [JSONSelect](http://jsonselect.org/)
standard in Python.
To install:
pip install pyjsonselect
To use:
```python
import jsonselect
# prints 1, 2
for v in jsonselect.match('.foo', {'foo': 1, 'bar': {'foo': 2}}):
print v
```
To run the tests:
```bash
git submodule update --init # load conformance tests
pip install nose
nosetests
```