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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9223be55bd7f5786574de00b6b6c4610ec8baa9a627572de4f5e25a40b1351e |
|
MD5 | ca0ceb053d4af1a58ee039b93eee60da |
|
BLAKE2b-256 | 6ada6b78ac78fd5411d6ae5664b25e410773b73fc7bfc0de5a5f91f597fce34a |