Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zhishuyun-scaffold-0.3.5.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

zhishuyun_scaffold-0.3.5-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

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

Hashes for zhishuyun-scaffold-0.3.5.tar.gz
Algorithm Hash digest
SHA256 a70a96d8f7cce8a0cffcaeda5219550690928ba55a16eea7975dd91ad8f7dfb2
MD5 fdca36fd46f8c74ad436af8764f6a5ff
BLAKE2b-256 be1d4bc4e94626a9a32bb07e53a601f44b587213d9c18da17f8ae050dae80bfc

See more details on using hashes here.

File details

Details for the file zhishuyun_scaffold-0.3.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for zhishuyun_scaffold-0.3.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 79476d478b63afabbb0f6ff0702fd0dd012ccc9e59971a8dd85a7f8963d0ea85
MD5 bc23ec9452eed4149856aefc1fed4cec
BLAKE2b-256 293a310c8a0e901b314ed238a55134a1e584c7ac6b7a4c9ee0150714453ea7ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page