/wego

微信公众号开发框架

Primary LanguagePythonApache License 2.0Apache-2.0

WEGO

一个简单易用的微信开发框架,能协助你在微信开发中专注业务逻辑摆脱微信接口调试的烦恼。

Example



微信扫一扫查看示例公众号

Install

$ pip(3) install wego

Usage

# django
@w.login_required
def index(request):
    hello = 'Hello %s!' % request.wx_user.nickname
    return HttpResponse(hello)

# tornado
class IndexHandler(tornado.web.RequestHandler):
    @w.login_required
    def get(self):
        hello = 'Hello %s!' % self.wx_user.nickname
        return self.write(hello)

Document

未完成,持续更新中: wego.readthedocs.io

Discuss

微信群 Telegram

License

Apache