Python Service Puppet for Wechaty
Project description
wechaty-puppet-service
Python Service Puppet for Wechaty
Features
- Consume Wechaty Puppet 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.7 (Mar, 2021)
Rename from wechaty-puppet-hostie
-> wechaty-puppet-service
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.dev5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c80825b286b313f140d5ecefeaaf2477ff43c42d2660ed79ce9d67c04c086b |
|
MD5 | c847b48795c66ed4092d3684b110d006 |
|
BLAKE2b-256 | 678f932b5175e31691efcea93a464e4563af6e6202f00b1aae62215dc59fe43e |
Close
Hashes for wechaty_puppet_service-0.7.dev5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9ede2042526cd95687f7ff5f2a1cdea28c901599649ff0a7c82d74b88cec5b |
|
MD5 | 0b6532843fb028dc35301ed54ac593fa |
|
BLAKE2b-256 | 3c48004f7ea4b8b4907a7905364c789988dbafeb196cd056f3b7cc45ed27d42b |