MCPcopy Index your code
hub / github.com/python/cpython / entry_points

Function entry_points

Lib/importlib/metadata/__init__.py:1113–1125  ·  view source on GitHub ↗

Return EntryPoint objects for all installed packages. Pass selection parameters (group or name) to filter the result to entry points matching those properties (see EntryPoints.select()). :return: EntryPoints for all installed packages.

(**params)

Source from the content-addressed store, hash-verified

1111
1112
1113def entry_points(**params) -> EntryPoints:
1114 """Return EntryPoint objects for all installed packages.
1115
1116 Pass selection parameters (group or name) to filter the
1117 result to entry points matching those properties (see
1118 EntryPoints.select()).
1119
1120 :return: EntryPoints for all installed packages.
1121 """
1122 eps = itertools.chain.from_iterable(
1123 dist.entry_points for dist in _unique(distributions())
1124 )
1125 return EntryPoints(eps).select(**params)
1126
1127
1128def files(distribution_name: str) -> list[PackagePath] | None:

Calls 3

distributionsFunction · 0.85
EntryPointsClass · 0.85
selectMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…