Skip to main content

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

demo

Project details


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)

Uploaded Source

Built Distributions

touch_callable-0.0.1-py3.6.egg (1.6 MB view hashes)

Uploaded Source

touch_callable-0.0.1-py3-none-any.whl (1.6 MB view hashes)

Uploaded Python 3

touch_callable-0.0.1-py2-none-any.whl (1.6 MB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page