MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / main

Function main

demos/index.py:103–119  ·  view source on GitHub ↗

PyWebIO demos Basic demo and data visualization demo of PyWebIO. PyWebIO的基本demo和数据可视化demo

()

Source from the content-addressed store, hash-verified

101
102
103def main():
104 """PyWebIO demos
105
106 Basic demo and data visualization demo of PyWebIO.
107 PyWebIO的基本demo和数据可视化demo
108 """
109 put_row([
110 put_markdown('# PyWebIO demos'),
111 put_html(
112 '<a class="github-button" data-size="large" href="https://github.com/wang0618/PyWebIO" data-show-count="true" aria-label="Star wang0618/PyWebIO on GitHub">Star</a>')
113 ], size='1fr auto').style('align-items:center')
114 put_html('<script async defer src="https://buttons.github.io/buttons.js"></script>')
115
116 if 'zh' in session_info.user_language:
117 put_markdown(index_md_zh)
118 else:
119 put_markdown(index_md)

Callers

nothing calls this directly

Calls 4

put_rowFunction · 0.90
put_markdownFunction · 0.90
put_htmlFunction · 0.90
styleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…