Stam

Latest version: v0.10.1

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

Scan your dependencies

Page 4 of 5

0.7.2

* bug fix for stack overflow error in various iterators
* implemented test_data() methods on Annotation and AnnotationDataSet
* AnnotationData::test() renamed to AnnotationData::test_value(), added a new higher-level test() method

0.7.1

Minor correction, previous version tagged the wrong commit

0.7.0

* find_data() has been reimplemented and now returns an iterator, the old-style version is renamed to `data_by_value()`
* implemented find_text_nocase()
* implemented find_text_sequence() for finding/aligning text sequences
* added TextResource.with_filename()
* minor fixes
* updated dependencies

0.6.0

This release is now ready for use by the general public, even though there may still be API changes in the future, the biggest ones are now behind us:

* Implemented a higher-level API. This is generally implemented on the new `WrappedItem<T>` structure which wraps various STAM data structures in a fat pointer that also references the underlying store.
* Implemented `find_textselections()` and `find_annotations()` method that use `TextSelectionOperator` to find textselections/annotations that are in a specific textual relationship (overlap, embedding, adjacency, etc..).
* Implemented a `Text` trait that consolidates all operations on text. It is implemented for `TextResource` and `TextSelection`.
* Contains methods like `split_text()`, `trim_text()`, `find_text()`, `find_text_regex()`... all returning text selections (retaining offset information)
* Renamed various data types:
* `SearchTextIter` -> `FindRegexIter`
* `AnyId` -> `Item` , and major refactoring that allows borrowed as well as owned forms now.
* Implemented `Clone` for more data types.
* Major refactoring
* Removed a decent amount of redundancy
* Made various structure parameters private, use getters/setters to access them
* Improved builder patterns
* Numerous bugfixes
* Added more benchmarks
* Added a cool logo

0.5.0

This release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.

* Implemented STAM CSV support
* Major refactoring and various bugfixes

0.4.0

This release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.

* reimplemented search_text() to return results in textual order and implemented support for disallowing overlapping results
* reimplemented utf8byte_to_charpos to be more efficient (using byte2charmap index now)
* changed passing Config , required in more places (and with ownership)
* renamed from_str() to from_json()
* adding method positionindex_len() to TextResource

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.