Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 428 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 428 Bytes

pyramid_xml_renderer

pyramid_xml_renderer gives the ability to convert structures to xml string (serializers.dumps) and contains class XML (init.py) that can be used in pyramid framework to render structures to xml page Typical usage in Pyramid (init.py of your app) looks like this::

#!/usr/bin/env python

from xml_renderer import XML
config.add_renderer('your_url_to_serve', XML())