"""Public package exports for idri."""

from __future__ import annotations

from importlib.metadata import PackageNotFoundError, version

from .composer import VectorComposer, compose_vectors
from .encoder import IdentifierEncoder
from .profiles import available_profiles
from .similarity import cosine_similarity, l2_distance, l2_normalize
from .utils import normalize_text

try:
    __version__ = version("idri")
except PackageNotFoundError:
    __version__ = "0.0.0"

__all__ = [
    "IdentifierEncoder",
    "VectorComposer",
    "available_profiles",
    "compose_vectors",
    "cosine_similarity",
    "l2_distance",
    "l2_normalize",
    "normalize_text",
    "__version__",
]
