{"id":30240400,"url":"https://github.com/hypothesis/batch-tools","last_synced_at":"2026-03-17T11:07:00.431Z","repository":{"id":190643996,"uuid":"683071297","full_name":"hypothesis/batch-tools","owner":"hypothesis","description":"Python scripts for batch operations on Hypothesis annotations","archived":false,"fork":false,"pushed_at":"2025-06-25T10:59:56.000Z","size":84,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-25T11:50:58.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hypothesis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-08-25T14:25:32.000Z","updated_at":"2025-06-25T10:57:40.000Z","dependencies_parsed_at":"2023-08-25T18:59:39.153Z","dependency_job_id":"c7112945-b069-43ef-89bf-d84149a56649","html_url":"https://github.com/hypothesis/batch-tools","commit_stats":null,"previous_names":["hypothesis/batch-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hypothesis/batch-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fbatch-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fbatch-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fbatch-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fbatch-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypothesis","download_url":"https://codeload.github.com/hypothesis/batch-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fbatch-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270524429,"owners_count":24600195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-15T04:38:23.745Z","updated_at":"2026-03-17T11:06:55.385Z","avatar_url":"https://github.com/hypothesis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hypothesis API batch scripts\n\nPython scripts for performing bulk operations against the Hypothesis API.\n\n## Installation\n\nThis project uses [Pipenv](https://pipenv.pypa.io). To install dependencies,\nrun:\n\n```sh\npipenv install\n```\n\n## Usage\n\n1. Generate a developer token at https://hypothes.is/account/developer, or otherwise\n   obtain a Hypothesis access token.\n\n2. Set the `HYPOTHESIS_ACCESS_TOKEN` env var to the access token\n\n   ```sh\n   export HYPOTHESIS_ACCESS_TOKEN={YOUR_TOKEN}\n   ```\n\n3. Run the specific batch tool you want using `pipenv run \u003ctool\u003e`. See\n   the `[scripts]` section of `Pipfile` for a list of available scripts.\n\n### Bulk annotation delete\n\nDelete all annotations on `URL` in `GROUP_ID`.\n\n```sh\npipenv run bulk_delete URL GROUP_ID --endpoint https://hypothes.is/api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Fbatch-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypothesis%2Fbatch-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Fbatch-tools/lists"}