XML Dataset: xml parsing made easy
Project description
XML Dataset: simple xml parsing
Free software: BSD license
Documentation: https://xmldataset.readthedocs.io
History
0.1.0 (2014-08-17)
First release on PyPI.
0.1.1 (2014-08-17)
Minor updates to supporting documents
0.1.2 (2014-08-17)
Minor updates to supporting documents
0.1.3 (2014-08-17)
Minor updates to supporting documents
0.1.4 (2014-08-27)
Added default option to profile markup, allows a default value to be be set in the event that the context is missing from the XML, usage default: Results in a string of ‘’ for missing entries default:Missing Results in a string of ‘Missing’ for missing entries
0.1.5 (2014-09-08)
Added an option of __DATASET_PROCESSING__ which allows datasets to be processed against a function, usage __DATASET_PROCESSING__ = dataset:process
The process needs to be parsed as an object parameter as per the existing dataset process functionality
0.1.6 (2014-09-24)
Updated the default option so that it works with nested defaults
If there is a level in the XML structure that is not traversed but contains defaults, we may still want these default values to be reflected in the dataset. The parser now understands the optional syntax -
__ALWAYS_FOLLOW__ entry
To allow the parser to follow the profile entry and set defaults
0.1.7 (2015-06-02)
Added an option for parse_using_profile of global_values
When supplied as a dictionary, all entries in the dictionary are merged into new datasets. For example -
parse_using_profile(xml, profile, global_values = { ‘location’ : ‘Chorleywood’})
1.0.0 (2016-06-18)
First official release, revamped documentation
1.0.1 (2016-10-14)
Tidied up core for main execution example (use python -m xmldataset to use the inbuilt example)
Added use of pandas to quick start
Added 3.4 to tox.ini, updated .travis.yml to include 3.4 and current
1.0.2 (2020-05-30)
Added 3.7, 3.8 to tox.ini, updated .travis.yml to include 3.7 and 3.8, removed 2.6 and 3.3 (no longer supported)
Implemented fix for duplicate results, thanks @davidmarcano
Code passed through black for standardisation
1.0.3 (2020-05-30)
Documentation, awesome badge
1.0.4 (2020-05-30)
History update
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.