Get the root path of a package given an object (default is this module).
obj¶ – The object to inspect for package. Defaults to this module
The root path of the package as a pathlib.Path
The root path of the package as a string