A scaffold to help you build Ace Data Cloud api easily.
Project description
Ace Data Cloud Scaffold
Install:
pip install acedatacloud-scaffold
Sample:
from acedatacloud_scaffold import BaseController as Controller
from acedatacloud_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 acedatacloud-scaffold-0.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bba2ae2fcb9dc872b8cc5b1844a599321c606f261cd5401dc830e5a68aed7f9 |
|
MD5 | 975d1b039035d91226fd8bc201b6e03b |
|
BLAKE2b-256 | 130755fad65c9e501dfa6985303e25aae8a5b540e74a8e031ee76b7727e52ed3 |
Close
Hashes for acedatacloud_scaffold-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d90b642a17f886e2cea38fa260015dcbf0152dd5039559adc203355a7095f5 |
|
MD5 | a181d552804cbda45a5789903022a502 |
|
BLAKE2b-256 | cdf331808d5654654ce49006c6601eaaea3177cf34354c82704051f844977209 |