emb-explorer-demo / shared /__init__.py
netzhang's picture
Deploy merged demo: representative images (#42), t-SNE exact solver (#45), PCA reproducibility (#46), decoupled projection/KMeans + thread pipeline, demo header/footer
269ea1f verified
Raw
History Blame Contribute Delete
426 Bytes
"""
Shared utilities and services for the emb-explorer applications.
"""
from importlib.metadata import PackageNotFoundError, version as _version
try:
# Single source of truth: the version declared in pyproject.toml,
# read from the installed package metadata.
__version__ = _version("emb-explorer")
except PackageNotFoundError: # running from a source tree without an install
__version__ = "0.0.0+unknown"