bioregistry 0.13.8__tar.gz → 0.13.9__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 (225) hide show
  1. {bioregistry-0.13.8 → bioregistry-0.13.9}/PKG-INFO +1 -1
  2. {bioregistry-0.13.8 → bioregistry-0.13.9}/pyproject.toml +2 -2
  3. bioregistry-0.13.9/src/bioregistry/curation/add_sweet.py +146 -0
  4. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/bioregistry.json +7083 -903
  5. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/collections.json +8 -1
  6. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/curated_papers.tsv +9 -0
  7. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/metaregistry.json +1 -1
  8. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/aberowl/processed.json +23 -19
  9. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bartoc/processed.json +5 -5
  10. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/processed.json +3 -0
  11. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/agroportal.json +3 -3
  12. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/bioportal.json +45 -17
  13. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cellosaurus/processed.json +3 -3
  14. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/fairsharing/processed.json +6 -5
  15. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/integbio/processed.json +56 -55
  16. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/lov/processed.json +59 -0
  17. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/obofoundry/processed.json +4 -4
  18. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/__init__.py +13 -5
  19. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/processed.json +6 -6
  20. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib-processed.json +0 -1
  21. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib.py +1 -0
  22. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/re3data/processed.json +24 -2
  23. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/struct.py +7 -3
  24. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/version.py +1 -1
  25. {bioregistry-0.13.8 → bioregistry-0.13.9}/LICENSE +0 -0
  26. {bioregistry-0.13.8 → bioregistry-0.13.9}/README.md +0 -0
  27. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/__init__.py +0 -0
  28. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/__main__.py +0 -0
  29. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/__init__.py +0 -0
  30. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/bioregistry_diff.py +0 -0
  31. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/mapping_checking.py +0 -0
  32. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/paper_ranking.py +0 -0
  33. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/__init__.py +0 -0
  34. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/api.py +0 -0
  35. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/cli.py +0 -0
  36. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/constants.py +0 -0
  37. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/impl.py +0 -0
  38. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/proxies.py +0 -0
  39. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/czi.svg +0 -0
  40. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/dalia.png +0 -0
  41. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/dfg.svg +0 -0
  42. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/funding-manifest-urls.txt +0 -0
  43. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/logo.svg +0 -0
  44. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/nfdi4chem.svg +0 -0
  45. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/northeastern.svg +0 -0
  46. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/rwth-iac.svg +0 -0
  47. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/base.html +0 -0
  48. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/collection.html +0 -0
  49. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/collections.html +0 -0
  50. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/context.html +0 -0
  51. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contexts.html +0 -0
  52. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contributor.html +0 -0
  53. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contributors.html +0 -0
  54. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/owners.html +0 -0
  55. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/relations.html +0 -0
  56. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/twitter.html +0 -0
  57. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/home.html +0 -0
  58. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/keyword.html +0 -0
  59. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/keywords.html +0 -0
  60. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/macros.html +0 -0
  61. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/access.html +0 -0
  62. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/acknowledgements.html +0 -0
  63. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/download.html +0 -0
  64. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/related.html +0 -0
  65. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/schema.html +0 -0
  66. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/summary.html +0 -0
  67. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/sustainability.html +0 -0
  68. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/metaresource.html +0 -0
  69. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/metaresources.html +0 -0
  70. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/prose.html +0 -0
  71. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/reference.html +0 -0
  72. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/disallowed_identifier.html +0 -0
  73. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/invalid_identifier.html +0 -0
  74. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/missing_prefix.html +0 -0
  75. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/missing_providers.html +0 -0
  76. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resource.html +0 -0
  77. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resources.html +0 -0
  78. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/test.py +0 -0
  79. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/ui.py +0 -0
  80. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/utils.py +0 -0
  81. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/wsgi.py +0 -0
  82. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/__init__.py +0 -0
  83. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/__main__.py +0 -0
  84. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/cli.py +0 -0
  85. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/curie_parsing.py +0 -0
  86. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/curie_validation.py +0 -0
  87. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/uri_parsing.py +0 -0
  88. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/bibliometrics.py +0 -0
  89. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/cli.py +0 -0
  90. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/collection_api.py +0 -0
  91. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/compare.py +0 -0
  92. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/constants.py +0 -0
  93. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/__init__.py +0 -0
  94. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_cessda.py +0 -0
  95. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_co_providers.py +0 -0
  96. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_descriptions_from_gs.py +0 -0
  97. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_examples.py +0 -0
  98. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_examples_from_ols.py +0 -0
  99. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_ontology_regexes.py +0 -0
  100. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_provider_status_curations.py +0 -0
  101. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_wikidata_database.py +0 -0
  102. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/bulk_import.py +0 -0
  103. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_licenses.py +0 -0
  104. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_name_suffixes.py +0 -0
  105. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_publications.py +0 -0
  106. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/cleanup_authors.py +0 -0
  107. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/deprecation_diff.py +0 -0
  108. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/enrich_publications.py +0 -0
  109. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/find_contact_groups.py +0 -0
  110. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/fix_obo_purls.py +0 -0
  111. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/import_pc_semiautomatic.py +0 -0
  112. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/ingest_prefixmaps_bioportal.py +0 -0
  113. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/literature.py +0 -0
  114. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/make_description_curation_sheet.py +0 -0
  115. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/make_health_report_curation_sheet.py +0 -0
  116. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/map_bartoc_via_wikidata.py +0 -0
  117. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/map_re3data_via_fairsharing.py +0 -0
  118. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/nfdi_collections.py +0 -0
  119. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/odk_usage.py +0 -0
  120. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/rename_metaprefix.py +0 -0
  121. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/review_pc.py +0 -0
  122. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/seed_collection.py +0 -0
  123. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/suggest_author_curation.py +0 -0
  124. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/suggest_uniprot_providers.py +0 -0
  125. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/README.md +0 -0
  126. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/__init__.py +0 -0
  127. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/contexts.json +0 -0
  128. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/curated_mappings.sssom.tsv +0 -0
  129. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/__init__.py +0 -0
  130. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/__main__.py +0 -0
  131. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/cli.py +0 -0
  132. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/prefix_maps.py +0 -0
  133. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/prefixcc.py +0 -0
  134. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/rdf_export.py +0 -0
  135. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/schema_export.py +0 -0
  136. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/sssom_export.py +0 -0
  137. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/tables_export.py +0 -0
  138. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/tsv_export.py +0 -0
  139. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/warnings_export.py +0 -0
  140. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/yaml_export.py +0 -0
  141. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/__init__.py +0 -0
  142. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/aberowl/__init__.py +0 -0
  143. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/align.py +0 -0
  144. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/alignment_utils.py +0 -0
  145. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bartoc/__init__.py +0 -0
  146. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biocontext/__init__.py +0 -0
  147. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biocontext/processed.json +0 -0
  148. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/__init__.py +0 -0
  149. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/processing_biolink.json +0 -0
  150. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/__init__.py +0 -0
  151. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/agroportal.py +0 -0
  152. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/bioportal.py +0 -0
  153. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/ecoportal.json +0 -0
  154. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/ecoportal.py +0 -0
  155. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cellosaurus/__init__.py +0 -0
  156. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cheminf/__init__.py +0 -0
  157. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cheminf/processed.json +0 -0
  158. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cropoct/__init__.py +0 -0
  159. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cropoct/processed.json +0 -0
  160. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/edam/__init__.py +0 -0
  161. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/edam/processed.json +0 -0
  162. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/fairsharing/__init__.py +0 -0
  163. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/__init__.py +0 -0
  164. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/processed.json +0 -0
  165. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/processing_go.json +0 -0
  166. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/hl7/OID_Report.csv +0 -0
  167. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/hl7/__init__.py +0 -0
  168. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/integbio/__init__.py +0 -0
  169. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/lov/__init__.py +0 -0
  170. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/miriam/__init__.py +0 -0
  171. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/miriam/processed.json +0 -0
  172. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/n2t/__init__.py +0 -0
  173. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/n2t/processed.json +0 -0
  174. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ncbi/__init__.py +0 -0
  175. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ncbi/processed.json +0 -0
  176. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/obofoundry/__init__.py +0 -0
  177. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/processing_ols.json +0 -0
  178. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib-processing-config.json +0 -0
  179. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ontobee/__init__.py +0 -0
  180. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ontobee/processed.json +0 -0
  181. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/pathguide/__init__.py +0 -0
  182. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/prefixcommons/__init__.py +0 -0
  183. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/prefixcommons/processed.json +0 -0
  184. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/re3data/__init__.py +0 -0
  185. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/rrid/__init__.py +0 -0
  186. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/togoid/__init__.py +0 -0
  187. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/togoid/processed.json +0 -0
  188. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/uniprot/__init__.py +0 -0
  189. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/uniprot/processed.json +0 -0
  190. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/wikidata/__init__.py +0 -0
  191. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/wikidata/processed.json +0 -0
  192. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/zazuko/__init__.py +0 -0
  193. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/zazuko/processed.json +0 -0
  194. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/__init__.py +0 -0
  195. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/github_client.py +0 -0
  196. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/new_prefix.py +0 -0
  197. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/__init__.py +0 -0
  198. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/__main__.py +0 -0
  199. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/check_homepages.py +0 -0
  200. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/check_providers.py +0 -0
  201. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/cli.py +0 -0
  202. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/license_standardizer.py +0 -0
  203. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/lint.py +0 -0
  204. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/metaresource_api.py +0 -0
  205. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/pandas.py +0 -0
  206. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/parse_iri.py +0 -0
  207. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/parse_version_iri.py +0 -0
  208. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/py.typed +0 -0
  209. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/record_accumulator.py +0 -0
  210. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/reference.py +0 -0
  211. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resolve.py +0 -0
  212. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resolve_identifier.py +0 -0
  213. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resource_manager.py +0 -0
  214. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/__init__.py +0 -0
  215. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/constants.py +0 -0
  216. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/schema.json +0 -0
  217. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/utils.py +0 -0
  218. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema_utils.py +0 -0
  219. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/summary.py +0 -0
  220. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/upload_ndex.py +0 -0
  221. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/uri_format.py +0 -0
  222. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/utils.py +0 -0
  223. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/validate/__init__.py +0 -0
  224. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/validate/cli.py +0 -0
  225. {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/validate/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bioregistry
3
- Version: 0.13.8
3
+ Version: 0.13.9
4
4
  Summary: Integrated registry of biological databases and nomenclatures
5
5
  Keywords: snekpack,cookiecutter,databases,biological databases,biomedical databases,persistent identifiers
6
6
  Author: Charles Tapley Hoyt
@@ -10,7 +10,7 @@ markers = [
10
10
 
11
11
  [project]
12
12
  name = "bioregistry"
13
- version = "0.13.8"
13
+ version = "0.13.9"
14
14
  description = "Integrated registry of biological databases and nomenclatures"
15
15
  readme = "README.md"
16
16
  authors = [
@@ -254,7 +254,7 @@ known-first-party = [
254
254
  docstring-code-format = true
255
255
 
256
256
  [tool.bumpversion]
257
- current_version = "0.13.8"
257
+ current_version = "0.13.9"
258
258
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+(?P<build>[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?"
259
259
  serialize = [
260
260
  "{major}.{minor}.{patch}-{release}+{build}",
@@ -0,0 +1,146 @@
1
+ """Add SWEET ontologies."""
2
+
3
+ from typing import cast
4
+
5
+ import click
6
+ import pystow
7
+
8
+ import bioregistry
9
+
10
+ MODULE = pystow.module("bioregistry", "sweet")
11
+
12
+ ALL_PREFIXES_URL = "https://github.com/ESIPFed/sweet/raw/refs/heads/master/sweetPrefixes.ttl"
13
+
14
+ MANUAL = {
15
+ "sosto": "Acute",
16
+ "sostri": "Catastrophic",
17
+ "sostsp": "Big",
18
+ "sorel": "hasPhenomena",
19
+ "sorelch": "atomicMass",
20
+ "sorelh": "hasAttribute",
21
+ "soreaer": "AbyssopelagicZone",
22
+ "sorelcl": "hasAverageAnnualPrecipitation",
23
+ "sorelm": "averageOver",
24
+ "sorelph": "colderThan",
25
+ "sorelsc": "causedBy",
26
+ "sorelt": "dayOfYear",
27
+ "sorelsp": "adjacentTo",
28
+ "sorepsd": "Counterclockwise",
29
+ "sorelpr": "fillValue",
30
+ "sostss": "Continental",
31
+ "sostrt": "Accurate",
32
+ "sostsl": "CaK",
33
+ "sosttf": "Annual",
34
+ "sosttg": "0MYA",
35
+ "sostv": "Clear",
36
+ }
37
+
38
+
39
+ @click.command()
40
+ def main() -> None:
41
+ """Add SWEET ontologies."""
42
+ graph = MODULE.ensure_rdf(url=ALL_PREFIXES_URL)
43
+ sparql = """
44
+ SELECT ?prefix ?namespace
45
+ WHERE {
46
+ ?x sh:prefix ?prefix;
47
+ sh:namespace ?namespace .
48
+ }
49
+ """
50
+ for sweet_internal_prefix, uri_prefix in graph.query(sparql): # type:ignore
51
+ sweet_internal_prefix = str(sweet_internal_prefix)
52
+ uri_prefix = str(uri_prefix)
53
+
54
+ if sweet_internal_prefix in {"soall", "sweet"}:
55
+ continue # this is the combine one, not its own prefix
56
+
57
+ sweet_internal_key = uri_prefix.removeprefix("http://sweetontology.net/").rstrip("/")
58
+ if not sweet_internal_key:
59
+ raise ValueError(f"no internal key found for {sweet_internal_prefix}")
60
+
61
+ download_rdf = (
62
+ f"https://github.com/ESIPFed/sweet/raw/refs/heads/master/src/{sweet_internal_key}.ttl"
63
+ )
64
+ inner_graph = MODULE.ensure_rdf(url=download_rdf)
65
+
66
+ ontology_name_query = """
67
+ SELECT ?name
68
+ WHERE { owl:Ontology ^rdf:type/rdfs:label ?name }
69
+ LIMIT 1
70
+ """
71
+ name = str(next(iter(inner_graph.query(ontology_name_query)))[0]) # type:ignore
72
+ name_short = name.removeprefix("SWEET Ontology ")
73
+
74
+ example_query = f"""
75
+ SELECT ?term
76
+ WHERE {{
77
+ ?term rdf:type owl:Class;
78
+ rdfs:label ?name ;
79
+ FILTER STRSTARTS(str(?term), "{uri_prefix}")
80
+ }}
81
+ LIMIT 1
82
+ """
83
+ example_records = list(inner_graph.query(example_query))
84
+ if example_records:
85
+ example_uri = cast(str, example_records[0][0]) # type:ignore[index]
86
+ example = example_uri.removeprefix(uri_prefix)
87
+ elif sweet_internal_prefix in MANUAL:
88
+ example = MANUAL[sweet_internal_prefix]
89
+ else:
90
+ raise ValueError(
91
+ f"[{sweet_internal_prefix}] missing example in {name_short} ({uri_prefix})"
92
+ )
93
+
94
+ if not sweet_internal_prefix.startswith("so"):
95
+ raise ValueError
96
+
97
+ nsl = name_short.lower()
98
+ if nsl.startswith("human "):
99
+ keywords = [nsl.removeprefix("human ")]
100
+ elif nsl.startswith("material "):
101
+ keywords = ["materials", nsl.removeprefix("material ")]
102
+ elif nsl.startswith("phenomena "):
103
+ keywords = ["phenomena", nsl.removeprefix("phenomena ")]
104
+ elif nsl.startswith("property relationships "):
105
+ keywords = [nsl.removeprefix("property relationships ")]
106
+ elif nsl.startswith("property "):
107
+ keywords = [nsl.removeprefix("property ")]
108
+ elif nsl.startswith("process "):
109
+ keywords = [nsl.removeprefix("process ")]
110
+ elif nsl.startswith("realm land "):
111
+ keywords = [nsl.removeprefix("realm land") + "land"]
112
+ elif nsl.startswith("realm "):
113
+ keywords = ["realm", nsl.removeprefix("realm ")]
114
+ elif nsl.startswith("representation "):
115
+ keywords = [nsl.removeprefix("realm ")]
116
+ elif nsl.startswith("state "):
117
+ keywords = [nsl.removeprefix("realm ")]
118
+ elif nsl.startswith("relationships "):
119
+ keywords = [nsl.removeprefix("relationships ")]
120
+ else:
121
+ keywords = [nsl.lower()]
122
+
123
+ prefix = f"sweet.{sweet_internal_prefix.removeprefix('so')}"
124
+ resource = bioregistry.Resource(
125
+ prefix=prefix,
126
+ synonyms=[sweet_internal_prefix],
127
+ name=name,
128
+ keywords=sorted(keywords),
129
+ homepage=str(uri_prefix),
130
+ uri_format=f"{uri_prefix}$1",
131
+ description=f"The Semantic Web for Earth and Environmental Terminology (SWEET) ontology for {name_short}",
132
+ example=example,
133
+ download_rdf=download_rdf,
134
+ part_of="sweet",
135
+ license="CC0-1.0",
136
+ repository="https://github.com/ESIPFed/sweet",
137
+ contributor=bioregistry.Author.get_charlie(),
138
+ github_request_issue=1772,
139
+ )
140
+ bioregistry.add_resource(resource)
141
+
142
+ bioregistry.manager.write_registry()
143
+
144
+
145
+ if __name__ == "__main__":
146
+ main()