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
File details
Details for the file acedatacloud-scaffold-0.8.1.tar.gz
.
File metadata
- Download URL: acedatacloud-scaffold-0.8.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5caee71c795244cd8588afb89e2062952aa6e13a1402d5303f94e54c1a12da2b |
|
MD5 | 33f946d9ee30c913519a001162b189d1 |
|
BLAKE2b-256 | 900294288c6d774085cff9e12fe1ce33b34095fe61f335d21e437ad5cf1b1a45 |
File details
Details for the file acedatacloud_scaffold-0.8.1-py2.py3-none-any.whl
.
File metadata
- Download URL: acedatacloud_scaffold-0.8.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19ae46db8bd872e3f84c6ac9740a25ac9e594eb9dd04011e7493c952c70a6fb |
|
MD5 | 4067702df40ce8d33de150aaefc43c29 |
|
BLAKE2b-256 | 3c1c35486bf95afe99f497c661f9e2a32b429052fbeeb7c546ef0fd670ff0684 |