Skip to main content

A Python library for anchoring annotations with text substring selectors.

An Ethical Open Source Project Test Coverage Percentage CircleCI Status 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.

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.6.1.tar.gz (26.5 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.6.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.6.1.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7

File hashes

Hashes for anchorpoint-0.6.1.tar.gz
Algorithm Hash digest
SHA256 dd965a0935dc36ff73abbb0c6ff417d9fa5501d9de753a95229c627798b06b3e
MD5 6b9d5181fdf055ee3a6690d0e6606031
BLAKE2b-256 324888954d312a537c98aa34927ec7bc023fee3c40abdc88111f6f10a75a1e22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7

File hashes

Hashes for anchorpoint-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47d8c0c57e2f7d65f3d59a668edfcd960c065510c6d157f46f35f15b6eb91cf5
MD5 2e539a92e2b4b9015fd73e12c636d67d
BLAKE2b-256 96238dfaf548850f70511518df6052671470ecd2e5d7bea07f756a5d5494f693

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