Metadata-Version: 1.1
Name: htmlwrite
Version: 0.7.0
Summary: Write html to a file like object, using a pythonic syntax.
Home-page: https://github.com/garyvdm/htmlwrite
Author: Gary van der Merwe
Author-email: garyvdm@gmail.com
License: Apache-2
Description: `htmlwrite` is a python library for writing html to a file like object, using a pythonic syntax.  Use as an alternative to templating engines. 
        
            >>> import sys
            >>> 
            >>> from htmlwrite import Writer, Tag
            >>> 
            >>> writer = Writer(sys.stdout)
            >>> w = writer.write
            >>> c = writer.context
            >>> 
            >>> with c(Tag('html')):
            ...     with c(Tag('body')):
            ...         with c(Tag('div', class_=('foo', ), s_font_weight='bold')):
            ...             w('Hello world  ')
            ...         w(Tag('div'), 'ok, bye.')
            ... 
            <html>
              <body>
                <div class="foo" style="font-weight: bold;">
                  Hello world  
                </div>
                <div>ok, bye.</div>
              </body>
            </html>
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
