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.

Source Distribution

anchorpoint-0.3.2.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anchorpoint-0.3.2-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.3.2.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for anchorpoint-0.3.2.tar.gz
Algorithm Hash digest
SHA256 602aa5c720686c0ab2763f6a1bff7f60875880d55a0edbb4f5bc1d7a4f4c1706
MD5 98f8b1b5a55b600a335e39d9ce8281e9
BLAKE2b-256 3491a34da430ab8dff236d9e5aac3be984d688826a405ec7eb5bee8a66c590af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for anchorpoint-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d069ed034c0154bee981cb173063e02164f647200ae92b2bb3a06533143f86de
MD5 32bef0a088bd750ab8562a2807ee88ef
BLAKE2b-256 703d9b1b57ee390e40fbe8fc85cf8471876e3297830145eef1b9e1ceda8b4974

See more details on using hashes here.

Supported by

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