1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 WeRoBot 1.0.0 , Python 的微信公众号开发框架 下载

Discussion in '软件资讯' started by 漂亮的石头, 2016-11-26.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,979
    Likes Received:
    47
    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

    下载地址:

    WeRoBot 1.0.0 , Python 的微信公众号开发框架下载地址
     
Loading...