Skip to content

Releases: annotation/stam-python

v0.2.1

21 Jun 13:43

Choose a tag to compare

  • Updated for stam-rust v0.7.2

v0.2.0

07 Jun 11:28

Choose a tag to compare

  • find_data() returns a list now
  • added case_sensitive parameter for find_text()
  • Updated to latest stam-rust library (0.7.0)
  • Updated to latest pyo3 library

v0.1.0

19 Apr 11:37

Choose a tag to compare

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() and TextSelectionOperator
    • Implemented TextSelection.offset()
    • Implemented various _len() and _count() methods
    • Implemented methods from the Text trait: find_text_regex(), strip_text() (called trim_text() in rust, but I opted for a name closer to Python for the python binding)
    • Implemented relative_offset() and test() for TextSelection
    • Implemented string representation methods for Offset and Cursor
  • Removed the AnnotationDataBuilder class to create AnnotationData, relying on simple Python dictionaries instead now.
  • Refactoring
  • Added API reference documentation #3
  • Wrote a tutorial #4
  • Added a cool logo

v0.0.4

02 Apr 20:33

Choose a tag to compare

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

v0.0.3

25 Mar 15:37

Choose a tag to compare

Initial release, builds against stam-rust 0.3.0 (experimental)