Stam

Latest version: v0.10.1

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

Scan your dependencies

Page 5 of 5

0.3.0

This third release makes the library ready for experimentation, but not for production use yet.

A lot has been implemented:

* auto-generated IDs, enabled by default
* support for reading from stdin and outputting to stdout instead of reading from/to file
* searching in working directory when loading/saving files
* add multiple annotations from a json file (annotate_from_file())
* merge multiple annotation stores into one
* powerful regular expression based text search via search_text()
* unicode character position to utf8 byte conversion
* configurability via the Config class
* Serialisation/deserialisation to/from stand-off files via the `include` mechanism
* Renamed to_string() to to_json()
* Ordered iteration over text selections in a resource
* a position index that aids in mapping text offsets to annotations and enforces an ordering
* Initial support for internal ranged selectors, improving the space efficiency of complex selectors (annotation/stam11)
* More efficient unicode points to utf8 byte conversion
* Improved JSON error feedback, and error feedback in general
* Many bugfixes and major refactoring

0.2.0

This is a second initial release. This library is an an early stage of development. Not ready for production use yet.

A lot has been implemented in this release, iterators and reverse indices being one of the new features, and a lot from the previous release has been refactored and improved.

0.1.0

Initial release. This library is an an early stage of development. Not ready for production use yet.

Implemented at this stage is the core model and serialisation from/to STAM json.

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.