Wolfram Research

Function Repository Resource:

PythonPackageInformation

Source Notebook

Display information for a Python package

Contributed by: Wolfram Staff

ResourceFunction["PythonPackageInformation"][name]

gives the package information for Python package name.

ResourceFunction["PythonPackageInformation"][{name1 ,name1 ,}]

gives information for packages namei.

ResourceFunction["PythonPackageInformation"][python,package]

uses the given Python installation.

Details and Options

ResourceFunction["PythonPackageInformation"][name] is effectively equivalent to executing the command-line pip show name.

Examples

Basic Examples

Install a Python package and check its information:

In[1]:=
ResourceFunction["PythonPackageInstall"]["tornado"]
Out[1]=
In[2]:=
ResourceFunction["PythonPackageInformation"]["tornado"]
Out[2]=

Uninstall the package:

In[3]:=
ResourceFunction["PythonPackageUninstall"]["tornado"]
Out[3]=

Resource History

Source Metadata

Related Resources

License Information