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.7.0.tar.gz (27.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.7.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.7.0.tar.gz
  • Upload date:
  • Size: 27.1 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.7.0.tar.gz
Algorithm Hash digest
SHA256 0746acffacb89881c3c1c6849f05eea412df54088ad07f41e979b41a1e353eb2
MD5 b3a2d3254788894ac5212d3f8102aae9
BLAKE2b-256 c715cc333b469bf1aad914f3719fb4229270ba6c7c101dda78410ed8836b5fce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4baefa8f380fde4166df78e9518beb319ed8a6732dfe784b9353e4c78997a9b7
MD5 171d74940c96c1519eefedf262237b45
BLAKE2b-256 c5a03d6b8d6b38dfec83f914ae552d7cb93b8143004fa0faf468ce60c58667ad

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.2

2 files

This release

0.7.0 This release

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page