Skip to main content

Wechat XML Module for Python.

Project description

Wechat XML Module for Python.

Installation

pip install pywe-xml

Usage

from pywe_xml import dict_to_xml, xml_to_dict, pair_to_xml

Method

def dict_to_xml(d, ignore=True, isdigit=True, subxml=False):

def xml_to_dict(x):

def pair_to_xml(listuple, ignore=True, isdigit=True, subxml=False):
    """ [('a', 1), ('b', 2), ('c', [('d', 4)])...] """

Project details


Download files

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

Source Distribution

pywe-xml-1.0.6.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

pywe_xml-1.0.6-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page