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.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220a8227913b912bafc942fca1c312ccebd2a087d2abdf3fe6c61fa368a04ef7 |
|
MD5 | ca2dccac3a8dd13c894ea6801600c232 |
|
BLAKE2b-256 | 9016125c2a94f0aacd842d4ba6701aaf16fb2abb1258307d9d34c3a086f078b5 |