Skip to main content
Help us improve Python packaging – donate today!

exemelopy is a tool for building XML from native Python data-types, similiar to the json/simplejson modules

Project Description

travis_status

exemelopy aims to be an easy-to-use tool for building an XML document from native Python data-types without any intervention; akin to the json and simplejson modules, but for XML.

This package depends on lxml to create valid XML output.

USAGE

from exemelopy import XMLEncoder
xml = XMLEncoder({'a': 1, 'b': True, 'spam': 'eggs'}).to_string()
print xml

Which will return the following output:

<?xml version='1.0' encoding='UTF-8'?>
<document>
  <a>1</a>
  <b nodetype="boolean">true</b>
  <spam>eggs</spam>
</document>

Release history Release notifications

This version
History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
exemelopy-0.0.9.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Feb 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page