get_prefix_map(*, prefix_priority=None, uri_prefix_priority=None, include_synonyms=False, remapping=None, blacklist=None)[source]

Get a mapping from Bioregistry prefixes to their URI prefixes.

  • prefix_priority (Optional[Sequence[str]]) – The order of metaprefixes OR “preferred” for choosing a primary prefix OR “default” for Bioregistry prefixes

  • uri_prefix_priority (Optional[Sequence[str]]) – The order of metaprefixes for choosing the primary URI prefix OR “default” for Bioregistry prefixes

  • include_synonyms (bool) – Should synonyms of each prefix also be included as additional prefixes, but with the same URI prefix?

  • remapping (Optional[Mapping[str, str]]) – A mapping from bioregistry prefixes to preferred prefixes.

  • blacklist (Optional[Collection[str]]) – Prefixes to skip

Return type

Mapping[str, str]


A mapping from prefixes to URI prefixes.