Python Service Puppet for Wechaty
Project description
wechaty-puppet-service
Python Service Puppet for Wechaty
Features
- Consume Service service
Usage
import asyncio
from wechaty import Wechaty
from wechaty_puppet_service import PuppetService
bot = Wechaty(PuppetService("your-token-here"))
bot.on('message', lambda x: print(x))
asyncio.run(bot.start())
Environment Variables
1 WECHATY_PUPPET_SERVICE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
WECHATY_PUPPET_SERVICE_TOKEN=secret python bot.py
History
master
v0.0.1 (Mar 10, 2020)
- Init Python version
- Published to PyPI
Authors
- @wj-Mcat - Jingjing WU (吴京京)
- @huan - (李卓桓) zixia@zixia.net
Copyright & License
- Code & Docs © 2020-now Huan LI <zixia@zixia.net>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for wechaty-puppet-service-0.7.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831f3a670e23029a54b4d2f3f7ece74956313be72466080bfa7f1da08157c6bb |
|
MD5 | 34161d54273de2337a9d8144470be77f |
|
BLAKE2b-256 | 120ed9a515ef2fa6e25eccc0755770aeda056dcabd2a5a24f4f9b5dddb1d5072 |
Close
Hashes for wechaty_puppet_service-0.7.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dbb59fef1117368c5d6d0b88c770467b1d46bcecc631533873269d0c19ebebf |
|
MD5 | af906e5f267c90a9f843cb5223641c04 |
|
BLAKE2b-256 | 80a79748e650d7dc9fc87a8159cee4c1c8a5358f51e69aae9deea576344a11ba |