from .const import Bound, inf
from .interval import Interval, open, closed, openclosed, closedopen, empty, singleton
from .func import iterate
from .io import from_string, to_string, from_data, to_data

# disabled because BORIS does not need IntervalDict
# so the sortedcontainers module is not required
# from .dict import IntervalDict


__all__ = [
    "inf",
    "CLOSED",
    "OPEN",
    "Interval",
    "open",
    "closed",
    "openclosed",
    "closedopen",
    "singleton",
    "empty",
    "iterate",
    "from_string",
    "to_string",
    "from_data",
    "to_data",
    "IntervalDict",
]

CLOSED = Bound.CLOSED
OPEN = Bound.OPEN
