Python wrapper for libwbxml.
>>> import wbxml
>>> wbxml.xml_to_wbxml(xml) #converts xml to wbxml
>>> wbxml.wbxml_to_xml(w) # converts wbxml to xml
Just type in your shell:
$ pip install wbxml
If your wbxml.h
is not in the /usr/include
directory:
$ pip install --global-option=build_ext --global-option="-I<include_dir>" wbxml
You need to have libwbxml installed.
In Ubuntu 14.04 install:
$ sudo apt-get install libwbxml2-dev
- Fork repo
- Code your changes
- Submit pull request
- Profit!