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.1.1.tar.gz (5.8 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.1.1-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: zhishuyun-scaffold-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.22.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.16

File hashes

Hashes for zhishuyun-scaffold-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a16f6a33052bfd06d26b22fb9771c4a102fb10f78d9e3d1a01705b5a84738c9c
MD5 2c18df85abf421505d57efaf3566d12b
BLAKE2b-256 2585faa8f992d6d7a93b4f4c36b82f9eaa8dc5167a339fbea541e2d5b51f0e96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zhishuyun_scaffold-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.22.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.16

File hashes

Hashes for zhishuyun_scaffold-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6d21cf999b299d40af762a9ff29fad9d07e43118f0dce56eddb7bb0f06c1d41
MD5 fb1c961db78c1dc6b67e0231b9d2d068
BLAKE2b-256 f1c06aa9732c90f2be974151b49f27a9ba1b97b3d763287bca1e46336025b08d

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