A Python library for anchoring annotations with text substring selectors.
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.
Release files for anchorpoint 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anchorpoint-0.8.2.tar.gz | 27.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anchorpoint-0.8.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / anchorpoint-0.8.2.tar.gz
| Download URL | anchorpoint-0.8.2.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c20d021fbda299e458068feb2a107cc650b7f673725195b7b11b9554e518b622
|
|
BLAKE2b-256 checksum How to use checksums |
d14308511bb54e53e9e599e4660ebed6985189f2db7170e19498646e904d6ab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / anchorpoint-0.8.2-py3-none-any.whl
| Download URL | anchorpoint-0.8.2-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eb29b549de585a53f491d589ade0ba1d59f5c6f14245419660be7bddec48305
|
|
BLAKE2b-256 checksum How to use checksums |
899cbc9db84b40191e06f226b855f43bdef0feae25e5f54f3e926107617b78b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|