PyWebIO v1.8.1 Documentation
Django, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.8 What’s new in PyWebIO 1.7 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: if p < 10: return 'Too young!!' if p > 60: return 'Too old!!'0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.8.2 Documentation
Django, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.8 What’s new in PyWebIO 1.7 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: if p < 10: return 'Too young!!' if p > 60: return 'Too old!!'0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.8.0 Documentation
Django, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.8 What’s new in PyWebIO 1.7 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: if p < 10: return 'Too young!!' if p > 60: return 'Too old!!'0 码力 | 159 页 | 7.47 MB | 1 年前3PyWebIO v1.8.0 Documentation
Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.0 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.2 Documentation
Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.2 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.1 Documentation
Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.1 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.2.3 Documentation
currently supports Flask, Django, Tornado, aiohttp framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio Directory Deploy Application Deploy Other Libraries support Build stand-alone App Data visualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket function as the key and the input data as the value: The input group also supports using validate parameter to set the validation function, which accepts the entire form data as parameter: Attention PyWebIO0 码力 | 119 页 | 7.43 MB | 1 年前3PyWebIO v1.2.2 Documentation
currently supports Flask, Django, Tornado, aiohttp framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio Directory Deploy Application Deploy Other Libraries support Build stand-alone App Data visualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket function as the key and the input data as the value: The input group also supports using validate parameter to set the validation function, which accepts the entire form data as parameter: Attention PyWebIO0 码力 | 119 页 | 7.41 MB | 1 年前3PyWebIO v1.6.3 Documentation
Django, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.6 What’s new in PyWebIO 1.5 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: return 'Too old!!' age = input("How old are you?", type=NUMBER, validate=check_age)0 码力 | 150 页 | 7.46 MB | 1 年前3PyWebIO v1.7.0 Documentation
Django, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.7 What’s new in PyWebIO 1.6 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: return 'Too old!!' age = input("How old are you?", type=NUMBER, validate=check_age)0 码力 | 149 页 | 7.46 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9