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.3.tar.gz (31.1 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.3-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.3.3.tar.gz
  • Upload date:
  • Size: 31.1 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.3.3.tar.gz
Algorithm Hash digest
SHA256 d6151552aa59da54aa4d72c6ee76f4ae8bba69a759d5bab92312e6b21ea826de
MD5 9366a20b1f445232cad539fcf67e6b24
BLAKE2b-256 8ba29e7196652ba03e044c1ddfb885e0cafa705dd91530a85f35d6d58f55f4a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.3.3-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.4

File hashes

Hashes for anchorpoint-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f911985741c64003552790e9f5ba650571ecb95bec46c95b410bf1b79a3d0520
MD5 21884ca93356b2f857a9ad3fb0431286
BLAKE2b-256 ffe8b710f48a0eeee573cbc4ee3e31117d8e55043b2f774c0739fb9cd4bc7a25

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