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.5.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd371585383108eaba5762721595c95045fbec6c66e07fb39d3352ba85a7b09 |
|
MD5 | 44a6836a12c0ebf35e9cf627977f929f |
|
BLAKE2b-256 | 7d0d86b6ecff62714f7082ed50daeae032cc72b3bb0655310eff4d9aabebc69e |
Close
Hashes for wechaty_puppet_service-0.5.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06395306c903b6f73ccf42c1384b5106732d01102309e81c249cda145c11530e |
|
MD5 | 94e1a9f6f56c4e4dce690bff7e7dc65e |
|
BLAKE2b-256 | ca877d0943419d8ffcfbc3aa8b0fda1ed52b948fa6df31104cbf3abfe350ce5a |