Text substring selectors for anchoring annotations
Anchorpoint supplies TextQuoteSelector and TextPositionSelector classes based on the Web Annotation Data Model, which is a W3C Recommendation. Anchorpoint includes helper methods for switching between selector types, and a marshmallow schema for serialization. Anchorpoint is used by legislice for referencing laws such as statutes, and by AuthoritySpoke for referencing judicial opinions.
API Documentation is available on readthedocs.
Anchorpoint relies on python-ranges to perform set operations on spans of text.
In Python try python-ranges, which is the basis for much of the TextPositionSelector class's behavior.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size anchorpoint-0.4.3-py3-none-any.whl (34.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size anchorpoint-0.4.3.tar.gz (33.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for anchorpoint-0.4.3-py3-none-any.whl