{"id":37070815,"url":"https://github.com/mscarey/anchorpoint","last_synced_at":"2026-01-14T08:16:22.239Z","repository":{"id":57410267,"uuid":"224384497","full_name":"mscarey/anchorpoint","owner":"mscarey","description":"text substring selectors for anchoring annotations","archived":false,"fork":false,"pushed_at":"2025-11-03T05:56:07.000Z","size":283,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T07:15:45.258Z","etag":null,"topics":["text-annotation","text-selector"],"latest_commit_sha":null,"homepage":"https://anchorpoint.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mscarey.png","metadata":{"files":{"readme":"README.rst","changelog":"changelog.rst","contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-27T08:44:49.000Z","updated_at":"2025-11-03T05:56:11.000Z","dependencies_parsed_at":"2025-01-26T05:28:45.250Z","dependency_job_id":null,"html_url":"https://github.com/mscarey/anchorpoint","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mscarey/anchorpoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscarey%2Fanchorpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscarey%2Fanchorpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscarey%2Fanchorpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscarey%2Fanchorpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mscarey","download_url":"https://codeload.github.com/mscarey/anchorpoint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscarey%2Fanchorpoint/sbom","scorecard":{"id":665320,"data":{"date":"2025-08-11","repo":{"name":"github.com/mscarey/anchorpoint","commit":"ae25c416ea94b7ddd1059e81d35634016d6b6011"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python_package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_package.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/mscarey/anchorpoint/python_package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/mscarey/anchorpoint/python_package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python_package.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/python_package.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/python_package.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.6.0 not signed: https://api.github.com/repos/mscarey/anchorpoint/releases/49825126","Warn: release artifact v0.6.0 does not have provenance: https://api.github.com/repos/mscarey/anchorpoint/releases/49825126"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T17:49:14.280Z","repository_id":57410267,"created_at":"2025-08-21T17:49:14.280Z","updated_at":"2025-08-21T17:49:14.280Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["text-annotation","text-selector"],"created_at":"2026-01-14T08:16:21.690Z","updated_at":"2026-01-14T08:16:22.230Z","avatar_url":"https://github.com/mscarey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Anchorpoint\n===========\n\nA Python library for anchoring annotations with text substring selectors.\n\n.. image:: https://img.shields.io/badge/open-ethical-%234baaaa\n    :target: https://ethicalsource.dev/licenses/\n    :alt: An Ethical Open Source Project\n\n.. image:: https://coveralls.io/repos/github/mscarey/anchorpoint/badge.svg?branch=master\n    :target: https://coveralls.io/github/mscarey/anchorpoint?branch=master\n    :alt: Test Coverage Percentage\n\n.. image:: https://github.com/mscarey/anchorpoint/actions/workflows/python_package.yml/badge.svg\n    :target: https://github.com/mscarey/anchorpoint/actions\n    :alt: GitHub Actions Workflow\n\n.. image:: https://readthedocs.org/projects/anchorpoint/badge/?version=latest\n    :target: https://anchorpoint.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\nAnchorpoint supplies TextQuoteSelector and TextPositionSelector\nclasses based on the Web Annotation Data Model, which is\na `W3C Recommendation`_. Anchorpoint includes helper methods\nfor switching between selector types, and\na `pydantic`_ schema for serialization. Anchorpoint is used\nby `Legislice`_ for referencing laws such as statutes, and\nby `AuthoritySpoke`_ for referencing judicial opinions.\n\n`API Documentation`_ is available on readthedocs.\n\nAnchorpoint relies on `python-ranges`_ to perform set operations on spans of text.\n\nRelated Packages\n~~~~~~~~~~~~~~~~\n\nIn Javascript, try the `Text Quote Anchor`_ and `Text Position Anchor`_ packages.\n\nIn Python try python-ranges_, which is the basis for much of the TextPositionSelector class's behavior.\n\n.. _W3C Recommendation: https://www.w3.org/TR/annotation-model/\n.. _pydantic: https://docs.pydantic.dev/latest/\n.. _Legislice: https://github.com/mscarey/legislice\n.. _AuthoritySpoke: https://authorityspoke.readthedocs.io\n.. _API Documentation: https://anchorpoint.readthedocs.io/en/latest/\n.. _python-ranges: https://github.com/Superbird11/ranges\n.. _Text Quote Anchor: https://www.npmjs.com/package/dom-anchor-text-quote\n.. _Text Position Anchor: https://www.npmjs.com/package/dom-anchor-text-position","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscarey%2Fanchorpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmscarey%2Fanchorpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscarey%2Fanchorpoint/lists"}