This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This project allows you to read DDEX files into friendly Python data types. XML files are decoded using the PyXB library.

Keep in mind that this is a fairly low level library that only aims at making DDEX files easier to read using Python. Some DDEX data structures expose lists containing only one element, and some value like UpdateIndicator are not cast as booleans.

Features

  • Open an XML file into a DDEX data structure generated by pyxb corresponding to the DDEX version.
  • Parse this DDEX data structure into a Python dict.

Supported DDEX versions

  • 3.1.2
  • 3.2 (untested)
  • 3.3
  • 3.4
  • 3.4.1
  • 3.5
  • 3.5.1
  • 3.6

Version 3.7 is causing issues with PyXB.

Quickstart

from ddexreader import open_ddex, ddex_to_dict

xml_path = '/path/to/my/ddex_file.xml'
ddex = open_ddex(xml_path)
ddex_dict = ddex_to_dict(ddex)

How to add more DDEX definitions

After installing pyxb on your (unix) system, enter:

pyxbgen -u [the url to the definition file]

History

0.1.1 (2015-09-14)

  • Added support for ERN 3.1.2

0.1.0 (2015-01-11)

  • First release on PyPI.
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0.post1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ddexreader-0.1.1-py2.py3-none-any.whl (2.0 MB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 14, 2015
ddexreader-0.1.1.zip (2.0 MB) Copy SHA256 Checksum SHA256 Source Sep 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting