Releases: annotation/stam-python
Releases · annotation/stam-python
v0.2.1
v0.2.0
v0.1.0
This is the first release ready for the general public, built against stam-rust 0.6.0:
- Adapted to the (numerous) new API changes in stam-rust 0.6.0
- Added a
pyi
file (python includes) with signatures for documentation and for IDEs (autocompletion etc) #3 - Exposed a wide variety of methods that were not previously available yet
- Implemented
find_textselections()
,find_annotations()
andTextSelectionOperator
- Implemented
TextSelection.offset()
- Implemented various
_len()
and_count()
methods - Implemented methods from the
Text
trait:find_text_regex()
,strip_text()
(calledtrim_text()
in rust, but I opted for a name closer to Python for the python binding) - Implemented
relative_offset()
andtest()
forTextSelection
- Implemented string representation methods for
Offset
andCursor
- Implemented
- Removed the
AnnotationDataBuilder
class to createAnnotationData
, relying on simple Python dictionaries instead now. - Refactoring
- Added API reference documentation #3
- Wrote a tutorial #4
- Added a cool logo
v0.0.4
Like the parent library, this release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.
- Adapted to new API (stam-rust 0.5.0), adds STAM CSV support
- Renamed static shortcut methods to construct selectors; more explicit
- added methods to retrieve data associated with selectors
- added save() and set_filename() methods