-
foxes.utils.import_module(name, package=
None
, pip_hint=None
, conda_hint=None
)[source] Imports a module dynamically.
Parameters¶
- name: str
The module name
- package: str, optional
The explicit package name, deduced from name if not given
- pip_hint: str, optional
Installation advice, in case the import fails
- conda_hint: str, optional
Installation advice, in case the import fails
Returns¶
- mdl: module
The imported package