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.2.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhishuyun_scaffold-0.2.3-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file zhishuyun-scaffold-0.2.3.tar.gz.

File metadata

  • Download URL: zhishuyun-scaffold-0.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for zhishuyun-scaffold-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7d30750e78715deeb1f698d1a2930b3ad89cee499f8086ea1441f868e32210e2
MD5 d246f9f3db2412672f91f6bfb8f044ab
BLAKE2b-256 9802667a91f6b9c83da3a00a31dcf5f18ca86e5725af6e6b92762b3c1cba5fdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zhishuyun_scaffold-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for zhishuyun_scaffold-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2677ee030963923de2d1c4342dc8f203c9b3c5ac295b5c366ea56543407e735f
MD5 adb6f829ca5e6073208b363bce6e1c67
BLAKE2b-256 b5fcc9d8f3b3efdd035ccb4c317cf05605e222c21d148ad24ac1b6e3289233e2

See more details on using hashes here.

Supported by

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