Metadata-Version: 2.0
Name: xparser
Version: 0.0.1
Summary: An XResources parser for python applications.
Home-page: https://github.com/taesko/xparser
Author: Antonio Todorov
Author-email: taeskow@gmail.com
License: MIT
Keywords: parser XResources
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Framework :: Pytest
Requires-Python: >=3.6.0


=======
XParser
=======
A very simple python library for parsing XResources.

-------------
Example Usage
-------------
.. code:: python

    import xrp
    result = xrp.parse_file('.Xresources')
    result.resources['*foreground'] == 'white'
    result.definitions['white'] == '#FFFFFF'

------------
Installation
------------
Install stable versions from PyPi

.. code:: bash

    pip install xparser

and development versions by cloning

.. code:: bash

    git clone https://github.com/taesko/xparser.git
    cd xparser && pip install .

-------------
Documentation
-------------
is not (yet) written.


