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.3.0.tar.gz (30.3 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.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anchorpoint-0.3.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.2

File hashes

Hashes for anchorpoint-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2bb98217d47065dec8fb9271be6c731cbb9e60002f82e7b4bbcbec1797f49324
MD5 7d1b192faf458784d3d8b4d81c954e1f
BLAKE2b-256 0d94dd05df3d69a04150a08469be03177d94ba8e601d6b45d7c58cdc2adc16f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anchorpoint-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.2

File hashes

Hashes for anchorpoint-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdfa0bc6492a71db5e0f34e693c0f4ffed423aaec1b7a9696ad084241fdeceea
MD5 60e768210dd47eae199298166802e3b2
BLAKE2b-256 e664ad3235cf260655a6595e07c71058b8ef419b01db8eecbcd503acb0517585

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