r"""Contain functions to manage package versions."""

from __future__ import annotations

__all__ = [
    "compare_version",
    "filter_every_n_versions",
    "filter_last_n_versions",
    "filter_range_versions",
    "filter_stable_versions",
    "filter_valid_versions",
    "get_latest_major_versions",
    "get_latest_minor_versions",
    "get_package_version",
    "get_pypi_versions",
    "get_python_major_minor",
    "get_versions",
    "latest_major_versions",
    "latest_minor_versions",
    "sort_versions",
    "unique_versions",
]

from feu.version.comparison import compare_version, sort_versions
from feu.version.filtering import (
    filter_every_n_versions,
    filter_last_n_versions,
    filter_range_versions,
    filter_stable_versions,
    filter_valid_versions,
    latest_major_versions,
    latest_minor_versions,
    unique_versions,
)
from feu.version.package import (
    get_latest_major_versions,
    get_latest_minor_versions,
    get_versions,
)
from feu.version.pypi import get_pypi_versions
from feu.version.runtime import get_package_version, get_python_major_minor
