Releases: annotation/stam-python
Releases · annotation/stam-python
v0.8.2
v0.8.1
- 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
- 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, passreadonly=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()
andview()
methods
v0.7.0
v0.6.0
- upgraded against stam-rust v0.11.0
- Implemented STAM Transpose extension: a
Annotation.transpose()
function is now available. - implemented
Offset.shift()
,Cursor.shift()
andOffset.__len__()
- implemented higher-level API methods for testing spatial relations
Annotation.test_textselection()
Annotation.test()
v0.5.0
- 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
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
- Changed parameters for passing filters to methods like
- 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
v0.3.0
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.