Skip to main content

XML Dataset: xml parsing made easy

Project description

https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667 https://travis-ci.org/spurin/xmldataset.png?branch=master https://badge.fury.io/py/xmldataset.png

XML Dataset: simple xml parsing

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


Download files

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

Source Distribution

xmldataset-1.0.4.tar.gz (13.6 kB view hashes)

Uploaded Source

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