Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
Added: PROV-XML support
  • Loading branch information
trungdong committed Aug 21, 2014
1 parent f8b1e33 commit 311d01b
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 13 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.rst
Expand Up @@ -12,4 +12,4 @@ Contributors

* Sam Millar
* Satrajit Ghosh
* Lion Krischer
* Lion Krischer (:py:mod:`prov.serializers.provxml` module)
8 changes: 8 additions & 0 deletions HISTORY.rst
Expand Up @@ -3,6 +3,14 @@
History
-------

1.1.0 (2014-08-21)
^^^^^^^^^^^^^^^^^^
* Added: Support for `PROV-XML <http://www.w3.org/TR/prov-xml/>`_ serialization and deserialization
* A :py:class:`~prov.model.ProvRecord` instance can now be used as the value of an attributes
* Added: convenient assertions methods for :py:class:`~prov.model.ProvEntity`, :py:class:`~prov.model.ProvActivity`, and :py:class:`~prov.model.ProvAgent`
* Added: :py:meth:`prov.model.ProvDocument.update` and :py:meth:`prov.model.ProvBundle.update`
* Fixed: Handling default namespaces of bundles when flattened

1.0.1 (2014-08-18)
^^^^^^^^^^^^^^^^^^
* Added: Default namespace inheritance for bundles
Expand Down
9 changes: 5 additions & 4 deletions README.rst
Expand Up @@ -20,17 +20,18 @@ Introduction
:alt: Downloads


A library for W3C Provenance Data Model supporting PROV-JSON import/export
A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML import/export

* Free software: MIT license
* Documentation: http://prov.readthedocs.org.

Features
--------

This package provides an implementation of the `W3C PROV Data Model <http://www.w3.org/TR/prov-dm/>`_ in Python.
It provides in-memory classes for PROV assertions and can be serialized into `PROV-JSON representation <http://www.w3.org/Submission/prov-json/>`_.
In addition, the included `prov.dot` module exports PROV documents into various graphical formats (e.g. PDF, PNG, SVG).
* An implementation of the `W3C PROV Data Model <http://www.w3.org/TR/prov-dm/>`_ in Python.
* In-memory classes for PROV assertions, which can then be output as `PROV-N <http://www.w3.org/TR/prov-n/>`_
* Serialization and deserializtion support: `PROV-JSON <http://www.w3.org/Submission/prov-json/>`_ and `PROV-XML <http://www.w3.org/TR/prov-xml/>`_.
* Exporting PROV documents into various graphical formats (e.g. PDF, PNG, SVG).


Uses
Expand Down
15 changes: 12 additions & 3 deletions docs/prov.serializers.rst
@@ -1,6 +1,15 @@
prov.serializers package
========================

Module contents
---------------

.. automodule:: prov.serializers
:members:
:undoc-members:
:show-inheritance:


Submodules
----------

Expand All @@ -13,10 +22,10 @@ prov.serializers.provjson module
:show-inheritance:


Module contents
---------------
prov.serializers.provxml module
-------------------------------

.. automodule:: prov.serializers
.. automodule:: prov.serializers.provxml
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion prov/__init__.py
@@ -1,6 +1,6 @@
__author__ = 'Trung Dong Huynh'
__email__ = 'trungdong@donggiang.com'
__version__ = '1.0.1'
__version__ = '1.1.0'

__all__ = ["Error", "model", "read"]

Expand Down
1 change: 0 additions & 1 deletion prov/serializers/provjson.py
Expand Up @@ -11,7 +11,6 @@
import datetime
import io
import json
import platform
import StringIO
from prov import Serializer, Error
from prov.constants import *
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
@@ -1,4 +1,5 @@
lxml==3.3.5
pydot==1.0.2
pyparsing==1.5.7
python-dateutil==2.2
wheel==0.24.0
wheel==0.24.0
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -21,8 +21,8 @@

setup(
name='prov',
version='1.0.1',
description='A library for W3C Provenance Data Model supporting PROV-JSON import/export',
version='1.1.0',
description='A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML',
long_description=readme + '\n\n' + history,
author='Trung Dong Huynh',
author_email='trungdong@donggiang.com',
Expand Down

0 comments on commit 311d01b

Please sign in to comment.