Metadata-Version: 1.1
Name: tag_wrap
Version: 1.0.4
Summary: A simple tag wrapping method for XML and HTML.
Home-page: https://github.com/remiyu/tag_wrap.git
Author: Josh Whetton
Author-email: whetton.josh@gmail.com
License: MIT
Description: #tag_wrap
        
        A simple tag and attribute generation tool.
        
        ## Purpose
        
        Developed to simplify the generation of HTML and XML content.
        
        ## Usage
        
        Syntax: wrap(tag_name, optional_attribute1="here", optional_attributeN="here, content_to_be_wrapped)
        
        You may specify any number of attributes and any number of items to wrap as well as nesting tags themselves.
        
        ## Examples
        
        `import tag_wrap`
        
        ### HTML Paragraph
        
        `tag_wrap.wrap('p', "This is a paragraph.")`
        
        Produces:
        
        `<p>This is a paragraph.</p>`
        
        ### Nested HTML with attributes and a nested body
        
        `tag_wrap.wrap('html', lang="en-US", wrap('body', 'Body content here'))`
        
        Produces:
        
        `<html lang="en-US"><body>Body content here</body></html>`
        
        ## Authors
        
        Josh Whetton
        
        
Keywords: development xml html generation
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Text Processing
Classifier: License :: OSI Approved :: MIT License
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
