Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ main
Function
main
example/sync/echo.py:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
12
13
def
main():
14
with
serve(echo,
"localhost"
, 8765)
as
server:
15
server.serve_forever()
16
17
18
if
__name__ ==
"__main__"
:
Callers
2
echo.py
File · 0.70
run_main
Method · 0.50
Calls
2
serve
Function · 0.90
serve_forever
Method · 0.45
Tested by
1
run_main
Method · 0.40
Used in the wild
real call sites across dependent graphs
searching dependent graphs…