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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zhishuyun-scaffold-0.3.5.tar.gz.
File metadata
- Download URL: zhishuyun-scaffold-0.3.5.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a70a96d8f7cce8a0cffcaeda5219550690928ba55a16eea7975dd91ad8f7dfb2
|
|
| MD5 |
fdca36fd46f8c74ad436af8764f6a5ff
|
|
| BLAKE2b-256 |
be1d4bc4e94626a9a32bb07e53a601f44b587213d9c18da17f8ae050dae80bfc
|
File details
Details for the file zhishuyun_scaffold-0.3.5-py2.py3-none-any.whl.
File metadata
- Download URL: zhishuyun_scaffold-0.3.5-py2.py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79476d478b63afabbb0f6ff0702fd0dd012ccc9e59971a8dd85a7f8963d0ea85
|
|
| MD5 |
bc23ec9452eed4149856aefc1fed4cec
|
|
| BLAKE2b-256 |
293a310c8a0e901b314ed238a55134a1e584c7ac6b7a4c9ee0150714453ea7ef
|