MCPcopy Index your code
hub / github.com/ipython/ipython / get_ipython_package_dir

Function get_ipython_package_dir

IPython/paths.py:89–93  ·  view source on GitHub ↗

Get the base directory where IPython itself is installed.

()

Source from the content-addressed store, hash-verified

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

Callers 7

_profile_changedMethod · 0.90
_ipython_dir_changedMethod · 0.90
list_bundled_profilesFunction · 0.90
get_ipython_module_pathFunction · 0.85
check_startup_dirMethod · 0.85
copy_config_fileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…