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)
| 1111 | |
| 1112 | |
| 1113 | def 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 | |
| 1128 | def files(distribution_name: str) -> list[PackagePath] | None: |
searching dependent graphs…