Eulfedora

Latest version: v1.7.2

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.0

---

* API methods have been overhauled to use `python-requests <http://python-requests.org>`_
and `requests-toolbelt <http://toolbelt.readthedocs.org>`_

.. Note::

API methods that previously returned a tuple of response content and the url
now simply return the response object, which provides access to both content
and url (among other information). Server and DigitalObject classes should
behave as before, but API methods are **not** backward-compatible.

.. Warning::

The API upload method filesize is limited by the system maxint (2GB on 32-bit OSes)
due to a `limitation with the Python len() method <http://bugs.python.org/issue12159>`_
(possibly dependent on your Python implementation). If you need large file
upload support on a 32-bit OS, you should use an earlier version of eulfedora.

* New script **upload-test.py** for testing upload behavior on your platform;
also provides an example of an upload callback method. (Found in the scripts
directory, but not installed with the module.)
* bugfix: relationship methods on :class:`~eulfedora.models.DigitalObject` now
recognize unicode as well as string pids as resources.

0.23

----

* Related objects accessed via :class:`~eulfedora.models.Relation` are now
cached for efficiency, similar to the way datastreams are cached on
:class:`~eulfedora.models.DigitalObject`.
* Methods :meth:`~eulfedora.models.DigitalObject.purge_relationship` and
:meth:`~eulfedora.models.DigitalObject.modify_relationship` added to
:class:`~eulfedora.models.DigitalObject`.
Contributed by `Graham Hukill ghukill <https://github.com/ghukill>`_.

0.22.2

------

* bugfix: correction in detailed output for validate-checksum script when
all versions are checked and at least one checksum is invalid

0.22.1

------

* bugfix: support HTTP Range requests in :meth:`eulfedora.views.raw_datastream`
only when explicitly enabled

0.22

----

* A repository administrator can configure a script to periodically check
content checksums in order to identify integrity issues so that they can
be dealt with.
* A repository administrator will receive an email notification if the system
encounters bad or missing checksums so that they can then resolve any
integrity issues.
* A repository admin can view fixity check results for individual objects
in the premis data stream (for objects where premis exists) in order to
view a more detailed result and the history.
* Support for *basic* HTTP Range requests in :meth:`eulfedora.views.raw_datastream`
(e.g., to allow audio/video seek in HTML5 media players)

0.21

----

* It is now possible to add new datastreams using
:meth:`eulfedora.models.DigitalObject.getDatastreamObject` (in contrast
to predefined datastreams on a subclass of
:class:`~eulfedora.models.DigitalObject`). Adding new datastreams is
supported when ingesting a new object as well as when saving an
existing object. This method can also be used to update
existing datastreams that are not predefined on a DigitalObject subclass.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.