Anchorpoint
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.
Metadata
Release files for anchorpoint 0.3.1
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.3.1.tar.gz | 30.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anchorpoint-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.8 kB
Release files / anchorpoint-0.3.1.tar.gz
| Download URL | anchorpoint-0.3.1.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36da8937f484b6e9215e04d569d9f2956747c90c1f277f524dc3f518e1722d58
|
|
BLAKE2b-256 checksum How to use checksums |
16e4b0850aae134fa3f9c6f1e0f81e8053e2b1b2006905783c77fd5ac101ff80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|
Release files / anchorpoint-0.3.1-py3-none-any.whl
| Download URL | anchorpoint-0.3.1-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
612737c081d628c823e6b70f1376138010ea0e5b5799810793c5451b4d2e0892
|
|
BLAKE2b-256 checksum How to use checksums |
bb280e168ad9b86656dc1466c41c00a2e3fc189d9e4922ac8e556247072ad819
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|