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.
- {bioregistry-0.13.8 → bioregistry-0.13.9}/PKG-INFO +1 -1
- {bioregistry-0.13.8 → bioregistry-0.13.9}/pyproject.toml +2 -2
- bioregistry-0.13.9/src/bioregistry/curation/add_sweet.py +146 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/bioregistry.json +7083 -903
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/collections.json +8 -1
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/curated_papers.tsv +9 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/metaregistry.json +1 -1
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/aberowl/processed.json +23 -19
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bartoc/processed.json +5 -5
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/processed.json +3 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/agroportal.json +3 -3
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/bioportal.json +45 -17
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cellosaurus/processed.json +3 -3
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/fairsharing/processed.json +6 -5
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/integbio/processed.json +56 -55
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/lov/processed.json +59 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/obofoundry/processed.json +4 -4
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/__init__.py +13 -5
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/processed.json +6 -6
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib-processed.json +0 -1
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib.py +1 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/re3data/processed.json +24 -2
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/struct.py +7 -3
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/version.py +1 -1
- {bioregistry-0.13.8 → bioregistry-0.13.9}/LICENSE +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/README.md +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/__main__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/bioregistry_diff.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/mapping_checking.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/analysis/paper_ranking.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/api.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/cli.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/constants.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/impl.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/proxies.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/czi.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/dalia.png +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/dfg.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/funding-manifest-urls.txt +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/logo.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/nfdi4chem.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/northeastern.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/static/rwth-iac.svg +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/base.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/collection.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/collections.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/context.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contexts.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contributor.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/contributors.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/owners.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/relations.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/highlights/twitter.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/home.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/keyword.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/keywords.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/macros.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/access.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/acknowledgements.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/download.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/related.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/schema.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/summary.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/meta/sustainability.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/metaresource.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/metaresources.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/prose.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/reference.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/disallowed_identifier.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/invalid_identifier.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/missing_prefix.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resolve_errors/missing_providers.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resource.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/templates/resources.html +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/test.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/ui.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/utils.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/app/wsgi.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/__main__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/cli.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/curie_parsing.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/curie_validation.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/benchmarks/uri_parsing.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/bibliometrics.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/cli.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/collection_api.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/compare.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/constants.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_cessda.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_co_providers.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_descriptions_from_gs.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_examples.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_examples_from_ols.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_ontology_regexes.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_provider_status_curations.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/add_wikidata_database.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/bulk_import.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_licenses.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_name_suffixes.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/clean_publications.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/cleanup_authors.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/deprecation_diff.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/enrich_publications.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/find_contact_groups.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/fix_obo_purls.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/import_pc_semiautomatic.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/ingest_prefixmaps_bioportal.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/literature.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/make_description_curation_sheet.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/make_health_report_curation_sheet.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/map_bartoc_via_wikidata.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/map_re3data_via_fairsharing.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/nfdi_collections.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/odk_usage.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/rename_metaprefix.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/review_pc.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/seed_collection.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/suggest_author_curation.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/curation/suggest_uniprot_providers.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/README.md +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/contexts.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/data/curated_mappings.sssom.tsv +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/__main__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/cli.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/prefix_maps.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/prefixcc.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/rdf_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/schema_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/sssom_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/tables_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/tsv_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/warnings_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/export/yaml_export.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/aberowl/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/align.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/alignment_utils.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bartoc/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biocontext/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biocontext/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/biolink/processing_biolink.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/agroportal.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/bioportal.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/ecoportal.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/bioportal/ecoportal.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cellosaurus/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cheminf/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cheminf/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cropoct/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/cropoct/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/edam/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/edam/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/fairsharing/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/go/processing_go.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/hl7/OID_Report.csv +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/hl7/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/integbio/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/lov/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/miriam/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/miriam/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/n2t/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/n2t/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ncbi/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ncbi/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/obofoundry/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/processing_ols.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ols/tib-processing-config.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ontobee/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/ontobee/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/pathguide/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/prefixcommons/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/prefixcommons/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/re3data/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/rrid/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/togoid/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/togoid/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/uniprot/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/uniprot/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/wikidata/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/wikidata/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/zazuko/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/external/zazuko/processed.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/github_client.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/gh/new_prefix.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/__main__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/check_homepages.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/check_providers.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/health/cli.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/license_standardizer.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/lint.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/metaresource_api.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/pandas.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/parse_iri.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/parse_version_iri.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/py.typed +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/record_accumulator.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/reference.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resolve.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resolve_identifier.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/resource_manager.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/constants.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/schema.json +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema/utils.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/schema_utils.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/summary.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/upload_ndex.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/uri_format.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/utils.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/validate/__init__.py +0 -0
- {bioregistry-0.13.8 → bioregistry-0.13.9}/src/bioregistry/validate/cli.py +0 -0
- {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.
|
|
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.
|
|
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.
|
|
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()
|