Table of Contents

Method GetInstalledPackages

Namespace
Alternet.Scripter.Python
Assembly
Alternet.Scripter.Python.v10.dll

GetInstalledPackages()

Retrieves a list of installed Python packages in the current environment. This function uses 'importlib.metadata' and operates on third-party distribution packages installed into Python 'site-packages' directory.

public static IEnumerable<ScriptEngine.PackageInfoItem> GetInstalledPackages()

Returns

IEnumerable<ScriptEngine.PackageInfoItem>

A collection of ScriptEngine.PackageInfoItem objects representing the installed packages.