get_provided_by

get_provided_by(prefix)[source]

Get the resources that provide for the given prefix, or return none if the prefix can’t be looked up.

Parameters

prefix (str) – The prefix to look up

Return type

Optional[List[str]]

Returns

The prefixes of the resources that provide for the given prefix. This is the inverse of get_provides_for().

>>> get_provides_for("validatordb")
'pdb'