Get Package Name ---------------- The "Package Name" is tightly coupled to the previous function related to the *PYTHONPATH*. The package is defined to be contained within an directory entry from the *sys.path* variable :ref:`[Object-Namebinding] `: .. code-block:: python :linenos: The call signature is `[Filesystem Binding Functions] `_: .. code-block:: python :linenos: get_package_filename Where ** is resolved to one of: * Caller * Frame * Module E.g. in case of an *Caller* by the relative stack position `[API] `_: .. parsed-literal:: `fileinfo.getcaller_package_filename `_