Metadata-Version: 2.0
Name: jsonpath-rw-ext
Version: 0.1.3
Summary: Extensions for JSONPath RW
Home-page: https://github.com/sileht/python-jsonpath-rw-ext
Author: Mehdi Abaakouk
Author-email: sileht@sileht.net
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: pbr (<2.0,>=1.4)
Requires-Dist: Babel (>=1.3)
Requires-Dist: jsonpath-rw

===============================
python-jsonpath-rw-ext
===============================

.. image:: https://travis-ci.org/sileht/python-jsonpath-rw-ext.png?branch=master
   :target: https://travis-ci.org/sileht/python-jsonpath-rw-ext

.. image:: https://img.shields.io/pypi/v/jsonpath-rw-ext.svg
   :target: https://pypi.python.org/pypi/jsonpath-rw-ext/
   :alt: Latest Version

.. image:: https://img.shields.io/pypi/dm/jsonpath-rw-ext.svg
   :target: https://pypi.python.org/pypi/jsonpath-rw-ext/
   :alt: Downloads

Extensions for JSONPath RW

This extensions will be proposed `upstream <https://github.com/kennknowles/python-jsonpath-rw>`__
and will stay here only if they are refused.


* Free software: Apache license
* Documentation: https://python-jsonpath-rw-ext.readthedocs.org/en/latest/
* Source: http://github.com/sileht/python-jsonpath-rw-ext


Quick Start
-----------

At the command line::

    $ pip install jsonpath-rw-ext

Or, if you have virtualenvwrapper installed::

    $ mkvirtualenv jsonpath-rw-ext
    $ pip install jsonpath-rw-ext


Extensions
----------

+--------------+--------------------------------------------+
| name         | Example                                    |
+==============+============================================+
| len          | $.objects.`len`                            |
+--------------+--------------------------------------------+
| sorted       | $.objects.`sorted`                         |
|              | $.objects[\some_field]                     |
|              | $.objects[\some_field,/other_field]        |
+--------------+--------------------------------------------+
| filter       | $.objects[?(@some_field > 5)]              |
+--------------+--------------------------------------------+



