abracudabra._import =================== .. py:module:: abracudabra._import .. autoapi-nested-parse:: Import utilities for Abracudabra. Functions --------- .. autoapisummary:: abracudabra._import.import_library abracudabra._import.raise_library_not_found abracudabra._import.get_library_name Module Contents --------------- .. py:function:: import_library(library: str, /) -> types.ModuleType Import a library. :param library: The name of the library to import. :raises ImportError: If the library could not be found. .. py:function:: raise_library_not_found(library: str, cause: Exception | None = None) -> NoReturn Raise an error for a missing library. :param library: The name of the missing library. :param cause: The optional original exception. :raises ImportError: Always. .. py:function:: get_library_name(obj: object, /) -> str Get the dependency of an object. :param obj: The object to check. :returns: The dependency of the object.