The web framework for less serious application.
Project description
Touch-Callable
The web framework for less serious application.
Auto generat Web UI for Python Functions.
Installing
Only support Python 3.6!
pip install -U touch-callable
Example
# examply.py
from enum import Enum
class 开关(Enum):
开 = '开'
关 = '关'
def 饮水机(口令: str, 制热: 开关=None, 制冷: 开关=开关('开')):
"""这是 20618 的!"""
if 口令 != '多喝热水':
raise ValueError('你是谁,我不认识你')
# 省略具体逻辑
$ touch-callable example.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
touch-callable-0.0.1.tar.gz
(1.6 MB
view hashes)
Built Distributions
Close
Hashes for touch_callable-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86a24f18e58e8c2cc74e4411f8e6081bee1d5735210280062e2cd73023e4254 |
|
MD5 | 080e819889c48fcc991dea79523a1b88 |
|
BLAKE2b-256 | 8fda2087710aea791440f33d84d8cd53967125860985f21e238a9ca35c4ea9cb |
Close
Hashes for touch_callable-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcbf053b6caf2d9b9ad49ce3fb6d90d65c7c9246c18315e720a306cd96406b69 |
|
MD5 | f9e5815c9ce8d612ffb6f7c6c321a4ce |
|
BLAKE2b-256 | a07a0730adeb8cb0f8c0e5a67a569ffc7b4ec11c959d3e0bec72c8baba70c68d |