bioregistry 0.13.4__tar.gz → 0.13.5__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 (221) hide show
  1. {bioregistry-0.13.4 → bioregistry-0.13.5}/PKG-INFO +1 -1
  2. {bioregistry-0.13.4 → bioregistry-0.13.5}/pyproject.toml +2 -2
  3. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/__init__.py +8 -1
  4. bioregistry-0.13.5/src/bioregistry/collection_api.py +84 -0
  5. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/constants.py +1 -1
  6. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/bioregistry.json +347 -90
  7. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/collections.json +44 -1
  8. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/curated_mappings.sssom.tsv +4 -0
  9. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/resolve.py +29 -4
  10. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/resource_manager.py +3 -3
  11. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/schema.json +63 -9
  12. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/struct.py +49 -9
  13. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/version.py +1 -1
  14. bioregistry-0.13.4/src/bioregistry/collection_api.py +0 -21
  15. {bioregistry-0.13.4 → bioregistry-0.13.5}/LICENSE +0 -0
  16. {bioregistry-0.13.4 → bioregistry-0.13.5}/README.md +0 -0
  17. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/.DS_Store +0 -0
  18. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/__main__.py +0 -0
  19. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/analysis/__init__.py +0 -0
  20. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/analysis/bioregistry_diff.py +0 -0
  21. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/analysis/mapping_checking.py +0 -0
  22. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/analysis/paper_ranking.py +0 -0
  23. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/.DS_Store +0 -0
  24. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/__init__.py +0 -0
  25. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/api.py +0 -0
  26. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/cli.py +0 -0
  27. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/constants.py +0 -0
  28. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/impl.py +0 -0
  29. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/proxies.py +0 -0
  30. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/static/funding-manifest-urls.txt +0 -0
  31. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/static/logo.svg +0 -0
  32. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/.DS_Store +0 -0
  33. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/base.html +0 -0
  34. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/collection.html +0 -0
  35. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/collections.html +0 -0
  36. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/context.html +0 -0
  37. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/contexts.html +0 -0
  38. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/contributor.html +0 -0
  39. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/contributors.html +0 -0
  40. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/highlights/owners.html +0 -0
  41. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/highlights/relations.html +0 -0
  42. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/highlights/twitter.html +0 -0
  43. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/home.html +0 -0
  44. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/keyword.html +0 -0
  45. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/keywords.html +0 -0
  46. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/macros.html +0 -0
  47. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/access.html +0 -0
  48. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/acknowledgements.html +0 -0
  49. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/download.html +0 -0
  50. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/related.html +0 -0
  51. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/schema.html +0 -0
  52. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/summary.html +0 -0
  53. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/meta/sustainability.html +0 -0
  54. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/metaresource.html +0 -0
  55. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/metaresources.html +0 -0
  56. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/prose.html +0 -0
  57. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/reference.html +0 -0
  58. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resolve_errors/disallowed_identifier.html +0 -0
  59. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resolve_errors/invalid_identifier.html +0 -0
  60. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resolve_errors/missing_prefix.html +0 -0
  61. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resolve_errors/missing_providers.html +0 -0
  62. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resource.html +0 -0
  63. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/templates/resources.html +0 -0
  64. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/test.py +0 -0
  65. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/ui.py +0 -0
  66. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/utils.py +0 -0
  67. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/app/wsgi.py +0 -0
  68. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/__init__.py +0 -0
  69. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/__main__.py +0 -0
  70. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/cli.py +0 -0
  71. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/curie_parsing.py +0 -0
  72. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/curie_validation.py +0 -0
  73. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/benchmarks/uri_parsing.py +0 -0
  74. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/bibliometrics.py +0 -0
  75. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/cli.py +0 -0
  76. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/compare.py +0 -0
  77. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/.DS_Store +0 -0
  78. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/__init__.py +0 -0
  79. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_co_providers.py +0 -0
  80. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_descriptions_from_gs.py +0 -0
  81. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_examples.py +0 -0
  82. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_examples_from_ols.py +0 -0
  83. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_ontology_regexes.py +0 -0
  84. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_provider_status_curations.py +0 -0
  85. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/add_wikidata_database.py +0 -0
  86. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/bulk_import.py +0 -0
  87. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/clean_licenses.py +0 -0
  88. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/clean_name_suffixes.py +0 -0
  89. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/clean_publications.py +0 -0
  90. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/cleanup_authors.py +0 -0
  91. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/deprecation_diff.py +0 -0
  92. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/enrich_publications.py +0 -0
  93. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/find_contact_groups.py +0 -0
  94. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/fix_obo_purls.py +0 -0
  95. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/import_pc_semiautomatic.py +0 -0
  96. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/ingest_prefixmaps_bioportal.py +0 -0
  97. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/literature.py +0 -0
  98. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/make_description_curation_sheet.py +0 -0
  99. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/make_health_report_curation_sheet.py +0 -0
  100. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/map_bartoc_via_wikidata.py +0 -0
  101. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/map_re3data_via_fairsharing.py +0 -0
  102. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/odk_usage.py +0 -0
  103. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/rename_metaprefix.py +0 -0
  104. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/review_pc.py +0 -0
  105. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/seed_collection.py +0 -0
  106. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/suggest_author_curation.py +0 -0
  107. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/curation/suggest_uniprot_providers.py +0 -0
  108. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/README.md +0 -0
  109. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/__init__.py +0 -0
  110. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/contexts.json +0 -0
  111. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/curated_papers.tsv +0 -0
  112. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/data/metaregistry.json +0 -0
  113. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/__init__.py +0 -0
  114. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/__main__.py +0 -0
  115. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/cli.py +0 -0
  116. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/prefix_maps.py +0 -0
  117. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/prefixcc.py +0 -0
  118. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/rdf_export.py +0 -0
  119. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/schema_export.py +0 -0
  120. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/sssom_export.py +0 -0
  121. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/tables_export.py +0 -0
  122. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/tsv_export.py +0 -0
  123. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/warnings_export.py +0 -0
  124. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/export/yaml_export.py +0 -0
  125. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/.DS_Store +0 -0
  126. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/__init__.py +0 -0
  127. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/aberowl/__init__.py +0 -0
  128. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/aberowl/processed.json +0 -0
  129. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/align.py +0 -0
  130. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/alignment_utils.py +0 -0
  131. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bartoc/__init__.py +0 -0
  132. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bartoc/processed.json +0 -0
  133. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/biocontext/__init__.py +0 -0
  134. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/biocontext/processed.json +0 -0
  135. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/biolink/__init__.py +0 -0
  136. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/biolink/processed.json +0 -0
  137. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/biolink/processing_biolink.json +0 -0
  138. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/__init__.py +0 -0
  139. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/agroportal.json +0 -0
  140. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/agroportal.py +0 -0
  141. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/bioportal.json +0 -0
  142. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/bioportal.py +0 -0
  143. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/ecoportal.json +0 -0
  144. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/bioportal/ecoportal.py +0 -0
  145. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cellosaurus/__init__.py +0 -0
  146. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cellosaurus/processed.json +0 -0
  147. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cheminf/__init__.py +0 -0
  148. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cheminf/processed.json +0 -0
  149. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cropoct/__init__.py +0 -0
  150. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/cropoct/processed.json +0 -0
  151. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/edam/__init__.py +0 -0
  152. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/edam/processed.json +0 -0
  153. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/fairsharing/__init__.py +0 -0
  154. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/fairsharing/processed.json +0 -0
  155. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/go/__init__.py +0 -0
  156. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/go/processed.json +0 -0
  157. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/go/processing_go.json +0 -0
  158. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/hl7/OID_Report.csv +0 -0
  159. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/hl7/__init__.py +0 -0
  160. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/integbio/__init__.py +0 -0
  161. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/integbio/processed.json +0 -0
  162. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/lov/__init__.py +0 -0
  163. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/lov/processed.json +0 -0
  164. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/miriam/.DS_Store +0 -0
  165. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/miriam/__init__.py +0 -0
  166. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/miriam/processed.json +0 -0
  167. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/n2t/__init__.py +0 -0
  168. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/n2t/processed.json +0 -0
  169. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ncbi/__init__.py +0 -0
  170. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ncbi/processed.json +0 -0
  171. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/obofoundry/__init__.py +0 -0
  172. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/obofoundry/processed.json +0 -0
  173. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ols/__init__.py +0 -0
  174. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ols/processed.json +0 -0
  175. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ols/processing_ols.json +0 -0
  176. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ontobee/__init__.py +0 -0
  177. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/ontobee/processed.json +0 -0
  178. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/pathguide/__init__.py +0 -0
  179. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/prefixcommons/__init__.py +0 -0
  180. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/prefixcommons/processed.json +0 -0
  181. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/re3data/__init__.py +0 -0
  182. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/re3data/processed.json +0 -0
  183. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/rrid/__init__.py +0 -0
  184. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/togoid/__init__.py +0 -0
  185. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/togoid/processed.json +0 -0
  186. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/uniprot/__init__.py +0 -0
  187. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/uniprot/processed.json +0 -0
  188. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/wikidata/__init__.py +0 -0
  189. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/wikidata/processed.json +0 -0
  190. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/zazuko/__init__.py +0 -0
  191. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/external/zazuko/processed.json +0 -0
  192. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/gh/__init__.py +0 -0
  193. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/gh/github_client.py +0 -0
  194. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/gh/new_prefix.py +0 -0
  195. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/health/__init__.py +0 -0
  196. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/health/__main__.py +0 -0
  197. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/health/check_homepages.py +0 -0
  198. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/health/check_providers.py +0 -0
  199. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/health/cli.py +0 -0
  200. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/license_standardizer.py +0 -0
  201. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/lint.py +0 -0
  202. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/metaresource_api.py +0 -0
  203. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/pandas.py +0 -0
  204. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/parse_iri.py +0 -0
  205. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/parse_version_iri.py +0 -0
  206. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/py.typed +0 -0
  207. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/record_accumulator.py +0 -0
  208. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/reference.py +0 -0
  209. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/resolve_identifier.py +0 -0
  210. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/.DS_Store +0 -0
  211. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/__init__.py +0 -0
  212. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/constants.py +0 -0
  213. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema/utils.py +0 -0
  214. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/schema_utils.py +0 -0
  215. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/summary.py +0 -0
  216. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/upload_ndex.py +0 -0
  217. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/uri_format.py +0 -0
  218. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/utils.py +0 -0
  219. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/validate/__init__.py +0 -0
  220. {bioregistry-0.13.4 → bioregistry-0.13.5}/src/bioregistry/validate/cli.py +0 -0
  221. {bioregistry-0.13.4 → bioregistry-0.13.5}/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.4
3
+ Version: 0.13.5
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.4"
13
+ version = "0.13.5"
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.4"
257
+ current_version = "0.13.5"
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}",
@@ -1,6 +1,11 @@
1
1
  """Extract registry information."""
2
2
 
3
- from .collection_api import get_collection, get_context
3
+ from .collection_api import (
4
+ get_collection,
5
+ get_collection_prefixes,
6
+ get_collection_resources,
7
+ get_context,
8
+ )
4
9
  from .metaresource_api import (
5
10
  get_registry,
6
11
  get_registry_description,
@@ -176,6 +181,8 @@ __all__ = [
176
181
  "get_bioregistry_iri",
177
182
  "get_canonical_for",
178
183
  "get_collection",
184
+ "get_collection_prefixes",
185
+ "get_collection_resources",
179
186
  "get_contact",
180
187
  "get_contact_email",
181
188
  "get_contact_github",
@@ -0,0 +1,84 @@
1
+ """API for collections."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Literal, overload
6
+
7
+ from .resource_manager import manager
8
+ from .schema import Collection, Context, Resource
9
+
10
+ __all__ = [
11
+ "get_collection",
12
+ "get_collection_prefixes",
13
+ "get_collection_resources",
14
+ "get_context",
15
+ ]
16
+
17
+
18
+ # docstr-coverage:excused `overload`
19
+ @overload
20
+ def get_collection(identifier: str, *, strict: Literal[True] = ...) -> Collection: ...
21
+
22
+
23
+ # docstr-coverage:excused `overload`
24
+ @overload
25
+ def get_collection(identifier: str, *, strict: Literal[False] = ...) -> Collection | None: ...
26
+
27
+
28
+ def get_collection(identifier: str, *, strict: bool = False) -> Collection | None:
29
+ """Get the collection entry for the given identifier."""
30
+ rv = manager.collections.get(identifier)
31
+ if rv is not None:
32
+ return rv
33
+ if strict:
34
+ raise KeyError
35
+ return None
36
+
37
+
38
+ # docstr-coverage:excused `overload`
39
+ @overload
40
+ def get_collection_prefixes(identifier: str, *, strict: Literal[True] = ...) -> list[str]: ...
41
+
42
+
43
+ # docstr-coverage:excused `overload`
44
+ @overload
45
+ def get_collection_prefixes(
46
+ identifier: str, *, strict: Literal[False] = ...
47
+ ) -> list[str] | None: ...
48
+
49
+
50
+ def get_collection_prefixes(identifier: str, *, strict: bool = False) -> list[str] | None:
51
+ """Get collection prefixes."""
52
+ rv = manager.collections.get(identifier)
53
+ if rv is not None:
54
+ return rv.resources
55
+ if strict:
56
+ raise KeyError(f"no collection exists: {identifier}. try: {set(manager.collections)}")
57
+ return None
58
+
59
+
60
+ # docstr-coverage:excused `overload`
61
+ @overload
62
+ def get_collection_resources(identifier: str, *, strict: Literal[True] = ...) -> list[Resource]: ...
63
+
64
+
65
+ # docstr-coverage:excused `overload`
66
+ @overload
67
+ def get_collection_resources(
68
+ identifier: str, *, strict: Literal[False] = ...
69
+ ) -> list[Resource] | None: ...
70
+
71
+
72
+ def get_collection_resources(identifier: str, *, strict: bool = False) -> list[Resource] | None:
73
+ """Get collection resources."""
74
+ rv = manager.collections.get(identifier)
75
+ if rv is not None:
76
+ return [manager.registry[r] for r in rv.resources]
77
+ if strict:
78
+ raise KeyError(f"no collection exists: {identifier}. try: {set(manager.collections)}")
79
+ return None
80
+
81
+
82
+ def get_context(identifier: str) -> Context | None:
83
+ """Get the context for the given identifier."""
84
+ return manager.get_context(identifier)
@@ -214,7 +214,7 @@ INTERNAL_KEY = "bioregistry"
214
214
  INTERNAL_PIP = "bioregistry"
215
215
  INTERNAL_LABEL = "Bioregistry"
216
216
  INTERNAL_REPOSITORY_SLUG = "biopragmatics/bioregistry"
217
- INTERNAL_REPOSITORY_PAGES = "https://biopragmatics.io/bioregistry"
217
+ INTERNAL_REPOSITORY_PAGES = "https://biopragmatics.github.io/bioregistry"
218
218
  INTERNAL_REPOSITORY = f"https://github.com/{INTERNAL_REPOSITORY_SLUG}"
219
219
  INTERNAL_REPOSITORY_BLOB = f"https://github.com/{INTERNAL_REPOSITORY_SLUG}/blob/main"
220
220
  INTERNAL_REPOSITORY_RAW = f"https://raw.githubusercontent.com/{INTERNAL_REPOSITORY_SLUG}/main"