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.4.2.tar.gz (33.2 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.4.2-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.4.2.tar.gz
  • Upload date:
  • Size: 33.2 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.4

File hashes

Hashes for anchorpoint-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c1fe18bc8f0dcbdc035fa0e658d7bfcd328ad6248bb6f9514257b3e3146baa45
MD5 b8bf9357c6769db953b8fd262724f816
BLAKE2b-256 d560a41a3cad109249560412e3febb0802fec44fbd72421a56dd7bdafb4c6809

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 34.5 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.4

File hashes

Hashes for anchorpoint-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cb3a42015b256510beb88294ce31617591b0d9df3e11dc508fadf34756bdf83b
MD5 19883eba9fef1ba1ebe3d94075ecb4ce
BLAKE2b-256 9c0146176092598149c0cf7e99b8062668f87cc8fd3be8deb959cde62322da1a

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