Skip to content

Releases: annotation/stam-python

v0.8.2

27 May 10:19

Choose a tag to compare

  • Updated against stam-rust v0.14.1 (minor bugfix release)

v0.8.1

26 May 16:07

Choose a tag to compare

  • Updated against stam-rust v0.14.0 and now also stam-tools v0.7.1
  • adapted to changed in API regarding TextSelectionOperator::Precedes and Succeeds (now allowing whitespace) (annotation/stam-rust#17)

v0.8.0

14 May 10:48

Choose a tag to compare

  • Updated against stam-rust v0.13.0 and now also stam-tools v0.7.0
  • The AnnotationStore.query() method can by default now handle mutable queries (ADD,DELETE) as well, pass readonly=True to force old read-only behaviour.
  • Implemented AnnotationStore.remove() method for deletion
  • Implement AnnotationStore.view() to visualize annotations in HTML or ansi text, this binds with stam-tools (stam view) (#11)
  • Tutorial: updated to show new remove() and view() methods

v0.7.0

28 Mar 11:04

Choose a tag to compare

  • Updated against stam-rust v0.12.0
  • added TextResource/TextSelection segmentation() method
  • Implemented TextResource.len() and TextSelection.len() as more pythonic versions of textlen()

v0.6.0

15 Mar 18:35

Choose a tag to compare

  • upgraded against stam-rust v0.11.0
  • Implemented STAM Transpose extension: a Annotation.transpose() function is now available.
  • implemented Offset.shift(), Cursor.shift() and Offset.__len__()
  • implemented higher-level API methods for testing spatial relations
    • Annotation.test_textselection()
    • Annotation.test()

v0.5.0

22 Feb 16:16

Choose a tag to compare

  • Updated against stam-rust 0.10.1
  • Supports datetime datatype
  • Implemented Annotation.webannotation() for W3C Web Annotation export
  • Added `AnnotationStore.from_file(), allowing store merges
  • Fix for AnnotationStore.add_resource(filename=) (was broken in earlier releases)

v0.4.0

24 Jan 14:11

Choose a tag to compare

This is a major release that revises parts of the high-level API and adds querying support (STAMQL).

  • Updated against stam-rust v0.9.0.
    • Major refactoring in stam-python.
    • Complex search operations now make use of the query engine in stam-rust.
  • Revised high-level API:
    • Changed parameters for passing filters to methods like annotations(), data(), textselections(), etc..
    • added AnnotationStore.query()
    • removed find_data(); data() suffices
  • Core model introduced two new selectors: Implemented DataKeySelector and AnnotationDataSelector #10
  • Various bugfixes, performance fixes and other improvements
  • Jupyter notebook tutorial updated to reflect latest version.

v0.3.1

20 Oct 12:21

Choose a tag to compare

  • Improved API documentation

v0.3.0

19 Oct 09:15

Choose a tag to compare

This is a major new release that introduces a new high-level API, allowing for elaborate search of annotations, data, text selections:

  • Updated against stam-rust v0.8.0 (a major update)
  • New API, with documentation
    • New collections Annotations, Data, TextSelections, that expose various high-level API methods
  • Added and documented new configuration parameters
  • Added a VERSION property on the module level.
  • Jupyter notebook tutorial updated to reflect latest version
  • Major refactoring for stam-rust v0.8.0
  • Many bugfixes, performance fixes, and other improvements.

Important note: This release breaks backward-compatibility in a number of ways as the API has been overhauled completely! We hope to avoid similar large breakages in the future.

Note: The performance of the Python library may still be sub-optimal in some areas regarding searching, especially compared to the native Rust version.

v0.2.2

21 Jun 13:48

Choose a tag to compare

  • Build against stam-rust v0.7.2 (previous build was incorrect in this regard)