"""Spectral file format parsers and writers."""

from __future__ import annotations

from spectrakit.io.auto import detect_format, read_spectrum
from spectrakit.io.csv import read_csv, write_csv
from spectrakit.io.hdf5 import read_hdf5, write_hdf5
from spectrakit.io.jcamp import read_jcamp, write_jcamp
from spectrakit.io.opus import read_opus
from spectrakit.io.spc import read_spc

__all__ = [
    "read_spectrum",
    "detect_format",
    "read_jcamp",
    "write_jcamp",
    "read_spc",
    "read_csv",
    "write_csv",
    "read_opus",
    "read_hdf5",
    "write_hdf5",
]
