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.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652c2471cf3abe30e66dc2799571d3911138c2e6f070a1969f00a41cd4c46d37 |
|
MD5 | fc83a4b230e7f86ba0b3b84c22e5accf |
|
BLAKE2b-256 | 5a5495d084f47cb5d109dc4c63859b0f26387c52217d4093f548276008affa0d |
Close
Hashes for wechaty_puppet_service-0.7.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 369b8ee43ec31587dc50238547d169a0505fc7357e0ced5897be0d266fe5b5ae |
|
MD5 | 337053f2663bdecc7f6fe20f7849bd8d |
|
BLAKE2b-256 | 0db9c18572f288f530bbcdb918131651b10f4cddfeb62976145f979abf5dbae4 |