gramps-web-toolkit 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/CHANGELOG.md +15 -0
  2. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/PKG-INFO +1 -1
  3. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/client.py +19 -20
  4. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/mutants.txt +1 -0
  5. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_check.py +34 -0
  6. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/check.md +2 -0
  7. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/leads.md +2 -2
  8. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/leads/gwt_leads.py +7 -6
  9. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/leads/mutants.txt +2 -0
  10. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/leads/test_gwt_leads.py +29 -1
  11. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.agents/skills/beads/SKILL.md +0 -0
  12. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.agents/skills/beads/agents/openai.yaml +0 -0
  13. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/.gitignore +0 -0
  14. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/README.md +0 -0
  15. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/config.yaml +0 -0
  16. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/commit-msg +0 -0
  17. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/post-checkout +0 -0
  18. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/post-merge +0 -0
  19. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/pre-commit +0 -0
  20. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/pre-push +0 -0
  21. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/hooks/prepare-commit-msg +0 -0
  22. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.beads/metadata.json +0 -0
  23. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.claude/settings.json +0 -0
  24. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.coderabbit.yaml +0 -0
  25. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.codex/config.toml +0 -0
  26. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.codex/hooks.json +0 -0
  27. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/FUNDING.yml +0 -0
  28. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/ISSUE_TEMPLATE/bug.yml +0 -0
  29. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/ISSUE_TEMPLATE/capability.yml +0 -0
  30. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  31. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/dependabot.yml +0 -0
  32. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/pull_request_template.md +0 -0
  33. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/scripts/check_wheel.sh +0 -0
  34. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/scripts/run_tests.py +0 -0
  35. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/workflows/ci.yml +0 -0
  36. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/workflows/docs.yml +0 -0
  37. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/workflows/release.yml +0 -0
  38. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.github/workflows/stale.yml +0 -0
  39. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/.gitignore +0 -0
  40. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/AGENTS.md +0 -0
  41. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/CLAUDE.md +0 -0
  42. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/CONTRIBUTING.md +0 -0
  43. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/LICENSE +0 -0
  44. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/README.md +0 -0
  45. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/SECURITY.md +0 -0
  46. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/.gitignore +0 -0
  47. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/bench/run.py +0 -0
  48. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/bench/synth.py +0 -0
  49. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/conftest.py +0 -0
  50. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/__init__.py +0 -0
  51. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/__main__.py +0 -0
  52. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/cli.py +0 -0
  53. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/client.py +0 -0
  54. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/dates.py +0 -0
  55. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/dupes.py +0 -0
  56. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/lock.py +0 -0
  57. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/ops.py +0 -0
  58. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/revert.py +0 -0
  59. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/gwt_apply/snapshot.py +0 -0
  60. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/mutants.txt +0 -0
  61. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/tests/fake_api.py +0 -0
  62. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/apply/tests/test_apply.py +0 -0
  63. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/ci-extra.sh +0 -0
  64. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/conftest.py +0 -0
  65. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt-check +0 -0
  66. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/__init__.py +0 -0
  67. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/__main__.py +0 -0
  68. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/act.py +0 -0
  69. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/checks.py +0 -0
  70. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/cites.py +0 -0
  71. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/cli.py +0 -0
  72. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/compare.py +0 -0
  73. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/dates.py +0 -0
  74. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/fill.py +0 -0
  75. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/links.py +0 -0
  76. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/repos.py +0 -0
  77. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/selftest.py +0 -0
  78. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/gwt_check/tree.py +0 -0
  79. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_act.py +0 -0
  80. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_cites.py +0 -0
  81. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_dates.py +0 -0
  82. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_fill.py +0 -0
  83. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/check/tests/test_links.py +0 -0
  84. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/core/gwt_core/__init__.py +0 -0
  85. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/core/gwt_core/cli.py +0 -0
  86. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/core/gwt_core/version.py +0 -0
  87. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/core/test_gwt_core.py +0 -0
  88. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/agent-loop.md +0 -0
  89. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/apply.md +0 -0
  90. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/development.md +0 -0
  91. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/fetch.md +0 -0
  92. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/fscache.md +0 -0
  93. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/gate.md +0 -0
  94. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/getting-started.md +0 -0
  95. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/hard-won.md +0 -0
  96. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/images/banner.svg +0 -0
  97. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/images/icon.svg +0 -0
  98. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/images/logo.svg +0 -0
  99. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/images/social-preview.png +0 -0
  100. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/import-excel.md +0 -0
  101. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/index.md +0 -0
  102. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/ledger.md +0 -0
  103. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/myheritage.md +0 -0
  104. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/ocr-bench.md +0 -0
  105. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/pipeline.md +0 -0
  106. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/queue.md +0 -0
  107. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/rank.md +0 -0
  108. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/rawstore.md +0 -0
  109. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/read.md +0 -0
  110. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/requirements-docs.txt +0 -0
  111. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/spanish-poller.md +0 -0
  112. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/docs/stylesheets/theme.css +0 -0
  113. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/README.md +0 -0
  114. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/changes-fixed.jsonl +0 -0
  115. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/changes.jsonl +0 -0
  116. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/demo.sh +0 -0
  117. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/make_example.py +0 -0
  118. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/examples/tree.json.gz +0 -0
  119. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/conftest.py +0 -0
  120. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt-fetch +0 -0
  121. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/__init__.py +0 -0
  122. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/__main__.py +0 -0
  123. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/cli.py +0 -0
  124. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/digibib.py +0 -0
  125. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/europeana.py +0 -0
  126. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/gazeta.py +0 -0
  127. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/geo.py +0 -0
  128. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/iiif.py +0 -0
  129. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/net.py +0 -0
  130. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/gwt_fetch/store.py +0 -0
  131. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fetch/tests/test_fetch.py +0 -0
  132. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fscache/gwt-fscache +0 -0
  133. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fscache/gwt_fscache.py +0 -0
  134. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/fscache/test_gwt_fscache.py +0 -0
  135. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/gate/gwt-gate +0 -0
  136. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/gate/gwt_gate.py +0 -0
  137. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/gate/test_gwt_gate.py +0 -0
  138. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/importxl/gwt-import-excel +0 -0
  139. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/importxl/gwt_import_excel.py +0 -0
  140. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/importxl/test_end_to_end.py +0 -0
  141. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/importxl/test_gwt_import_excel.py +0 -0
  142. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/leads/gwt-leads +0 -0
  143. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ledger/gwt-ledger +0 -0
  144. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ledger/gwt_ledger.py +0 -0
  145. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ledger/test_gwt_ledger.py +0 -0
  146. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/mkdocs.yml +0 -0
  147. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/catalog.html +0 -0
  148. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/graphql_basic.json +0 -0
  149. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/graphql_oldnews.json +0 -0
  150. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/graphql_paid.json +0 -0
  151. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/imperva.html +0 -0
  152. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/imperva_es.html +0 -0
  153. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/lockout_es.html +0 -0
  154. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/login_wall.html +0 -0
  155. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/matches_es.txt +0 -0
  156. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/paywall_final_url.txt +0 -0
  157. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/record_en.html +0 -0
  158. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/record_es.html +0 -0
  159. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/record_es.txt +0 -0
  160. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/tiny.jpg +0 -0
  161. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/fixtures/tiny.png +0 -0
  162. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/gwt-mh +0 -0
  163. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/gwt_mh.py +0 -0
  164. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/gwt_mh_browser.py +0 -0
  165. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/myheritage/test_gwt_mh.py +0 -0
  166. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/_common.py +0 -0
  167. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/doctr_ocr.py +0 -0
  168. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/kraken_htr.py +0 -0
  169. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/llm_cli.sh +0 -0
  170. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/paddle_ocr.py +0 -0
  171. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/surya_ocr.py +0 -0
  172. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/tesseract.py +0 -0
  173. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/engines/trocr.py +0 -0
  174. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/run.sh +0 -0
  175. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/samples/.gitignore +0 -0
  176. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/samples/fetch.sh +0 -0
  177. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/samples/ref/gaceta-1885-01-01-p3.txt +0 -0
  178. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/samples/ref/murillo-1618-bautismo.txt +0 -0
  179. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/score.py +0 -0
  180. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/setup.sh +0 -0
  181. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/ocr-bench/stage.py +0 -0
  182. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/pyproject.toml +0 -0
  183. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/queue/gwt-queue +0 -0
  184. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/queue/gwt_queue.py +0 -0
  185. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/queue/test_gwt_queue.py +0 -0
  186. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rank/gwt-rank +0 -0
  187. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rank/gwt_rank.py +0 -0
  188. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rank/test_gwt_rank.py +0 -0
  189. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rawstore/gwt-rawstore +0 -0
  190. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rawstore/gwt_rawstore.py +0 -0
  191. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rawstore/pre-commit +0 -0
  192. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/rawstore/test_gwt_rawstore.py +0 -0
  193. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/fixtures/pares-record.html +0 -0
  194. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/fixtures/pares-search.html +0 -0
  195. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/gwt-read +0 -0
  196. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/gwt_pares.py +0 -0
  197. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/gwt_read.py +0 -0
  198. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/gwt_reader.py +0 -0
  199. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/test_gwt_pares.py +0 -0
  200. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/read/test_gwt_read.py +0 -0
  201. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/spanish-poller/gwt-spanish-poller +0 -0
  202. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/spanish-poller/gwt_spanish_poller.js +0 -0
  203. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/spanish-poller/package.json +0 -0
  204. {gramps_web_toolkit-0.2.2 → gramps_web_toolkit-0.2.3}/spanish-poller/test/spanish-poller.test.js +0 -0
@@ -6,6 +6,21 @@ Every release has a **Change lists** heading. It names each change that makes a
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.3] - 2026-10-26
10
+
11
+ ### Change lists
12
+
13
+ None.
14
+
15
+ ### Changed
16
+
17
+ - `gwt-check dump` and `check` read the first page of every type together, then the remaining pages, instead of one type after another; the dump holds the same objects. `check --from` does not page the tree, so it gains nothing. The per-type progress lines now appear together once the read ends. On a 260-person tree the read went from 20 s to 14 s.
18
+ - `gwt-leads` says how many of the people it held back are marked private and how many may be living, instead of one count for both.
19
+
20
+ ### Fixed
21
+
22
+ - `gwt-leads --links` no longer stops with exit 2 on a links report that has a link that is itself cited (`the link itself is cited`), the first level `gwt-check links` writes.
23
+
9
24
  ## [0.2.2] - 2026-10-26
10
25
 
11
26
  ### Change lists
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: gramps-web-toolkit
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Command-line tools for running AI research agents against a Gramps Web family tree without letting them write guesses into it
5
5
  Project-URL: Homepage, https://github.com/GeiserX/gramps-web-toolkit
6
6
  Project-URL: Documentation, https://geiserx.github.io/gramps-web-toolkit/
@@ -150,18 +150,28 @@ class Client:
150
150
  raise ApiError(f"GET {path}: HTTP {status}")
151
151
  raise ApiError(f"GET {path}: gave up after {TRIES} tries, last {last}")
152
152
 
153
+ def _pages(self, pagesize: int, workers: int) -> dict[str, tuple[int, list]]:
154
+ """{type: (the total the server says, its rows)}. First pages of all the types go out together, then
155
+ every page still missing: a small tree is ten short requests, not ten in a row."""
156
+ firsts: dict[str, tuple[int, list]] = {}
157
+ with ThreadPoolExecutor(workers) as pool:
158
+ first_page = lambda t: self.get(f"/{t}/", {"page": 1, "pagesize": pagesize}) # noqa: E731
159
+ got = [first_page(TYPES[0])] # alone, so a server that never answers stops here, not ten times over
160
+ got += pool.map(first_page, TYPES[1:])
161
+ for t, (headers, first) in zip(TYPES, got):
162
+ total = int({k.lower(): v for k, v in headers.items()}.get("x-total-count", len(first)))
163
+ firsts[t] = (total, list(first))
164
+ todo = [(t, p) for t in TYPES for p in range(2, max(1, -(-firsts[t][0] // pagesize)) + 1)]
165
+ for (t, _), (_, chunk) in zip(todo, pool.map(
166
+ lambda tp: self.get(f"/{tp[0]}/", {"page": tp[1], "pagesize": pagesize}), todo)):
167
+ firsts[t][1].extend(chunk)
168
+ return firsts
169
+
153
170
  def read_all(self, *, pagesize: int = 1000, workers: int = 4, progress=None) -> dict[str, dict[str, dict]]:
154
171
  """Every object of every type, by handle, page by page, without trusting the pages: a write during the
155
172
  read shifts them, so an object can come twice or not at all. `refresh` puts that right."""
156
173
  out: dict[str, dict[str, dict]] = {}
157
- for t in TYPES:
158
- headers, first = self.get(f"/{t}/", {"page": 1, "pagesize": pagesize})
159
- total = int({k.lower(): v for k, v in headers.items()}.get("x-total-count", len(first)))
160
- rows = list(first)
161
- with ThreadPoolExecutor(workers) as pool:
162
- for _, chunk in pool.map(lambda p: self.get(f"/{t}/", {"page": p, "pagesize": pagesize}),
163
- range(2, max(1, -(-total // pagesize)) + 1)):
164
- rows += chunk
174
+ for t, (_, rows) in self._pages(pagesize, workers).items():
165
175
  out[t] = {o["handle"]: o for o in rows}
166
176
  if progress:
167
177
  progress(t, len(out[t]))
@@ -213,18 +223,7 @@ class Client:
213
223
  def dump(self, *, pagesize: int = 1000, workers: int = 4, progress=None) -> dict:
214
224
  """Every object of every type. Raises if a type comes back short or with repeats."""
215
225
  out: dict[str, list] = {}
216
- for t in TYPES:
217
- headers, first = self.get(f"/{t}/", {"page": 1, "pagesize": pagesize})
218
- total = int({k.lower(): v for k, v in headers.items()}.get("x-total-count", len(first)))
219
- pages = max(1, -(-total // pagesize))
220
- rows = list(first)
221
- if pages > 1:
222
- with ThreadPoolExecutor(workers) as pool:
223
- for _, chunk in pool.map(
224
- lambda p: self.get(f"/{t}/", {"page": p, "pagesize": pagesize}),
225
- range(2, pages + 1),
226
- ):
227
- rows += chunk
226
+ for t, (total, rows) in self._pages(pagesize, workers).items():
228
227
  handles = {o["handle"] for o in rows}
229
228
  if len(rows) != total or len(handles) != total:
230
229
  # pages shift when the tree changes mid-dump; a short dump gives false orphans
@@ -37,3 +37,4 @@ gwt_check/cites.py | if want in ("death", "marriage") and any | if any | a birth
37
37
  gwt_check/cites.py | prob = citation_problem(e, c) if c else None | prob = citation_problem(e, c) | a citation missing from the dump is skipped
38
38
  gwt_check/cli.py | raise BadInput(f"{tree.source}: a .gramps backup has no citation pages; use a dump") | pass | cites refuses a .gramps backup
39
39
  gwt_check/fill.py | if rep.get("held_back"): | if False: | the text output counts the held-back events
40
+ gwt_check/client.py | got += pool.map(first_page, TYPES[1:]) | got += [first_page(t) for t in TYPES[1:]] | the first pages of the types are read together, not one type after another
@@ -7,6 +7,8 @@ import os
7
7
  import ssl
8
8
  import subprocess
9
9
  import sys
10
+ import threading
11
+ import time
10
12
  import urllib.error
11
13
  import urllib.parse
12
14
 
@@ -208,6 +210,38 @@ class Flaky:
208
210
  return self.server(req, timeout)
209
211
 
210
212
 
213
+ class Slow:
214
+ """Answers every page read after a pause and records how many were in flight at once."""
215
+
216
+ def __init__(self, server):
217
+ self.server, self.now, self.peak, self.lock = server, 0, 0, threading.Lock()
218
+
219
+ def __call__(self, req, timeout):
220
+ if req.full_url.split("?")[0].endswith("/token/"):
221
+ return self.server(req, timeout)
222
+ with self.lock:
223
+ self.now += 1
224
+ self.peak = max(self.peak, self.now)
225
+ time.sleep(0.05)
226
+ with self.lock:
227
+ self.now -= 1
228
+ return self.server(req, timeout)
229
+
230
+
231
+ def test_the_types_are_read_together_and_come_out_the_same_as_one_by_one():
232
+ data = selftest.clean_tree()
233
+ slow = Slow(FakeServer(data))
234
+ client = Client("https://gramps.example.org", "u", "pw", opener=slow)
235
+ client.dump(pagesize=1000, workers=4)
236
+ assert slow.peak > 1 # every type is one page here, so only the first pages read together can overlap
237
+ out = client.dump(pagesize=3, workers=4)
238
+ assert {t: [o["handle"] for o in v] for t, v in out.items()} == {t: [o["handle"] for o in v] for t, v in data.items()}
239
+ one = Slow(FakeServer(data))
240
+ assert Client("https://gramps.example.org", "u", "pw", opener=one).dump(pagesize=3, workers=1) == out
241
+ assert one.peak == 1
242
+ assert list(client.read_all(pagesize=3, workers=4)) == list(out)
243
+
244
+
211
245
  def test_a_page_that_times_out_twice_is_read_on_the_third_try():
212
246
  data = selftest.clean_tree()
213
247
  waits = []
@@ -242,6 +242,8 @@ On a tree of 13,035 people, 3,874 families, 10,831 events, 9,120 citations, 5,58
242
242
  | 1000 per page, 4 in flight (default) | 69 | 109 s |
243
243
  | 1000 per page, 8 in flight | 69 | 64 s |
244
244
 
245
+ The first page of every type goes out together, then every page still missing, `--workers` at a time. On a small tree (about 260 people, 2,000 notes, 10 types) that read took 20 s with the types in a row and 14 s with them together; the rest is the stamp pass that follows, one list per type, which still runs one type after another. `check --from` skips the paged read and runs only that stamp pass, so it is no faster.
246
+
245
247
  Each request costs about 1.3 s before the first object, so small pages waste most of the time. The checks themselves take under a second, and reading a saved dump about one. Large pages are safe without `profile=all`. It was `profile=all` that answered 500 on a whole-tree listing.
246
248
 
247
249
  A request that fails on the network (a timeout, a reset connection, an SSL read error) is tried again, the same as a 429 or a 5xx: up to 6 tries per request, waiting 5, 10, 20, 40 and then 60 s between them, or as long as a `Retry-After` header says. Only a page that fails all 6 stops the run, with exit code 2 and the last error. On a loaded server, where a 1000-object page can take minutes, read with `--pagesize 100 --workers 1`: smaller pages answer within the timeout, and nothing else competes with them.
@@ -18,7 +18,7 @@ The same tree gives the same leads from either file. A file in any other shape,
18
18
  | `branch-end` | a person with no birth parents recorded: where a line stops |
19
19
  | `missing-vital` | no birth or baptism; no death or burial for someone born in `--living-after` or earlier; a birth or death (or its stand-in) with no date or no place; a family with children and no marriage event |
20
20
  | `uncited` | a birth or death (or its stand-in) with no citation: a fact nobody can check |
21
- | `unsupported-link` | a birth link whose cited records name neither parent, or only one of the two. `--links FILE` turns it on: the JSON `gwt-check links --json` wrote from the same dump. A report that does not fit the dump (an unknown level, or a child not in that family) stops with exit 2. Left out: a family with one parent whose record names that parent, adoptive, step or foster links, and a child with no cited birth or baptism (`uncited` and `missing-vital` list that). The task carries the report's flags. It is a gap in the record text, not a sign the link is wrong, and it is only as good as the name matching of `gwt-check links` |
21
+ | `unsupported-link` | a birth link whose cited records name neither parent, or only one of the two. `--links FILE` turns it on: the JSON `gwt-check links --json` wrote from the same dump. A report that does not fit the dump (an unknown level, or a child not in that family) stops with exit 2. Left out: a link that carries its own citation (`the link itself is cited`), a family with one parent whose record names that parent, adoptive, step or foster links, and a child with no cited birth or baptism (`uncited` and `missing-vital` list that). The task carries the report's flags. It is a gap in the record text, not a sign the link is wrong, and it is only as good as the name matching of `gwt-check links` |
22
22
 
23
23
  `--kinds` picks a subset. Only a person's own events count, the same way `gwt-check` and `gwt-apply` read them:
24
24
 
@@ -44,7 +44,7 @@ A birth is proven old by any of these, each one ending in `--living-after` or ea
44
44
 
45
45
  For this test a date counts by its latest possible year: the end of a range or span, the year plus 10 for an "about" or estimated date, and no year at all for "after" or "from", which have no upper bound. A date with only text proves nothing.
46
46
 
47
- Their Gramps ids, never their names, go to stderr in one line. `--include-living` turns the hold off; use it only for a private review on your own machine, never for a list that feeds searches on outside sites. Private events never feed the facts, and their year and date text stay out of the gap text too.
47
+ Their Gramps ids, never their names, go to stderr in one line, after how many are marked private and how many may be living. `--include-living` turns the hold off; use it only for a private review on your own machine, never for a list that feeds searches on outside sites. Private events never feed the facts, and their year and date text stay out of the gap text too.
48
48
 
49
49
  A death is asked (`no death or burial event`) of everyone proven old who has none.
50
50
 
@@ -28,9 +28,9 @@ KINDS = ('branch-end', 'missing-vital', 'uncited', 'unsupported-link')
28
28
  DEFAULT_KINDS = ('branch-end', 'missing-vital', 'uncited') # unsupported-link needs --links, so it is asked for
29
29
  LINK_GAPS = {'cited, names neither': 'a cited record names neither parent',
30
30
  'a record names one': 'records name only one of the two parents'}
31
- # the other levels gwt-check links writes; 'no record names a parent' means no cited birth or baptism at all,
32
- # which uncited and missing-vital already list
33
- LINK_NOT_GAPS = ('birth record names both', 'other record names both', 'no record names a parent')
31
+ # the other levels gwt-check links writes; a cited link has its own source on the child_ref; 'no record names a
32
+ # parent' means no cited birth or baptism at all, which uncited and missing-vital already list
33
+ LINK_NOT_GAPS = ('the link itself is cited', 'birth record names both', 'other record names both', 'no record names a parent')
34
34
  BIRTH_LIKE = ('Birth', 'Baptism', 'Christening') # in order of preference
35
35
  DEATH_LIKE = ('Death', 'Burial', 'Cremation')
36
36
  MARRIAGE_LIKE = ('Marriage',)
@@ -498,9 +498,10 @@ def main(argv=None):
498
498
  print('gwt-leads: %s' % exc, file=sys.stderr)
499
499
  return 2
500
500
  if held:
501
- print('gwt-leads: held back %d people who may be living (born after %d or in an unknown year, no death) '
502
- 'or are private: %s' % (len(held), args.living_after, ' '.join(sorted(held, key=id_order))),
503
- file=sys.stderr)
501
+ n_private = sum(1 for why in held.values() if why == 'private')
502
+ print('gwt-leads: held back %d people (%d marked private, %d who may be living: born after %d or in an unknown '
503
+ 'year, no death): %s' % (len(held), n_private, len(held) - n_private, args.living_after,
504
+ ' '.join(sorted(held, key=id_order))), file=sys.stderr)
504
505
  if args.format == 'queue':
505
506
  if args.skip_weak:
506
507
  weak = sorted({r['person'] for r in rows if r['weak'] and r['generation'] is None}, key=id_order)
@@ -7,3 +7,5 @@ gwt_leads.py | if stale: | if False: | a stale or foreign report
7
7
  gwt_leads.py | not (is_birth_relation(ref.get('frel')) and is_birth_relation(ref.get('mrel'))) | False | an adoptive, step or foster link is never a birth-record gap
8
8
  gwt_leads.py | for k in ('father_handle', 'mother_handle')) < 2: | for k in ('father_handle', 'mother_handle')) < 0: | a record naming the only parent a family has is full support, not a gap
9
9
  gwt_leads.py | row['kind'] in ('uncited', 'unsupported-link') | row['kind'] in ('uncited',) | an unsupported link is record work (a verify task), never folded into the person's search task
10
+ gwt_leads.py | why == 'private') | why == 'living') | the held-back note counts the private records apart from the people who may be living
11
+ gwt_leads.py | LINK_NOT_GAPS = ('the link itself is cited', | LINK_NOT_GAPS = ( | a cited link is a level gwt-check links writes, so a report with one is read, not refused as unknown
@@ -192,7 +192,7 @@ class LeadsTest(unittest.TestCase):
192
192
  self.assertEqual(code, 0, err)
193
193
  for gid in ('I2', 'I5', 'I6', 'I7', 'I8'):
194
194
  self.assertNotIn('"%s"' % gid if fmt != 'tsv' else '\t%s\t' % gid, out, fmt)
195
- self.assertIn('held back 5 people', err)
195
+ self.assertIn('held back 5 people (1 marked private, 4 who may be living', err)
196
196
  self.assertIn('I2 I5 I6 I7 I8', err)
197
197
  self.assertNotIn('Ana', err) # ids only, never names
198
198
  code, out, err = self.cli(path, '--include-living', '--living-after', '1925')
@@ -577,6 +577,34 @@ class LeadsTest(unittest.TestCase):
577
577
  self.assertEqual((rc, out), (2, ''), err)
578
578
  self.assertNotIn('Traceback', err)
579
579
 
580
+ def test_every_level_gwt_check_links_writes_is_accepted(self):
581
+ # a cited link is the first level gwt-check writes; a report with one used to stop the whole run
582
+ self.assertIn('the link itself is cited', L.LINK_NOT_GAPS)
583
+ # read the levels from gwt-check itself, so a level it adds later fails here instead of in a user's run;
584
+ # the mutant runner copies this package alone, without check/ beside it
585
+ if not os.path.isdir(os.path.join(HERE, '..', 'check', 'gwt_check')):
586
+ self.skipTest('gwt-check is not beside this package')
587
+ sys.path.insert(0, os.path.join(HERE, '..', 'check'))
588
+ from gwt_check.links import LEVELS
589
+ self.assertEqual(set(LEVELS), set(L.LINK_GAPS) | set(L.LINK_NOT_GAPS))
590
+
591
+ def test_a_gwt_check_links_report_with_a_cited_link_makes_no_task_and_does_not_stop(self):
592
+ def mutate(objects):
593
+ fam = next(f for f in objects['families'] if f['child_ref_list'])
594
+ cit = next(c for c in objects['citations'] if not c.get('private'))
595
+ fam['child_ref_list'][0]['citation_list'] = [cit['handle']]
596
+ if not os.path.isdir(os.path.join(HERE, '..', 'check', 'gwt_check')):
597
+ self.skipTest('gwt-check is not beside this package')
598
+ path = self.real_dump(mutate)
599
+ from gwt_check import tree as CT
600
+ from gwt_check.links import link_report
601
+ rep = link_report(CT.load(path))
602
+ cited = [r for r in rep['rows'] if r['level'] == 'the link itself is cited']
603
+ self.assertTrue(cited, 'the dump must carry a cited link')
604
+ rows, _ = L.leads(L.load(path), None, ('unsupported-link',), 1925, hold=False, links=rep)
605
+ on_cited = {(r['child'], 'link-' + r['family']) for r in cited}
606
+ self.assertFalse([r for r in rows if (r['person'], r['gap']) in on_cited])
607
+
580
608
  def test_unsupported_link_skips_what_is_supported_not_by_birth_or_listed_by_another_kind(self):
581
609
  T = tree()
582
610
  def got(*rows):