Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ _path_to_module_name
Function
_path_to_module_name
dash/_pages.py:92–93 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
90
91
92
def
_path_to_module_name(path):
93
return
str(path).replace(
".py"
,
""
).strip(os.sep).replace(os.sep,
"."
)
94
95
96
def
_infer_module_name(page_path):
Callers
1
_infer_module_name
Function · 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…