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.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1cc7567db5af56624570ea9f1d32c474ef9a24dd0c1c8420e4ac78218310541 |
|
MD5 | 31340af20036d568f00cb96c538db098 |
|
BLAKE2b-256 | 41a34dc8a68247d288b827e2311d18de06ef141defcaf08c2eab31bab9cb97d5 |
Close
Hashes for wechaty_puppet_service-0.7.dev4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1907ba487fd599b40229c42de52a2aac00ad19b351551f988f476696706008b0 |
|
MD5 | b601ebb906a8ee7cd524fc53c2b337c0 |
|
BLAKE2b-256 | 958d26a2b94f489868b19b8029ed438a045de00d853257755356ffd236379e5a |