(distribution_name)
return distribution(distribution_name).version
Get the version string for the named package.

    :param distribution_name: The name of the distribution package to query.
    :return: The version string for the package as defined in the package's
        "Version" metadata key.
Get the version string for the named package.
Get the version string for the named package .
def version(distribution_name):
    """Get the version string for the named package.

    :param distribution_name: The name of the distribution package to query.
    :return: The version string for the package as defined in the package's
        "Version" metadata key.
    """
    return distribution(distribution_name).version
def version ( distribution_name ) : return distribution ( distribution_name ) . version