get_fairsharing_prefix

get_fairsharing_prefix(prefix: str) str | None[source]

Get the FAIRSharing prefix if available.

Parameters:

prefix – The prefix to lookup.

Returns:

The FAIRSharing prefix corresponding to the prefix, if mappable.

>>> get_fairsharing_prefix("genbank")
'FAIRsharing.9kahy4'