def get_version() -> str:
    '\n    Get the library version from pyproject.toml\n    '
    path = (Path(__file__).resolve().parents[2] / 'pyproject.toml')
    pyproject = toml.loads(open(str(path)).read())
    return cast(str, pyproject['tool']['poetry']['version'])
Get the library version from pyproject.toml
def get_version() -> str:
    '\n    \n    '
    path = (Path(__file__).resolve().parents[2] / 'pyproject.toml')
    pyproject = toml.loads(open(str(path)).read())
    return cast(str, pyproject['tool']['poetry']['version'])