Skip to main content

Text substring selectors for anchoring annotations

Project description

A Python library for anchoring annotations with text substring selectors.

An Ethical Open Source Project Test Coverage Percentage GitHub Actions Workflow Documentation 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 pydantic 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.

Project details


Download files

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

Source Distribution

anchorpoint-0.8.2.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

anchorpoint-0.8.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file anchorpoint-0.8.2.tar.gz.

File metadata

  • Download URL: anchorpoint-0.8.2.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for anchorpoint-0.8.2.tar.gz
Algorithm Hash digest
SHA256 c20d021fbda299e458068feb2a107cc650b7f673725195b7b11b9554e518b622
MD5 787c3ea0c53e1800ac9c16d996e2ea7c
BLAKE2b-256 d14308511bb54e53e9e599e4660ebed6985189f2db7170e19498646e904d6ab7

See more details on using hashes here.

File details

Details for the file anchorpoint-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: anchorpoint-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for anchorpoint-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2eb29b549de585a53f491d589ade0ba1d59f5c6f14245419660be7bddec48305
MD5 dd7964b285571718c837a4ebaf99e603
BLAKE2b-256 899cbc9db84b40191e06f226b855f43bdef0feae25e5f54f3e926107617b78b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page