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.dev8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d54065a0b8e53560cb7ff5dc0014b81a9fb2f26b800f4c0788a3706dee8679 |
|
MD5 | 61fe9ad8e9c4cc73aebc2f636cfcbb47 |
|
BLAKE2b-256 | d6a4326efccd4bd93eb9abbb0fb27705888b1ead6e67b63b69601453464873d0 |
Close
Hashes for wechaty_puppet_service-0.7.dev8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d6f43c923c755faa3419d3dfa8303fd058491ed35a479b8f6c26ac4e479c5aa |
|
MD5 | 2d5f5319f3de2d906c7acf47396f77cd |
|
BLAKE2b-256 | 2258eca145ed3899e9391c810e1c8d704c966fd49e171aea64e3f518240e53c7 |