PyWebIO v1.2.3 Documentationsupports Flask, Django, Tornado, aiohttp framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.2.3 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.2.3 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 92 页 | 1.32 MB | 1 年前3
PyWebIO v1.2.2 Documentationsupports Flask, Django, Tornado, aiohttp framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.2.2 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.2.2 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 92 页 | 1.35 MB | 1 年前3
PyWebIO v1.2.3 Documentationcurrently 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 年前3
PyWebIO v1.2.2 Documentationcurrently 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 年前3
PyWebIO v1.3.3 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.3.3 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.3 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.3.1 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.1 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.3.0 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.0 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.3.2 4 Chapter 1. Features CHAPTER input data as the 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']) entire form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.2 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) >0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.6.3 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.6.3 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 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.1 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.6.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 码力 | 108 页 | 1.37 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













