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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file pywe-xml-1.0.6.tar.gz.

File metadata

  • Download URL: pywe-xml-1.0.6.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywe-xml-1.0.6.tar.gz
Algorithm Hash digest
SHA256 136eec062ed8ca14696a445c01a292af0587f768908fec9df0cd36d560c32139
MD5 0e7e0dca9299e1fd68747ccf30b00208
BLAKE2b-256 0f963b8631186a5ee1166198abc6ec2afa76cbe04255b7a09f7ec63490e164a0

See more details on using hashes here.

File details

Details for the file pywe_xml-1.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pywe_xml-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5bf2f77f26ab06d6da65303f6d928e3e01c6495b17bfccc0a0401e1d9ed39033
MD5 d4b848a42c02319da3a234da6039bf65
BLAKE2b-256 c64890a97708809cff1be7d8ce7cb11a4abe6afabd39659c4d8f347a1b9eb358

See more details on using hashes here.

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