A scaffold to help you build zhishuyun api easily.
Project description
ZhiShuYun Scaffold
Install:
pip install zhishuyun-scaffold
Sample:
from zhishuyun_scaffold import BaseController as Controller
from zhishuyun_scaffold import BaseHandler
import json
class Handler(BaseHandler):
async def get(self, id=None):
result = {
'value': id
}
self.write(json.dumps(result))
controller = Controller()
controller.add_handler(r'/test/(.*)', Handler)
controller.start()
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
Built Distribution
Close
Hashes for zhishuyun_scaffold-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d21cf999b299d40af762a9ff29fad9d07e43118f0dce56eddb7bb0f06c1d41 |
|
MD5 | fb1c961db78c1dc6b67e0231b9d2d068 |
|
BLAKE2b-256 | f1c06aa9732c90f2be974151b49f27a9ba1b97b3d763287bca1e46336025b08d |