Metadata-Version: 1.1
Name: RapidXml
Version: 2.1.1
Summary: Python RapidXml Library
Home-page: https://github.com/Arzaroth/python_rapidxml
Author: Marc-Etienne Barrut
Author-email: lekva@arzaroth.com
License: MIT
Download-URL: https://github.com/Arzaroth/python_rapidxml/tarball/2.1.1
Description: python\_rapidxml
        ----------------
        
        A library providing python bindings for rapidxml
        
        Example
        ~~~~~~~
        
        .. code:: python
        
            import rapidxml
        
            r = rapidxml.RapidXml(b"<test/><test2>foo</test2><test></test>") # parsing from bytes
            test = r.first_node("test") # get first node named test
            test.name = "foo" # changing node's name to foo
            r.first_node("test2").value = "bar" # changing node's value to bar
        
            print(str(r)) # will output a prettified string of the xml document
            print(r.unparse(pretty=False, raw=True)) # will output the xml document as flat bytes
            print(test) # also works for nodes
        
            with open('dump.xml', 'w') as f:
                f.write(str(r))
            r = rapidxml.RapidXml("dump.xml", from_file=True) # loading from file
        
            assert(str(r) == r.unparse(pretty=True, raw=False)) # is always True
            assert(repr(r) == r.unparse(pretty=False, raw=False)) # also always True
        
        Install
        ~~~~~~~
        
        |Latest Version| |Supported Python Versions|
        
        If you have downloaded the source code:
        
        .. code:: sh
        
            python setup.py install
        
        or if you want to obtain a copy from the Pypi repository:
        
        .. code:: sh
        
            pip install rapidxml
        
        Both commands will install the required package dependencies.
        
        A distribution package can be obtained for manual installation at:
        
        ::
        
            http://pypi.python.org/pypi/RapidXml
        
        Source
        ~~~~~~
        
        python\_rapidxml's git repo is available on GitHub, which can be browsed
        at `github <https://github.com/Arzaroth/python_rapidxml>`__ and cloned
        like that:
        
        .. code:: sh
        
            git clone https://github.com/Arzaroth/python_rapidxml.git
        
        License
        ~~~~~~~
        
        MIT license. See the LICENSE file.
        
        Development status
        ~~~~~~~~~~~~~~~~~~
        
        |Build Status|
        
        This project is currently under development.
        
        .. |Latest Version| image:: https://img.shields.io/pypi/v/RapidXml.svg
           :target: https://pypi.python.org/pypi/RapidXml/
        .. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/RapidXml.svg
           :target: https://pypi.python.org/pypi/RapidXml/
        .. |Build Status| image:: https://travis-ci.org/Arzaroth/python_rapidxml.svg?branch=master
           :target: https://travis-ci.org/Arzaroth/python_rapidxml
        
Keywords: rapidxml xml parsing
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
