MCPcopy
hub / github.com/wechaty/python-wechaty

github.com/wechaty/python-wechaty @main sqlite

repository ↗ · DeepWiki ↗
504 symbols 1,809 edges 50 files 434 documented · 86%
README

python-wechaty

Python Wechaty

PyPI Version Python Wechaty Getting Started Python 3.7 Downloads Wechaty in Python codecov PyPI PyPI - Downloads

📄 Chinese Document python-wechaty-template

What's Python Wechaty

Python Wechaty is an Open Source software application for building chatbots. It is a modern Conversational RPA SDK which Chatbot makers can use to create a bot in a few lines of code.

You can use Wechaty to build a chatbot which automates conversations and interact with people through instant messaging platforms such as WhatsApp, WeChat, WeCom, Gitter and Lark among others.

Features

  • Message Processing: You can use the simple code, similar to natural language, to process the message receving & sending.
  • Plugin System: You can use the community-contributed plugins to handle your scenario.
  • Write onece, run multi IM platform: python wechaty support many IM platforms with one code, all of you need to do is switch the token token type.
  • Wechaty UI: you can use the powerful wechaty-ui to create interactive chatbot
  • ...

Getting Started

There are few steps to start your bot, and we give a bot-template for you to getting started quickly.

Join Us

Wechaty is used in many ChatBot projects by thousands of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code python wechaty, join our Wechaty Python Developers' Home.

Wechaty Friday.BOT QR Code

Scan now, because other Wechaty Python developers want to talk with you too! (secret code: python wechaty)

Requirements

  1. Python 3.7+

Install

pip3 install wechaty

See Also

Static & Instance of Class

Typings

History

v0.6 (Jun 19, 2020)

Python Wechaty Scala Wechaty BETA Released!

Read more from our Multi-language Wechaty Beta Release event from our blog:

v0.4 (Mar 15, 2020) master

Welcome @huangaszaq for joining the project! #42

  1. Add a friendly exception message for PyPI users. #24

v0.1 (Mar 8, 2020)

Welcome @wj-Mcat for joining the project! #4

  1. Starting translate TypeScript of Wechaty to Python
  2. DevOps Setup
    1. Type Checking: mypy & pytype
    2. Unit Testing: pytest
    3. Linting: pylint, pycodestyle, and flake8
    4. CI/CD: GitHub Actions
  3. Publish to PyPI automatically after the tests passed.

v0.0.1 (Aug 25, 2018)

Project created, publish a empty module wechaty on PyPI.

Related Projects

  • Wechaty - Conversatioanl AI Chatot SDK for Wechaty Individual Accounts (TypeScript)
  • Python Wechaty - Python WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Python)
  • Go Wechaty - Go WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Go)
  • Java Wechaty - Java WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Java)
  • Scala Wechaty - Scala WeChaty Conversational AI Chatbot SDK for WechatyIndividual Accounts (Scala)

Badge

Wechaty in Python

[![Wechaty in Python](https://img.shields.io/badge/Wechaty-Python-blue)](https://github.com/wechaty/python-wechaty)

Stargazers over time

Stargazers over time

Contributors

Made with contrib.rocks.

Support

Thanks the following supported Software.

test image size

Committers

  1. @huangaszaq - Chunhong HUANG (黄纯洪)

Creators

Copyright & License

  • Code & Docs © 2018 Wechaty Contributors https://github.com/wechaty
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

Core symbols most depended-on inside this repo

ready
called by 34
src/wechaty/user/room.py
say
called by 19
src/wechaty/types.py
load
called by 18
src/wechaty/user/tag.py
emit
called by 17
src/wechaty/wechaty.py
get
called by 17
src/wechaty/user/tag.py
on
called by 15
src/wechaty/wechaty.py
get_puppet
called by 13
src/wechaty/accessory.py
talker
called by 11
src/wechaty/user/message.py

Shape

Method 377
Function 71
Class 49
Route 7

Languages

Python100%

Modules by API surface

src/wechaty/fake_puppet.py82 symbols
src/wechaty/plugin.py65 symbols
src/wechaty/wechaty.py44 symbols
src/wechaty/user/message.py31 symbols
src/wechaty/user/room.py26 symbols
src/wechaty/user/contact.py26 symbols
src/wechaty/user/url_link.py20 symbols
src/wechaty/user/room_invitation.py14 symbols
src/wechaty/user/friendship.py14 symbols
tests/accessory_test.py13 symbols
src/wechaty/user/mini_program.py13 symbols
src/wechaty/schema.py13 symbols

Dependencies from manifests, versioned

pyee11.0.0 · 1×
pylint2.17.7 · 1×
pytest-asyncio0.18.3 · 1×
semver3.0.0.dev3 · 1×
setuptools63.2.0 · 1×
urllib31.26 · 1×
wechaty-puppet0.4.19 · 1×
wechaty-puppet-service0.8.9 · 1×

For agents

$ claude mcp add python-wechaty \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact