yoda/version.py
def get_version():
    """Get version from package resources."""
    requirement = pkg_resources.Requirement.parse("yoda")
    provider = pkg_resources.get_provider(requirement)
    return provider.version
def get_version():
    """Get version from package resources."""
    requirement = pkg_resources.Requirement.parse("yoda")
    provider = pkg_resources.get_provider(requirement)
    return provider.version
Get version from package resources.