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

Uploaded Source

File details

Details for the file xmldataset-1.0.4.tar.gz.

File metadata

  • Download URL: xmldataset-1.0.4.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for xmldataset-1.0.4.tar.gz
Algorithm Hash digest
SHA256 49c8dc0586633df1bf16c91787aa4575139ed8c58293729aa9b18107e3804af4
MD5 4cfdbf94d65e521e662e611421d0e1c7
BLAKE2b-256 f164c8f0e9945cb5d0bb80d49092687a0ce980a78e14d5bb22545c184e332c97

See more details on using hashes here.

Supported by

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