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.4.tar.gz (6.4 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.3.4-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: zhishuyun-scaffold-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ce3ff788bdfa409b07ca44da2bd0a4b0e10cf9966ca68e9dca988b8dab705670
MD5 605a6e3d5a512751dd5c62ea06ccce50
BLAKE2b-256 bbbf3b54f675580283b4dc7851d9864140d5211b2a69ba777b024004c28dd88d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zhishuyun_scaffold-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03db6f9a0b257c16445c7b6b73699cae03082127dee312594e95399280a411d6
MD5 bbafc8b81db172f023f7b4d26f8fe7d2
BLAKE2b-256 92420644029322a769c5339fb62bd66aa6619cfbe89f9d71542068373dceb97a

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