Source code for splendor.version

from importlib.metadata import version

from functools import cache


[docs] @cache def get_version() -> str: """ extract the package version using importlib. """ return version("splendor")