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