Metadata-Version: 1.1
Name: xq
Version: 0.0.3
Summary: Like jq but for XML and XPath.
Home-page: https://github.com/jeffbr13/xq
Author: Ben Jeffrey
Author-email: mail@benjeffrey.net
License: MPL 2.0
Description-Content-Type: UNKNOWN
Description: xq
        ==
        
        Apply XPath expressions to XML, like ``jq`` does for JSONPath and JSON.
        
        
        Usage
        -----
        
        Extract download URLs from an RSS feed::
        
            http get 'http://br-rss.jeffbr13.net/rss/channels/1/' | xq '//item/enclosure/@url'
        
        
        Extract all links from an HTML page footer::
        
            http get 'http://br-rss.jeffbr13.net/ | xq '//footer//a/@href'
        
        
        Build
        -----
        
        Increment ``xq.VERSION`` and run the following two commands
        to create a `source distribution <https://packaging.python.org/tutorials/distributing-packages/#source-distributions>`_,
        create a `universal wheel <https://packaging.python.org/tutorials/distributing-packages/#universal-wheels>`_,
        and `upload to PyPI <https://packaging.python.org/tutorials/distributing-packages/#upload-your-distributions>`_ ::
        
            python setup.py sdist
            python setup.py bdist_wheel --universal
            twine upload dist/*
        
            # install
            python setup.py install
        
        See Also
        --------
        
        - `jq <https://github.com/stedolan/jq>`
        - `hq <https://github.com/rbwinslow/hq>`
        
Keywords: xml xpath text
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Topic :: Terminals
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
