#!/usr/bin/env python3
"""Typing utilities"""
from __future__ import annotations
from pathlib import Path
from typing import TypeVar
import numpy as np
import pandas as pd
from astropy.coordinates import SkyCoord
from astropy.table import Table
from astropy.units import Quantity
from rmtable import RMTable
[docs]
ArrayLike = TypeVar(
"ArrayLike", np.ndarray, pd.Series, pd.DataFrame, SkyCoord, Quantity
)
[docs]
TableLike = TypeVar("TableLike", RMTable, Table)
[docs]
PathLike = TypeVar("PathLike", str, Path)