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.3.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79476d478b63afabbb0f6ff0702fd0dd012ccc9e59971a8dd85a7f8963d0ea85 |
|
MD5 | bc23ec9452eed4149856aefc1fed4cec |
|
BLAKE2b-256 | 293a310c8a0e901b314ed238a55134a1e584c7ac6b7a4c9ee0150714453ea7ef |