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 ,name2 ,}]

gives information for packages namei.

ResourceFunction["PythonPackageInformation"][python,package]

uses the given Python installation.

Details

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

Examples

Basic Examples

Install a Python package with the resource function PythonPackageInstall:

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

Check its information:

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

Uninstall the package with the resource function PythonPackageUninstall:

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

Version History

  • 1.0.1 – 28 June 2022
  • 1.0.0 – 07 August 2019

Related Resources

License Information