Skip to main content

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.

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.5.0.tar.gz (52.4 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.5.0-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.5.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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.5

File hashes

Hashes for anchorpoint-0.5.0.tar.gz
Algorithm Hash digest
SHA256 331042effc19919a376508767a657c47eeb64391564ba84f0c61eb4920fe3e06
MD5 4c2589601e942125d81b3fe7e5883bf4
BLAKE2b-256 7404521647f451e3cf0b282675eb09b92d014c75cb5c55749afc0955d350afc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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.5

File hashes

Hashes for anchorpoint-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fad9fc218aa7a46155277477fe8e3091044815d068874c12cf703cdae942b66e
MD5 71b359e2d6d6515832cd8378841dbb4d
BLAKE2b-256 c428b560f0ca7caf035348244c7bc8eeda53d3c311d70a72987b48adfaf21c74

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.2

2 files

0.7.0

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

This release

0.5.0 This release

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