obspy.core.util.base._get_entry_points

_get_entry_points(group, subgroup=None)[source]

Gets a dictionary of all available plug-ins of a group or subgroup.

Parameters
  • group (str) – Group name.

  • subgroup (str, optional) – Subgroup name (defaults to None).

Return type

dict

Returns

Dictionary of entry points of each plug-in.

Example

>>> _get_entry_points('obspy.plugin.waveform')  
{...'SLIST': EntryPoint.parse('SLIST = obspy.io.ascii.core')...}