.. _f-moduleinstallversion: module ``installhelper.module_install_version`` =============================================== Short summary +++++++++++++ module ``pymyinstall.installhelper.module_install_version`` Functions to get module version, license, dependencies :githublink:`%|py|5` Functions +++++++++ +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | function | truncated documentation | +======================================================================================================================+====================================================================================================+ | :func:`_get_pypi_version_memoize_op ` | | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`choose_most_recent ` | Chooses the most recent version for a list of module names. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`compare_version ` | Compares two versions. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`get_module_dependencies ` | Returns the dependencies for a module. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`get_module_metadata ` | Returns a dictionary ``{ module: metadata }``. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`get_module_version ` | Returns a dictionary ``{ module: version }``. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`get_pypi_version ` | Returns the version of a package on :epkg:`pypi`, we skip alpha, beta or dev version. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`get_wheel_version ` | extract the version from a wheel file, return ``2.6.0`` for ``rpy2-2.6.0-cp34-none-win_amd64.whl`` | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`is_installed ` | Tells if a module is installed or not. | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`numeric_version ` | convert a string into a tuple with numbers wherever possible | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | :func:`version_consensus ` | *v1* and *v2* are two versions of the same module, which one to keep? | +----------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pymyinstall.installhelper.module_install_version :members: :special-members: __init__ :show-inheritance: