Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eric-seekas/python-wechaty

Repository files navigation

python-wechaty

Python Wechaty

WORK IN PROGRESS

Work in progress...

Please come back after 4 weeks...

CONNECTING CHATBOTS

Wechaty is a Bot SDK for Wechat Personal Account which can help you create a bot in 6 lines of Python.

VOICE OF THE DEVELOPER

"Wechaty is a great solution, I believe there would be much more users recognize it." link
-- @Gcaufy, Tencent Engineer, Author of WePY

"Tai Hao Yong ,Hao Yong De Xiang Ku "
-- @xinbenlv, Google Engineer, Founder of HaoShiYou.org

"Zui Hao De Wei Xin Kai Fa Ku " link
-- @Jarvis, Baidu Engineer

"WechatyRang Yun Ying Ren Yuan Geng Duo De Shi Jian Si Kao Ru He Jin Xing Huo Dong Ce Hua , Liu Cun Yong Hu ,Shang Ye Bian Xian " link
-- @lijiarui, CEO of BotOrange.

"If you know js ... try Chatie/wechaty, it's easy to use."
-- @Urinx Uri Lee, Author of WeixinBot(Python)

See more at Wiki:Voice Of Developer

The World's Shortest Python ChatBot: 6 lines of Code

from wechaty import Wechaty

Wechaty.instance() // Global Instance
.on('scan', lambda qrcode, status : print('Scan QR Code to login: {}\nhttps://api.qrserver.com/v1/create-qr-code/?data={}'.format(status, encodeURIComponent(qrcode))))
.on('login', lambda user: print('User {} logined'.format(user)))
.on('message', lambda message: print('Message: {}'.format(message)))
.start()

REQUIREMENTS

  1. Python 3.6 or above

INSTALL

pip3 install wechaty

USAGE

WIP...

SEE ALSO

AUTHOR

Huan LI <zixia@zixia.net>

COPYRIGHT & LICENSE

  • Code & Docs (c) 2018 Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

About

Python Wechaty

Resources

Readme

License

Apache-2.0 license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 73.6%
  • Makefile 26.4%