pdstools.utils.namespaces ========================= .. py:module:: pdstools.utils.namespaces Attributes ---------- .. autoapisummary:: pdstools.utils.namespaces.logger Exceptions ---------- .. autoapisummary:: pdstools.utils.namespaces.MissingDependenciesException Classes ------- .. autoapisummary:: pdstools.utils.namespaces.LazyNamespaceMeta pdstools.utils.namespaces.LazyNamespace Functions --------- .. autoapisummary:: pdstools.utils.namespaces.require_dependencies Module Contents --------------- .. py:data:: logger .. py:function:: require_dependencies(func) .. py:class:: LazyNamespaceMeta Bases: :py:obj:`type` .. py:class:: LazyNamespace .. py:attribute:: dependencies :type: Optional[List[str]] .. py:attribute:: dependency_group :type: Optional[str] .. py:attribute:: _dependencies_checked :value: False .. py:method:: check_dependencies() .. py:method:: _check_dependencies() .. py:exception:: MissingDependenciesException(deps: List[str], namespace: Optional[str] = None, deps_group: Optional[str] = None) Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:attribute:: message :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """To use None, you are missing an optional dependency: . Please install it using your favorite package manager (e.g. uv pip install )""" .. raw:: html