get_resource

get_resource(prefix: str, *, strict: Literal[True] = False) Resource[source]
get_resource(prefix: str, *, strict: Literal[False] = False) Resource | None

Get the Bioregistry entry for the given prefix.

Parameters:
  • prefix – The prefix to look up, which is normalized with normalize_prefix() before lookup in the Bioregistry

  • strict – If true, requires the prefix to be valid or raise an exveption

Returns:

The Bioregistry entry dictionary, which includes several keys cross-referencing other registries when available.