techsir 登陆 |注册|TS首页
  首页 快活林 猿氏悟语 程序代码

WeRoBot 1.0.0 , Python 的微信公众号开发框架

By: 柳华芳 发表于 2016-11-26 23:27:43 · 4303次点击   回复:0   
WeRoBot 1.0.0 发布了。
WeRoBot 1.0.0 中对之前的一部分代码进行了重构,并加入了许多新的功能,修复了大量 bug。具体更新如下:
  • 增加对消息加解密的支持
  • 重写 werobot.messages, 完善对 Event 的支持
  • 将微信消息的 id 属性重命名为 message_id
  • 增加 werobot.reply.SuccessReply
  • 增加 werobot.reply.ImageReply
  • 增加 werobot.reply.VoiceReply
  • 增加 werobot.reply.VideoReply
  • 删除 werobot.reply.create_reply()
  • 为 werobot.reply.WeChatReply 增加 process_args 方法
  • 为 werobot.robot.BaseRoBot 增加 parse_message 方法
  • 为 werobot.robot.BaseRoBot 增加 get_encrypted_reply 方法
  • 删去了 Reply 中过时的 flag
  • 修复 werobot.session.filestorage.FileStorage 在 PyPy 下的兼容性问题
  • 将默认的 SessionBackend 切换为 werobot.session.sqlitestorage.SQLiteStorage
  • 将图文消息单个消息的渲染函数放到 werobot.replies.Article 内
  • 取消对 Python2.6, Python3.3 的支持
  • 增加与 Django 1.6+, Flask, Bottle, Tornado 集成的支持
  • 替换 inspect.getargspec()

下载地址:

4303次点击
0个回复  |  直到 2016-11-26 23:27:43
添加一条新回复
您需要登录后才可以回帖 登录 | 成为会员 新浪微博登陆

标签云|手机版|科技先生 ( 京ICP备07036130号 Powered by Discuz! X )

GMT+8, 2024-4-19 07:09