Metadata-Version: 1.1
Name: pxml
Version: 0.2.1
Summary: A library and command-line tool to "prettify" XML.
Home-page: http://github.com/metagriffin/pxml
Author: metagriffin
Author-email: metagriffin@uberdev.org
License: MIT (http://opensource.org/licenses/MIT)
Description: Pretty-Print XML
        ================
        
        
        A library and command-line tool to "prettify" XML.
        
        Installation
        ------------
        
        
        ``` bash
        $ pip install pxml
        ::
        
        
          ## On the Command-Line
        
        $ echo '<root><node attr="value">foo</node></root>' | pxml
        <?xml version="1.0" encoding="utf-8"?>
        <root>
          <node attr="value">foo</node>
        </root>
        ::
        
        
          And add some color:
        
          ![pxml with color](https://raw.github.com/metagriffin/pxml/master/pxml-color.png "pxml with color")
        
          ## As a Python Module
        
          ``` python
          import pxml, StringIO
        
          src = StringIO('<root><node attr="value">foo</node></root>')
          out = StringIO()
        
          pxml.prettify(src, out)
        
          assert(out.getvalue() == '''\
          <?xml version="1.0" encoding="utf-8"?>
          <root>
            <node attr="value">foo</node>
          </root>
          ''')
        
Keywords: pretty xml command-line library
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
