跳到主要内容
设为首页
收藏本站
首页
Index
快活林
光明顶
神剑山庄
酷站
科技资讯
登录
猿氏悟语
电商小报
IT 业界
酷科技
世界之窗
自媒体圈儿
城市之间
创业沙龙
思过崖
电商小报
猿氏悟语
聚贤庄
程序代码
WeRoBot 1.0.0 , Python 的微信公众号开发框架
柳华芳
2016-11-26 23:27:43
6748 阅读
发表于 2016-11-26 23:27:43
|
显示全部楼层
|
阅读模式
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 下的兼容性问题
增加
werobot.session.sqlitestorage.SQLiteStorage
将默认的 SessionBackend 切换为
werobot.session.sqlitestorage.SQLiteStorage
将图文消息单个消息的渲染函数放到 werobot.replies.Article 内
取消对 Python2.6, Python3.3 的支持
增加与 Django 1.6+, Flask, Bottle, Tornado 集成的支持
替换 inspect.getargspec()
详细的更新日志可以参考:
https://werobot.readthedocs.io/zh_CN/latest/changelog.html#version-1-0-0
文档地址:
https://werobot.readthedocs.io/zh_CN/latest/index.html
项目地址:
https://github.com/whtsky/WeRoBot
下载地址:
Source code (zip)
Source code (tar.gz)
回复
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
返回列表
发新帖
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
成为会员
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
聚贤庄-IT人才招聘
生活派
城市VS职场
创业茶馆-极客世界
标签云
|
小黑屋
|
科技先生
Powered by
Discuz!
X5.0
© 2001-2026
科技先生
|
京ICP备07036130号
在本版发帖
返回顶部
快速回复
返回顶部
返回列表