Skip to main content

Text substring selectors for anchoring annotations

Project description

Anchorpoint

CircleCI Coverage Status

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.

Related Packages

In Javascript, try the Text Quote Anchor and Text Position Anchor packages.

In Python try python-ranges, which is the basis for much of the TextPositionSelector class's behavior.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for anchorpoint, version 0.4.3
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page