MCPcopy Create free account
hub / github.com/ipython/ipython / get_ipython_package_dir

Function get_ipython_package_dir

IPython/paths.py:87–91  ·  view source on GitHub ↗

Get the base directory where IPython itself is installed.

()

Source from the content-addressed store, hash-verified

85
86
87def get_ipython_package_dir() -> str:
88 """Get the base directory where IPython itself is installed."""
89 ipdir = os.path.dirname(IPython.__file__)
90 assert isinstance(ipdir, str)
91 return ipdir
92
93
94def get_ipython_module_path(module_str):

Callers 7

get_ipython_package_dirFunction · 0.90
_profile_changedMethod · 0.90
_ipython_dir_changedMethod · 0.90
list_bundled_profilesFunction · 0.90
check_exclusions_existFunction · 0.90
get_ipython_module_pathFunction · 0.70

Calls

no outgoing calls

Tested by 1

check_exclusions_existFunction · 0.72