freeze#

freeze(lower=False)[source]#

Alias for pip freeze.

Parameters:

lower (bool) – convert all keys to lowercase

Example:

assert 'numpy' in sc.freeze() # One way to check for versions
New in version 1.2.2.
New in version 3.1.3: use importlib instead of pkg_resources