efb-wechat-slave-itchat-uos


Nameefb-wechat-slave-itchat-uos JSON
Version 2.0.8 PyPI version JSON
download
home_pagehttps://github.com/HoganGolden/efb-wechat-slave
SummaryWeChat Slave Channel for EH Forwarder Bot, based on WeChat Web API.
upload_time2023-04-21 09:19:01
maintainer
docs_urlNone
authorHoganKing
requires_python>=3.6
licenseAGPLv3+
keywords ehforwarderbot eh forwarder bot eh forwarder bot slave channel wechat weixin chatbot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            EFB WeChat Slave Channel:EFB 微信从端 (EWS)
============================================

.. image:: https://img.shields.io/pypi/v/efb-wechat-slave.svg
   :alt: PyPI 发布
   :target: https://pypi.org/project/efb-wechat-slave/
.. image:: https://github.com/ehForwarderBot/efb-wechat-slave/workflows/Tests/badge.svg
   :alt: 测试状态
   :target: https://github.com/ehForwarderBot/efb-wechat-slave/actions
.. image:: https://pepy.tech/badge/efb-wechat-slave/month
   :alt: 每月下载量
   :target: https://pepy.tech/project/efb-wechat-slave
.. image:: https://d322cqt584bo4o.cloudfront.net/ehforwarderbot/localized.svg
   :alt: Translate this project
   :target: https://crowdin.com/project/ehforwarderbot/

.. image:: https://github.com/ehForwarderBot/efb-wechat-slave/raw/master/banner.png
   :alt: 头图

.. image:: https://i.imgur.com/dCZfh14.png
   :alt: This project proudly supports #SayNoToWeChat campaign.

`README in other languages`_.

.. TRANSLATORS: change the URL on previous line as "." (without quotations).
.. _README in other languages: ./readme_translations

**Channel ID**: ``blueset.wechat``

EWS 是兼容 EH Forwarder Bot 的微信从端,基于逆向工程的微信网页版、\
修改版 ``wxpy``\  和 \ ``ItChat``\ 。

本项目的部分代码修改自 `youfou/wxpy`_\ 、\ `why2lyj/ItChat-UOS`_\ 。

.. _youfou/wxpy: https://github.com/youfou/wxpy
.. _why2lyj/ItChat-UOS:  https://github.com/why2lyj/ItChat-UOS


使用前须知
----------

自 2017 年中旬以来,陆续有用户报告其微信网页版登录被腾讯封禁。\
表现为用任何方式登录微信网页版提示「当前登录环境异常。为了你的账号安全,\
暂时不能登录 Web 微信。你可以通过手机客户端或 Windows 微信登录」\
或类似的提示。大部分用户会在封禁后一天到三个月内解封,不同用户的解封耗时不同。\
据观测,仅有约不足一成的用户在使用过程中被封禁。该封禁不影响其他客户端的登录。\
目前封禁的原因尚不明确。

与此同时,有现象表明 2017 年中旬以来新注册的微信用户不能够使用微信网页版。\
在初次使用之前,请先访问\ `微信网页版`_\ 并确认您可以正常使用此功能。\
若您的账号不能使用该功能,请尝试换用其他账号尝试。

如果你对网页版登录有要求的话,请慎用此信道。详细的相关信息请参见 `issue #7`_\ 。

.. _微信网页版: https://web.wechat.com/
.. _issue #7: https://github.com/ehForwarderBot/efb-wechat-slave/issues/7

软件依赖
--------

-  Python >= 3.6
-  EH Forwarder Bot >= 2.0.0
-  ffmpeg
-  libmagic
-  pillow

安装与启用
----------

1. 安装如上所要求的二进制依赖
2. 安装

   .. code:: shell

       pip3 install efb-wechat-slave

3. 使用 \ *EFB 配置向导*\ ,或在当前配置档案(Profile)目录的 \ ``config.yaml``\  文件中启用 EWS。

   当前配置文件夹的位置会根据用户的设定而改变。

   **(EFB 2 中,默认的配置档案目录位于** 
   ``~/.ehforwarderbot/profiles/default``\  **)**


其他的安装方式
~~~~~~~~~~~~~~

EWS 同时存在由社区提供的其他安装方式,包括:

- 由 KeLiu_ 维护的 `AUR 软件包`_\ (``python-efb-wechat-slave-git``)。
- 其他\ `安装脚本或 Docker 等容器`_\ 。

.. _KeLiu: https://github.com/specter119
.. _AUR 软件包: https://aur.archlinux.org/packages/python-efb-wechat-slave-git
.. _安装脚本或 Docker 等容器: https://efb-modules.1a23.studio#scripts-and-containers-eg-docker


可选的配置文件
--------------

EWS 支持使用可选的配置文件来启用实验功能。配置文件存储于
``<当前配置文件夹>/blueset.wechat/config.yaml``\ 。

配置文件例
~~~~~~~~~~

.. code:: yaml

    # 实验功能
    # 使用本段来调整实验功能的设置。请注意实验功能随时可能变更或失效。
    # 详细说明见下文。
    flags:
        option_one: 10
        option_two: false
        option_three: "foobar"

常见问题
--------

-  **如何切换已登录的微信账号?**
   请登出当前的账号,并使用其他的微信手机登录。
-  **如何登录两个微信账号?**
   请在 EFB 配置文件中指定不同的实例 ID。
-  **EWS 稳定吗?**
   EWS 依赖于上游项目
   `ItChat <https://github.com/littlecodersh/ItChat>`__
   以及微信网页版的协议。根据 `ItChat
   FAQ <https://itchat.readthedocs.io/zh/latest/FAQ/>`__
   的说明,在满足以下情况的条件下,微信登录能够保持数个月稳定登录:

   -  服务器有稳定的网络连接,并且
   -  **保持手机客户端长期在线。**

已知问题
--------

- 就于微信网页版的工作原理,目前对于没有名称的会话、以及重名的会话支持较差,\
  可能会有消息传递错误等问题。
- 同理,部分情况下变更名称的会话会被视为全新的会话,而「旧会话」随即消失。
- 仅支持微信网页版所支持的功能以及消息类型,即
    - 没有朋友圈
    - 没有红包
    - 不能发语音
    - 不能发位置
    - ……等等诸如此类
- 部分文件、图片、表情等多媒体文件会被网页版微信截断,即收不到任何数据,
  尤以表情为甚。因此造成的偶发现象,会提醒用户使用移动客户端查看。

实验功能
--------

以下的实验功能可能不稳定,并可能随时更改、删除。使用时请注意。

-  ``refresh_friends`` *(bool)* [默认值: ``false``]

   每当请求会话列表时,强制刷新会话列表。

-  ``first_link_only`` *(bool)* [默认值: ``false``]

   在收到多链接消息时,仅发送第一条链接。默认多链接会发送多条消息。

-  ``max_quote_length`` *(int)* [默认值: ``-1``]

   引用消息中引文的长度限制。设置为 0 关闭引文功能。设置为 -1
   则对引文长度不做限制。

-  ``qr_reload`` *(str)* [默认值: ``"master_qr_code"``]

   重新登录时使用的登录方式:
   选项:

   -  ``"console_qr_code"``:
      将二维码和提示输出到系统标准输出(\ ``stdout``\ )。
   -  ``"master_qr_code"``: 将二维码和提示发送到主端。 **注意**\
      登录时二维码会频繁刷新,请注意二维码可能会导致刷屏。

-  ``on_log_out`` *(str)* [默认值: ``"command"``]

   微信服务器将用户登出时的操作。
   选项:

   -  ``"idle"``: 仅通知用户。
   -  ``"reauth"``: 通知用户,并立即开始重新登录。
   -  ``"command"``: 通知用户,并等待用户启动重新登录过程。

-  ``imgcat_qr`` *(bool)* [默认值: ``false``]

   使用 `iTerm2
   图像协议 <https://www.iterm2.com/documentation-images.html>`__
   显示二维码。本功能只适用于 iTerm2 用户。

-  ``delete_on_edit`` *(bool)* [默认值: ``false``]

   以撤回并重新发送的方式代替编辑消息。默认禁止编辑消息。

-  ``app_shared_link_mode`` *(str)* [默认值:``"ignore"``]

   在收到第三方合作应用分享给微信的链接时,其附带的预览图以何种形式发送。

   -  ``"ignore"``\ :忽略附带的缩略图
   -  ``"upload"``\ :将缩略图上传到公开图床(\ https://sm.ms\ ),\
      并在日志中输出图片的删除链接。
   -  ``"image"``\ :将消息以图片形式发送(不推荐)

-  ``puid_logs`` *(str)* [默认值:``null``]

   输出 PUID 相关日志到指定日志路径。请使用绝对路径。PUID 日志可能会根据\
   会话数量和消息吞吐量而占用大量存储空间。

- ``send_stickers_and_gif_as_jpeg`` *(bool)* [默认值: ``false``]

  以 JPEG 图片方式发送自定义表情和 GIF,用于临时绕过微信网页版的自定义表情限制。\
  详见 `#48`_\ 。

.. _#48: https://ews.1a23.studio/issues/48

- ``system_chats_to_include`` *(list of str)* [默认值: ``[filehelper]``]

  在默认会话列表中显示的特殊系统会话。其内容仅能为 ``filehelper``\
  (文件传输助手)、\ ``fmessage``\ (朋友推荐消息)、\ ``newsapp``\
  (腾讯新闻)、\ ``weixin``\ (微信团队)其中零到四个选项。

- ``user_agent`` *(str)* [默认值: ``null``]

  指定登陆网页版微信时所使用的「用户代理」(user agent)字符串。\
  不指定则使用 itchat 提供的默认值。

- ``text_post_processing`` *(bool)* [默认值: ``true``]

  调整是否在从微信收到消息后对消息文本进行后处理步骤。
  
- ``replace_emoticon`` *(bool)* [默认值: ``true``]

  是否将微信表情替换为emoji。

``vendor_specific``
-------------------

EWS 的 \ ``Chat``\  提供了以下的 \ ``vendor_specific``\  项目:

-  ``is_mp`` *(bool)*
   该会话是否为公众号。
- ``is_contact`` *(bool)*
  不明。提取自 API。
- ``is_blacklist_contact`` *(bool)*
  该用户是否被加入黑名单。
- ``is_conversation_contact`` *(bool)*
  不明。提取自 API。
- ``is_room_contact_del`` *(bool)*
  不明。提取自 API。
- ``is_room_owner`` *(bool)*
  该用户是否为群组创建者。
- ``is_brand_contact`` *(bool)*
  不明。提取自 API。
- ``is_sp_contact`` *(bool)*
  不明。提取自 API。
- ``is_shield_user`` *(bool)*
  不明。提取自 API。
- ``is_muted`` *(bool)*
  该会话是否在微信中开启免打扰。
- ``is_top`` *(bool)*
  该会话是否在微信中被置顶。
- ``has_photo_album`` *(bool)*
  不明。提取自 API。

开源许可
--------

EWS 使用了 \ `GNU Affero 通用公共许可协议 3.0`_\ (GNU Affero General Public
License 3.0)或更新版本作为其开源许可::

    EFB 微信从端:一个适用于 EH Forwarder Bot 的从端
    Copyright (C) 2016 - 2020 Eana Hufwe 和 EFB 微信从端贡献者
    保留所有权利。

    此程序是一个自由软件;您可以在遵守由自由软件基金会发布的第三版或更新
    版本的 GNU Affero 通用公共许可协议的情况下重新分发并和/或修改软件。

    我们本着可为人所用的意愿分发此软件,但并不提供任何保证;甚至没有商业
    性的或对特定目的适用性的暗指。更多细节请参看 GNU Affero 通用公共许可
    协议。

    您应该已经随收到一份 GNU Affero 通用公共许可协议;如果没有,请查阅
    <http://www.gnu.org/licenses/>。

.. _GNU Affero 通用公共许可协议 3.0: https://www.gnu.org/licenses/agpl-3.0.txt

翻译界面
--------

EWS 启用了社区支持的本地化翻译。您可以将语言环境变量 (``LANGUAGE``,
``LC_ALL``, ``LC_MESSAGES`` 或 ``LANG``) 设为一种\ `已支持的语言`_\ 。
同时,您也可以在我们的 `Crowdin 项目`_\ 里面将 EWS 翻译为您的语言。

.. _已支持的语言: https://crowdin.com/project/ehforwarderbot/
.. _Crowdin 项目: https://crowdin.com/project/ehforwarderbot/

.. note::

    如果您是从源码安装的 EWS,您需要在安装前事先编译翻译文本目录(\ ``.mo``\ ),\
    才可启用界面翻译。



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/HoganGolden/efb-wechat-slave",
    "name": "efb-wechat-slave-itchat-uos",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "ehforwarderbot,EH Forwarder Bot,EH Forwarder Bot Slave Channel,wechat,weixin,chatbot",
    "author": "HoganKing",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/6e/ea/c16bc04a416598729cf82ba74bd28d9ac2c8d59d41d60a4d829e39d08c0f/efb-wechat-slave-itchat-uos-2.0.8.tar.gz",
    "platform": null,
    "description": "EFB WeChat Slave Channel\uff1aEFB \u5fae\u4fe1\u4ece\u7aef (EWS)\n============================================\n\n.. image:: https://img.shields.io/pypi/v/efb-wechat-slave.svg\n   :alt: PyPI\u2006\u53d1\u5e03\n   :target: https://pypi.org/project/efb-wechat-slave/\n.. image:: https://github.com/ehForwarderBot/efb-wechat-slave/workflows/Tests/badge.svg\n   :alt: \u6d4b\u8bd5\u72b6\u6001\n   :target: https://github.com/ehForwarderBot/efb-wechat-slave/actions\n.. image:: https://pepy.tech/badge/efb-wechat-slave/month\n   :alt: \u6bcf\u6708\u4e0b\u8f7d\u91cf\n   :target: https://pepy.tech/project/efb-wechat-slave\n.. image:: https://d322cqt584bo4o.cloudfront.net/ehforwarderbot/localized.svg\n   :alt: Translate this project\n   :target: https://crowdin.com/project/ehforwarderbot/\n\n.. image:: https://github.com/ehForwarderBot/efb-wechat-slave/raw/master/banner.png\n   :alt: \u5934\u56fe\n\n.. image:: https://i.imgur.com/dCZfh14.png\n   :alt: This project proudly supports #SayNoToWeChat campaign.\n\n`README in other languages`_.\n\n.. TRANSLATORS: change the URL on previous line as \".\" (without quotations).\n.. _README in other languages: ./readme_translations\n\n**Channel ID**: ``blueset.wechat``\n\nEWS\u2006\u662f\u517c\u5bb9\u2006EH Forwarder Bot\u2006\u7684\u5fae\u4fe1\u4ece\u7aef\uff0c\u57fa\u4e8e\u9006\u5411\u5de5\u7a0b\u7684\u5fae\u4fe1\u7f51\u9875\u7248\u3001\\\n\u4fee\u6539\u7248\u2006``wxpy``\\ \u2006\u548c\u2006\\ ``ItChat``\\ \u3002\n\n\u672c\u9879\u76ee\u7684\u90e8\u5206\u4ee3\u7801\u4fee\u6539\u81ea\u2006`youfou/wxpy`_\\ \u3001\\ `why2lyj/ItChat-UOS`_\\ \u3002\n\n.. _youfou/wxpy: https://github.com/youfou/wxpy\n.. _why2lyj/ItChat-UOS:  https://github.com/why2lyj/ItChat-UOS\n\n\n\u4f7f\u7528\u524d\u987b\u77e5\n----------\n\n\u81ea\u20062017\u2006\u5e74\u4e2d\u65ec\u4ee5\u6765\uff0c\u9646\u7eed\u6709\u7528\u6237\u62a5\u544a\u5176\u5fae\u4fe1\u7f51\u9875\u7248\u767b\u5f55\u88ab\u817e\u8baf\u5c01\u7981\u3002\\\n\u8868\u73b0\u4e3a\u7528\u4efb\u4f55\u65b9\u5f0f\u767b\u5f55\u5fae\u4fe1\u7f51\u9875\u7248\u63d0\u793a\u300c\u5f53\u524d\u767b\u5f55\u73af\u5883\u5f02\u5e38\u3002\u4e3a\u4e86\u4f60\u7684\u8d26\u53f7\u5b89\u5168\uff0c\\\n\u6682\u65f6\u4e0d\u80fd\u767b\u5f55\u2006Web\u2006\u5fae\u4fe1\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u624b\u673a\u5ba2\u6237\u7aef\u6216\u2006Windows\u2006\u5fae\u4fe1\u767b\u5f55\u300d\\\n\u6216\u7c7b\u4f3c\u7684\u63d0\u793a\u3002\u5927\u90e8\u5206\u7528\u6237\u4f1a\u5728\u5c01\u7981\u540e\u4e00\u5929\u5230\u4e09\u4e2a\u6708\u5185\u89e3\u5c01\uff0c\u4e0d\u540c\u7528\u6237\u7684\u89e3\u5c01\u8017\u65f6\u4e0d\u540c\u3002\\\n\u636e\u89c2\u6d4b\uff0c\u4ec5\u6709\u7ea6\u4e0d\u8db3\u4e00\u6210\u7684\u7528\u6237\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u88ab\u5c01\u7981\u3002\u8be5\u5c01\u7981\u4e0d\u5f71\u54cd\u5176\u4ed6\u5ba2\u6237\u7aef\u7684\u767b\u5f55\u3002\\\n\u76ee\u524d\u5c01\u7981\u7684\u539f\u56e0\u5c1a\u4e0d\u660e\u786e\u3002\n\n\u4e0e\u6b64\u540c\u65f6\uff0c\u6709\u73b0\u8c61\u8868\u660e\u20062017\u2006\u5e74\u4e2d\u65ec\u4ee5\u6765\u65b0\u6ce8\u518c\u7684\u5fae\u4fe1\u7528\u6237\u4e0d\u80fd\u591f\u4f7f\u7528\u5fae\u4fe1\u7f51\u9875\u7248\u3002\\\n\u5728\u521d\u6b21\u4f7f\u7528\u4e4b\u524d\uff0c\u8bf7\u5148\u8bbf\u95ee\\ `\u5fae\u4fe1\u7f51\u9875\u7248`_\\ \u5e76\u786e\u8ba4\u60a8\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u6b64\u529f\u80fd\u3002\\\n\u82e5\u60a8\u7684\u8d26\u53f7\u4e0d\u80fd\u4f7f\u7528\u8be5\u529f\u80fd\uff0c\u8bf7\u5c1d\u8bd5\u6362\u7528\u5176\u4ed6\u8d26\u53f7\u5c1d\u8bd5\u3002\n\n\u5982\u679c\u4f60\u5bf9\u7f51\u9875\u7248\u767b\u5f55\u6709\u8981\u6c42\u7684\u8bdd\uff0c\u8bf7\u614e\u7528\u6b64\u4fe1\u9053\u3002\u8be6\u7ec6\u7684\u76f8\u5173\u4fe1\u606f\u8bf7\u53c2\u89c1\u2006`issue #7`_\\ \u3002\n\n.. _\u5fae\u4fe1\u7f51\u9875\u7248: https://web.wechat.com/\n.. _issue #7: https://github.com/ehForwarderBot/efb-wechat-slave/issues/7\n\n\u8f6f\u4ef6\u4f9d\u8d56\n--------\n\n-  Python >= 3.6\n-  EH Forwarder Bot >= 2.0.0\n-  ffmpeg\n-  libmagic\n-  pillow\n\n\u5b89\u88c5\u4e0e\u542f\u7528\n----------\n\n1. \u5b89\u88c5\u5982\u4e0a\u6240\u8981\u6c42\u7684\u4e8c\u8fdb\u5236\u4f9d\u8d56\n2. \u5b89\u88c5\n\n   .. code:: shell\n\n       pip3 install efb-wechat-slave\n\n3. \u4f7f\u7528\u2006\\ *EFB \u914d\u7f6e\u5411\u5bfc*\\ \uff0c\u6216\u5728\u5f53\u524d\u914d\u7f6e\u6863\u6848\uff08Profile\uff09\u76ee\u5f55\u7684\u2006\\ ``config.yaml``\\ \u2006\u6587\u4ef6\u4e2d\u542f\u7528\u2006EWS\u3002\n\n   \u5f53\u524d\u914d\u7f6e\u6587\u4ef6\u5939\u7684\u4f4d\u7f6e\u4f1a\u6839\u636e\u7528\u6237\u7684\u8bbe\u5b9a\u800c\u6539\u53d8\u3002\n\n   **(EFB 2 \u4e2d\uff0c\u9ed8\u8ba4\u7684\u914d\u7f6e\u6863\u6848\u76ee\u5f55\u4f4d\u4e8e**\u2006\n   ``~/.ehforwarderbot/profiles/default``\\ \u2006**)**\n\n\n\u5176\u4ed6\u7684\u5b89\u88c5\u65b9\u5f0f\n~~~~~~~~~~~~~~\n\nEWS\u2006\u540c\u65f6\u5b58\u5728\u7531\u793e\u533a\u63d0\u4f9b\u7684\u5176\u4ed6\u5b89\u88c5\u65b9\u5f0f\uff0c\u5305\u62ec\uff1a\n\n- \u7531\u2006KeLiu_\u2006\u7ef4\u62a4\u7684\u2006`AUR\u2006\u8f6f\u4ef6\u5305`_\\ \uff08``python-efb-wechat-slave-git``\uff09\u3002\n- \u5176\u4ed6\\ `\u5b89\u88c5\u811a\u672c\u6216\u2006Docker\u2006\u7b49\u5bb9\u5668`_\\ \u3002\n\n.. _KeLiu: https://github.com/specter119\n.. _AUR\u2006\u8f6f\u4ef6\u5305: https://aur.archlinux.org/packages/python-efb-wechat-slave-git\n.. _\u5b89\u88c5\u811a\u672c\u6216\u2006Docker\u2006\u7b49\u5bb9\u5668: https://efb-modules.1a23.studio#scripts-and-containers-eg-docker\n\n\n\u53ef\u9009\u7684\u914d\u7f6e\u6587\u4ef6\n--------------\n\nEWS\u2006\u652f\u6301\u4f7f\u7528\u53ef\u9009\u7684\u914d\u7f6e\u6587\u4ef6\u6765\u542f\u7528\u5b9e\u9a8c\u529f\u80fd\u3002\u914d\u7f6e\u6587\u4ef6\u5b58\u50a8\u4e8e\n``<\u5f53\u524d\u914d\u7f6e\u6587\u4ef6\u5939>/blueset.wechat/config.yaml``\\ \u3002\n\n\u914d\u7f6e\u6587\u4ef6\u4f8b\n~~~~~~~~~~\n\n.. code:: yaml\n\n    # \u5b9e\u9a8c\u529f\u80fd\n    # \u4f7f\u7528\u672c\u6bb5\u6765\u8c03\u6574\u5b9e\u9a8c\u529f\u80fd\u7684\u8bbe\u7f6e\u3002\u8bf7\u6ce8\u610f\u5b9e\u9a8c\u529f\u80fd\u968f\u65f6\u53ef\u80fd\u53d8\u66f4\u6216\u5931\u6548\u3002\n    # \u8be6\u7ec6\u8bf4\u660e\u89c1\u4e0b\u6587\u3002\n    flags:\n        option_one: 10\n        option_two: false\n        option_three: \"foobar\"\n\n\u5e38\u89c1\u95ee\u9898\n--------\n\n-  **\u5982\u4f55\u5207\u6362\u5df2\u767b\u5f55\u7684\u5fae\u4fe1\u8d26\u53f7\uff1f**\n   \u8bf7\u767b\u51fa\u5f53\u524d\u7684\u8d26\u53f7\uff0c\u5e76\u4f7f\u7528\u5176\u4ed6\u7684\u5fae\u4fe1\u624b\u673a\u767b\u5f55\u3002\n-  **\u5982\u4f55\u767b\u5f55\u4e24\u4e2a\u5fae\u4fe1\u8d26\u53f7\uff1f**\n   \u8bf7\u5728\u2006EFB\u2006\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u4e0d\u540c\u7684\u5b9e\u4f8b\u2006ID\u3002\n-  **EWS\u2006\u7a33\u5b9a\u5417\uff1f**\n   EWS\u2006\u4f9d\u8d56\u4e8e\u4e0a\u6e38\u9879\u76ee\n   `ItChat <https://github.com/littlecodersh/ItChat>`__\n   \u4ee5\u53ca\u5fae\u4fe1\u7f51\u9875\u7248\u7684\u534f\u8bae\u3002\u6839\u636e\u2006`ItChat\n   FAQ <https://itchat.readthedocs.io/zh/latest/FAQ/>`__\n   \u7684\u8bf4\u660e\uff0c\u5728\u6ee1\u8db3\u4ee5\u4e0b\u60c5\u51b5\u7684\u6761\u4ef6\u4e0b\uff0c\u5fae\u4fe1\u767b\u5f55\u80fd\u591f\u4fdd\u6301\u6570\u4e2a\u6708\u7a33\u5b9a\u767b\u5f55:\n\n   -  \u670d\u52a1\u5668\u6709\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u5e76\u4e14\n   -  **\u4fdd\u6301\u624b\u673a\u5ba2\u6237\u7aef\u957f\u671f\u5728\u7ebf\u3002**\n\n\u5df2\u77e5\u95ee\u9898\n--------\n\n- \u5c31\u4e8e\u5fae\u4fe1\u7f51\u9875\u7248\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u76ee\u524d\u5bf9\u4e8e\u6ca1\u6709\u540d\u79f0\u7684\u4f1a\u8bdd\u3001\u4ee5\u53ca\u91cd\u540d\u7684\u4f1a\u8bdd\u652f\u6301\u8f83\u5dee\uff0c\\\n  \u53ef\u80fd\u4f1a\u6709\u6d88\u606f\u4f20\u9012\u9519\u8bef\u7b49\u95ee\u9898\u3002\n- \u540c\u7406\uff0c\u90e8\u5206\u60c5\u51b5\u4e0b\u53d8\u66f4\u540d\u79f0\u7684\u4f1a\u8bdd\u4f1a\u88ab\u89c6\u4e3a\u5168\u65b0\u7684\u4f1a\u8bdd\uff0c\u800c\u300c\u65e7\u4f1a\u8bdd\u300d\u968f\u5373\u6d88\u5931\u3002\n- \u4ec5\u652f\u6301\u5fae\u4fe1\u7f51\u9875\u7248\u6240\u652f\u6301\u7684\u529f\u80fd\u4ee5\u53ca\u6d88\u606f\u7c7b\u578b\uff0c\u5373\n    - \u6ca1\u6709\u670b\u53cb\u5708\n    - \u6ca1\u6709\u7ea2\u5305\n    - \u4e0d\u80fd\u53d1\u8bed\u97f3\n    - \u4e0d\u80fd\u53d1\u4f4d\u7f6e\n    - \u2026\u2026\u7b49\u7b49\u8bf8\u5982\u6b64\u7c7b\n- \u90e8\u5206\u6587\u4ef6\u3001\u56fe\u7247\u3001\u8868\u60c5\u7b49\u591a\u5a92\u4f53\u6587\u4ef6\u4f1a\u88ab\u7f51\u9875\u7248\u5fae\u4fe1\u622a\u65ad\uff0c\u5373\u6536\u4e0d\u5230\u4efb\u4f55\u6570\u636e\uff0c\n  \u5c24\u4ee5\u8868\u60c5\u4e3a\u751a\u3002\u56e0\u6b64\u9020\u6210\u7684\u5076\u53d1\u73b0\u8c61\uff0c\u4f1a\u63d0\u9192\u7528\u6237\u4f7f\u7528\u79fb\u52a8\u5ba2\u6237\u7aef\u67e5\u770b\u3002\n\n\u5b9e\u9a8c\u529f\u80fd\n--------\n\n\u4ee5\u4e0b\u7684\u5b9e\u9a8c\u529f\u80fd\u53ef\u80fd\u4e0d\u7a33\u5b9a\uff0c\u5e76\u53ef\u80fd\u968f\u65f6\u66f4\u6539\u3001\u5220\u9664\u3002\u4f7f\u7528\u65f6\u8bf7\u6ce8\u610f\u3002\n\n-  ``refresh_friends`` *(bool)* [\u9ed8\u8ba4\u503c: ``false``]\n\n   \u6bcf\u5f53\u8bf7\u6c42\u4f1a\u8bdd\u5217\u8868\u65f6\uff0c\u5f3a\u5236\u5237\u65b0\u4f1a\u8bdd\u5217\u8868\u3002\n\n-  ``first_link_only`` *(bool)* [\u9ed8\u8ba4\u503c: ``false``]\n\n   \u5728\u6536\u5230\u591a\u94fe\u63a5\u6d88\u606f\u65f6\uff0c\u4ec5\u53d1\u9001\u7b2c\u4e00\u6761\u94fe\u63a5\u3002\u9ed8\u8ba4\u591a\u94fe\u63a5\u4f1a\u53d1\u9001\u591a\u6761\u6d88\u606f\u3002\n\n-  ``max_quote_length`` *(int)* [\u9ed8\u8ba4\u503c: ``-1``]\n\n   \u5f15\u7528\u6d88\u606f\u4e2d\u5f15\u6587\u7684\u957f\u5ea6\u9650\u5236\u3002\u8bbe\u7f6e\u4e3a 0 \u5173\u95ed\u5f15\u6587\u529f\u80fd\u3002\u8bbe\u7f6e\u4e3a -1\n   \u5219\u5bf9\u5f15\u6587\u957f\u5ea6\u4e0d\u505a\u9650\u5236\u3002\n\n-  ``qr_reload`` *(str)* [\u9ed8\u8ba4\u503c: ``\"master_qr_code\"``]\n\n   \u91cd\u65b0\u767b\u5f55\u65f6\u4f7f\u7528\u7684\u767b\u5f55\u65b9\u5f0f\uff1a\n   \u9009\u9879:\n\n   -  ``\"console_qr_code\"``:\n      \u5c06\u4e8c\u7ef4\u7801\u548c\u63d0\u793a\u8f93\u51fa\u5230\u7cfb\u7edf\u6807\u51c6\u8f93\u51fa\uff08\\ ``stdout``\\ \uff09\u3002\n   -  ``\"master_qr_code\"``: \u5c06\u4e8c\u7ef4\u7801\u548c\u63d0\u793a\u53d1\u9001\u5230\u4e3b\u7aef\u3002 **\u6ce8\u610f**\\\n      \u767b\u5f55\u65f6\u4e8c\u7ef4\u7801\u4f1a\u9891\u7e41\u5237\u65b0\uff0c\u8bf7\u6ce8\u610f\u4e8c\u7ef4\u7801\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5237\u5c4f\u3002\n\n-  ``on_log_out`` *(str)* [\u9ed8\u8ba4\u503c: ``\"command\"``]\n\n   \u5fae\u4fe1\u670d\u52a1\u5668\u5c06\u7528\u6237\u767b\u51fa\u65f6\u7684\u64cd\u4f5c\u3002\n   \u9009\u9879:\n\n   -  ``\"idle\"``: \u4ec5\u901a\u77e5\u7528\u6237\u3002\n   -  ``\"reauth\"``: \u901a\u77e5\u7528\u6237\uff0c\u5e76\u7acb\u5373\u5f00\u59cb\u91cd\u65b0\u767b\u5f55\u3002\n   -  ``\"command\"``: \u901a\u77e5\u7528\u6237\uff0c\u5e76\u7b49\u5f85\u7528\u6237\u542f\u52a8\u91cd\u65b0\u767b\u5f55\u8fc7\u7a0b\u3002\n\n-  ``imgcat_qr`` *(bool)* [\u9ed8\u8ba4\u503c: ``false``]\n\n   \u4f7f\u7528 `iTerm2\n   \u56fe\u50cf\u534f\u8bae <https://www.iterm2.com/documentation-images.html>`__\n   \u663e\u793a\u4e8c\u7ef4\u7801\u3002\u672c\u529f\u80fd\u53ea\u9002\u7528\u4e8e\u2006iTerm2\u2006\u7528\u6237\u3002\n\n-  ``delete_on_edit`` *(bool)* [\u9ed8\u8ba4\u503c: ``false``]\n\n   \u4ee5\u64a4\u56de\u5e76\u91cd\u65b0\u53d1\u9001\u7684\u65b9\u5f0f\u4ee3\u66ff\u7f16\u8f91\u6d88\u606f\u3002\u9ed8\u8ba4\u7981\u6b62\u7f16\u8f91\u6d88\u606f\u3002\n\n-  ``app_shared_link_mode`` *(str)* [\u9ed8\u8ba4\u503c\uff1a``\"ignore\"``]\n\n   \u5728\u6536\u5230\u7b2c\u4e09\u65b9\u5408\u4f5c\u5e94\u7528\u5206\u4eab\u7ed9\u5fae\u4fe1\u7684\u94fe\u63a5\u65f6\uff0c\u5176\u9644\u5e26\u7684\u9884\u89c8\u56fe\u4ee5\u4f55\u79cd\u5f62\u5f0f\u53d1\u9001\u3002\n\n   -  ``\"ignore\"``\\ \uff1a\u5ffd\u7565\u9644\u5e26\u7684\u7f29\u7565\u56fe\n   -  ``\"upload\"``\\ \uff1a\u5c06\u7f29\u7565\u56fe\u4e0a\u4f20\u5230\u516c\u5f00\u56fe\u5e8a\uff08\\ https://sm.ms\\ \uff09\uff0c\\\n      \u5e76\u5728\u65e5\u5fd7\u4e2d\u8f93\u51fa\u56fe\u7247\u7684\u5220\u9664\u94fe\u63a5\u3002\n   -  ``\"image\"``\\ \uff1a\u5c06\u6d88\u606f\u4ee5\u56fe\u7247\u5f62\u5f0f\u53d1\u9001\uff08\u4e0d\u63a8\u8350\uff09\n\n-  ``puid_logs`` *(str)* [\u9ed8\u8ba4\u503c\uff1a``null``]\n\n   \u8f93\u51fa\u2006PUID\u2006\u76f8\u5173\u65e5\u5fd7\u5230\u6307\u5b9a\u65e5\u5fd7\u8def\u5f84\u3002\u8bf7\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u3002PUID\u2006\u65e5\u5fd7\u53ef\u80fd\u4f1a\u6839\u636e\\\n   \u4f1a\u8bdd\u6570\u91cf\u548c\u6d88\u606f\u541e\u5410\u91cf\u800c\u5360\u7528\u5927\u91cf\u5b58\u50a8\u7a7a\u95f4\u3002\n\n- ``send_stickers_and_gif_as_jpeg`` *(bool)* [\u9ed8\u8ba4\u503c: ``false``]\n\n  \u4ee5\u2006JPEG\u2006\u56fe\u7247\u65b9\u5f0f\u53d1\u9001\u81ea\u5b9a\u4e49\u8868\u60c5\u548c\u2006GIF\uff0c\u7528\u4e8e\u4e34\u65f6\u7ed5\u8fc7\u5fae\u4fe1\u7f51\u9875\u7248\u7684\u81ea\u5b9a\u4e49\u8868\u60c5\u9650\u5236\u3002\\\n  \u8be6\u89c1\u2006`#48`_\\ \u3002\n\n.. _#48: https://ews.1a23.studio/issues/48\n\n- ``system_chats_to_include`` *(list of str)* [\u9ed8\u8ba4\u503c: ``[filehelper]``]\n\n  \u5728\u9ed8\u8ba4\u4f1a\u8bdd\u5217\u8868\u4e2d\u663e\u793a\u7684\u7279\u6b8a\u7cfb\u7edf\u4f1a\u8bdd\u3002\u5176\u5185\u5bb9\u4ec5\u80fd\u4e3a ``filehelper``\\\n  \uff08\u6587\u4ef6\u4f20\u8f93\u52a9\u624b\uff09\u3001\\ ``fmessage``\\ \uff08\u670b\u53cb\u63a8\u8350\u6d88\u606f\uff09\u3001\\ ``newsapp``\\\n  \uff08\u817e\u8baf\u65b0\u95fb\uff09\u3001\\ ``weixin``\\ \uff08\u5fae\u4fe1\u56e2\u961f\uff09\u5176\u4e2d\u96f6\u5230\u56db\u4e2a\u9009\u9879\u3002\n\n- ``user_agent`` *(str)* [\u9ed8\u8ba4\u503c: ``null``]\n\n  \u6307\u5b9a\u767b\u9646\u7f51\u9875\u7248\u5fae\u4fe1\u65f6\u6240\u4f7f\u7528\u7684\u300c\u7528\u6237\u4ee3\u7406\u300d\uff08user agent\uff09\u5b57\u7b26\u4e32\u3002\\\n  \u4e0d\u6307\u5b9a\u5219\u4f7f\u7528\u2006itchat\u2006\u63d0\u4f9b\u7684\u9ed8\u8ba4\u503c\u3002\n\n- ``text_post_processing`` *(bool)* [\u9ed8\u8ba4\u503c: ``true``]\n\n  \u8c03\u6574\u662f\u5426\u5728\u4ece\u5fae\u4fe1\u6536\u5230\u6d88\u606f\u540e\u5bf9\u6d88\u606f\u6587\u672c\u8fdb\u884c\u540e\u5904\u7406\u6b65\u9aa4\u3002\n  \n- ``replace_emoticon`` *(bool)* [\u9ed8\u8ba4\u503c: ``true``]\n\n  \u662f\u5426\u5c06\u5fae\u4fe1\u8868\u60c5\u66ff\u6362\u4e3aemoji\u3002\n\n``vendor_specific``\n-------------------\n\nEWS\u2006\u7684\u2006\\ ``Chat``\\ \u2006\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u7684\u2006\\ ``vendor_specific``\\ \u2006\u9879\u76ee\uff1a\n\n-  ``is_mp`` *(bool)*\n   \u8be5\u4f1a\u8bdd\u662f\u5426\u4e3a\u516c\u4f17\u53f7\u3002\n- ``is_contact`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_blacklist_contact`` *(bool)*\n  \u8be5\u7528\u6237\u662f\u5426\u88ab\u52a0\u5165\u9ed1\u540d\u5355\u3002\n- ``is_conversation_contact`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_room_contact_del`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_room_owner`` *(bool)*\n  \u8be5\u7528\u6237\u662f\u5426\u4e3a\u7fa4\u7ec4\u521b\u5efa\u8005\u3002\n- ``is_brand_contact`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_sp_contact`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_shield_user`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n- ``is_muted`` *(bool)*\n  \u8be5\u4f1a\u8bdd\u662f\u5426\u5728\u5fae\u4fe1\u4e2d\u5f00\u542f\u514d\u6253\u6270\u3002\n- ``is_top`` *(bool)*\n  \u8be5\u4f1a\u8bdd\u662f\u5426\u5728\u5fae\u4fe1\u4e2d\u88ab\u7f6e\u9876\u3002\n- ``has_photo_album`` *(bool)*\n  \u4e0d\u660e\u3002\u63d0\u53d6\u81ea\u2006API\u3002\n\n\u5f00\u6e90\u8bb8\u53ef\n--------\n\nEWS\u2006\u4f7f\u7528\u4e86\u2006\\ `GNU Affero\u2006\u901a\u7528\u516c\u5171\u8bb8\u53ef\u534f\u8bae\u20063.0`_\\ \uff08GNU Affero General Public\nLicense 3.0\uff09\u6216\u66f4\u65b0\u7248\u672c\u4f5c\u4e3a\u5176\u5f00\u6e90\u8bb8\u53ef::\n\n    EFB \u5fae\u4fe1\u4ece\u7aef\uff1a\u4e00\u4e2a\u9002\u7528\u4e8e EH Forwarder Bot \u7684\u4ece\u7aef\n    Copyright (C) 2016 - 2020 Eana Hufwe \u548c EFB \u5fae\u4fe1\u4ece\u7aef\u8d21\u732e\u8005\n    \u4fdd\u7559\u6240\u6709\u6743\u5229\u3002\n\n    \u6b64\u7a0b\u5e8f\u662f\u4e00\u4e2a\u81ea\u7531\u8f6f\u4ef6\uff1b\u60a8\u53ef\u4ee5\u5728\u9075\u5b88\u7531\u81ea\u7531\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u53d1\u5e03\u7684\u7b2c\u4e09\u7248\u6216\u66f4\u65b0\n    \u7248\u672c\u7684 GNU Affero \u901a\u7528\u516c\u5171\u8bb8\u53ef\u534f\u8bae\u7684\u60c5\u51b5\u4e0b\u91cd\u65b0\u5206\u53d1\u5e76\u548c/\u6216\u4fee\u6539\u8f6f\u4ef6\u3002\n\n    \u6211\u4eec\u672c\u7740\u53ef\u4e3a\u4eba\u6240\u7528\u7684\u610f\u613f\u5206\u53d1\u6b64\u8f6f\u4ef6\uff0c\u4f46\u5e76\u4e0d\u63d0\u4f9b\u4efb\u4f55\u4fdd\u8bc1\uff1b\u751a\u81f3\u6ca1\u6709\u5546\u4e1a\n    \u6027\u7684\u6216\u5bf9\u7279\u5b9a\u76ee\u7684\u9002\u7528\u6027\u7684\u6697\u6307\u3002\u66f4\u591a\u7ec6\u8282\u8bf7\u53c2\u770b GNU Affero \u901a\u7528\u516c\u5171\u8bb8\u53ef\n    \u534f\u8bae\u3002\n\n    \u60a8\u5e94\u8be5\u5df2\u7ecf\u968f\u6536\u5230\u4e00\u4efd GNU Affero \u901a\u7528\u516c\u5171\u8bb8\u53ef\u534f\u8bae\uff1b\u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u67e5\u9605\n    <http://www.gnu.org/licenses/>\u3002\n\n.. _GNU Affero\u2006\u901a\u7528\u516c\u5171\u8bb8\u53ef\u534f\u8bae\u20063.0: https://www.gnu.org/licenses/agpl-3.0.txt\n\n\u7ffb\u8bd1\u754c\u9762\n--------\n\nEWS\u2006\u542f\u7528\u4e86\u793e\u533a\u652f\u6301\u7684\u672c\u5730\u5316\u7ffb\u8bd1\u3002\u60a8\u53ef\u4ee5\u5c06\u8bed\u8a00\u73af\u5883\u53d8\u91cf (``LANGUAGE``,\n``LC_ALL``, ``LC_MESSAGES`` \u6216 ``LANG``) \u8bbe\u4e3a\u4e00\u79cd\\ `\u5df2\u652f\u6301\u7684\u8bed\u8a00`_\\ \u3002\n\u540c\u65f6\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5728\u6211\u4eec\u7684\u2006`Crowdin\u2006\u9879\u76ee`_\\ \u91cc\u9762\u5c06\u2006EWS\u2006\u7ffb\u8bd1\u4e3a\u60a8\u7684\u8bed\u8a00\u3002\n\n.. _\u5df2\u652f\u6301\u7684\u8bed\u8a00: https://crowdin.com/project/ehforwarderbot/\n.. _Crowdin\u2006\u9879\u76ee: https://crowdin.com/project/ehforwarderbot/\n\n.. note::\n\n    \u5982\u679c\u60a8\u662f\u4ece\u6e90\u7801\u5b89\u88c5\u7684\u2006EWS\uff0c\u60a8\u9700\u8981\u5728\u5b89\u88c5\u524d\u4e8b\u5148\u7f16\u8bd1\u7ffb\u8bd1\u6587\u672c\u76ee\u5f55\uff08\\ ``.mo``\\ \uff09\uff0c\\\n    \u624d\u53ef\u542f\u7528\u754c\u9762\u7ffb\u8bd1\u3002\n\n\n",
    "bugtrack_url": null,
    "license": "AGPLv3+",
    "summary": "WeChat Slave Channel for EH Forwarder Bot, based on WeChat Web API.",
    "version": "2.0.8",
    "split_keywords": [
        "ehforwarderbot",
        "eh forwarder bot",
        "eh forwarder bot slave channel",
        "wechat",
        "weixin",
        "chatbot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "872c2dd8f40a20a38ecbf3fb964bc0b7c9e05646de5f0e7f00cd6a84811f34c8",
                "md5": "22bf15cb1c16ff7c2a3b348743173fda",
                "sha256": "6d83666ab480214fb08521bb283f8a5c93a1a65b654d4592faab7d3b9b4284c8"
            },
            "downloads": -1,
            "filename": "efb_wechat_slave_itchat_uos-2.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22bf15cb1c16ff7c2a3b348743173fda",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 208478,
            "upload_time": "2023-04-21T09:18:59",
            "upload_time_iso_8601": "2023-04-21T09:18:59.344784Z",
            "url": "https://files.pythonhosted.org/packages/87/2c/2dd8f40a20a38ecbf3fb964bc0b7c9e05646de5f0e7f00cd6a84811f34c8/efb_wechat_slave_itchat_uos-2.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6eeac16bc04a416598729cf82ba74bd28d9ac2c8d59d41d60a4d829e39d08c0f",
                "md5": "1f0f4e76c628bfa6479225d313834349",
                "sha256": "8042c4e1b5e621ba23d7c1cf164f4511e1610f74e9bb8070f378b16fb69bd8b6"
            },
            "downloads": -1,
            "filename": "efb-wechat-slave-itchat-uos-2.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "1f0f4e76c628bfa6479225d313834349",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 146913,
            "upload_time": "2023-04-21T09:19:01",
            "upload_time_iso_8601": "2023-04-21T09:19:01.826845Z",
            "url": "https://files.pythonhosted.org/packages/6e/ea/c16bc04a416598729cf82ba74bd28d9ac2c8d59d41d60a4d829e39d08c0f/efb-wechat-slave-itchat-uos-2.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-21 09:19:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "HoganGolden",
    "github_project": "efb-wechat-slave",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "efb-wechat-slave-itchat-uos"
}
        
Elapsed time: 0.56704s