Skip to main content

A wechat bot SDK for windows

Project description

pywxbot

pywxbot 是一个微信机器人框架,通过模拟鼠标键盘操作微信Window客户端实现自动回复等功能。

特性

  • 消息监听
  • 消息发送
  • 好友搜索
  • 好友自动通过
  • ......

Quick Start

安装

可以通过本命令安装pywxbot:

pip install pywxbot -i https://pypi.douban.com/simple/

使用实例

1.启动Windows微信客户端

2.登录微信

3.把聊天对象搜索到聊天列表中,确保聊天对象在左侧聊天列表中处于可见状态

4.运行下面的代码

import pywxbot

app = pywxbot.WxBot()

# 监听消息
@app.watch('文件传输助手')
def auto_reply(msg):
    return f'recv : {msg.txt}'

app.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywxbot-0.0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

pywxbot-0.0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pywxbot-0.0.3.tar.gz.

File metadata

  • Download URL: pywxbot-0.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pywxbot-0.0.3.tar.gz
Algorithm Hash digest
SHA256 86727934f7a466c77641967f6913f88e3b75cd4d3c77eb9f5f90e560d4c3a388
MD5 4650ce1e286e00f0947f7899190cba67
BLAKE2b-256 b56463f418b6ab37045852f575e5e8dcacc7b6dd2f504dca82e81d81e28e91f2

See more details on using hashes here.

File details

Details for the file pywxbot-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pywxbot-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pywxbot-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea29d20d327f35692a6dfd2a300d15e476d71e3a3bd4011c1aa2e721270476af
MD5 f59a1cfc3f049b3371668cfbfd81bb6e
BLAKE2b-256 876c73396e3b1ca54a9ddeee1f172502e32a77d37e5152249da69706eb0db160

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page