from . import wrap
from ._alphabet import (
    AlphabetType,
    AminoAlphabet,
    BaseAlphabet,
    DNAAlphabet,
    IUPACAminoAlphabet,
    RNAAlphabet,
)
from ._amino_lprob import AminoLprob
from ._base_lprob import BaseLprob
from ._cdata import CData
from ._codon import Codon, codon_iter
from ._codon_lprob import CodonLprob
from ._codon_marg import CodonMarg
from ._input import Input
from ._output import Output
from ._profile import Profile
from ._state import CodonState, FrameState, StateType
from ._testit import test
from ._translator import NTTranslator, NullTranslator, Translator

try:
    from ._ffi import lib
except Exception as e:
    _ffi_err = """
It is likely caused by a broken installation of this package.
Please, make sure you have a C compiler and try to uninstall
and reinstall the package again."""

    raise RuntimeError(str(e) + _ffi_err)

__version__ = "0.0.14"

__all__ = [
    "AlphabetType",
    "AminoAlphabet",
    "AminoLprob",
    "BaseAlphabet",
    "BaseLprob",
    "CData",
    "Codon",
    "CodonLprob",
    "CodonMarg",
    "CodonState",
    "DNAAlphabet",
    "FrameState",
    "IUPACAminoAlphabet",
    "Input",
    "NTTranslator",
    "NullTranslator",
    "Output",
    "Profile",
    "RNAAlphabet",
    "StateType",
    "Translator",
    "__version__",
    "codon_iter",
    "lib",
    "test",
    "wrap",
]
