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.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a198e4478abee114f839843cb997d9c5a3aebb3fa72573a7b09274c5a93448 |
|
MD5 | 62c1bd2773756f567edc304a98348212 |
|
BLAKE2b-256 | 22b4770416303d9a77276bc1ade89e5740f68b60a6ff25961a898b1af1bddfe9 |
Close
Hashes for wechaty_puppet_service-0.7.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f58bf805c1fb77658aedccd7c273325491f69511eeca3cd5ea0a36493a67175b |
|
MD5 | deb37c2c2ebda3d06894ad6e287af126 |
|
BLAKE2b-256 | 381c48dce6b622febce0503b7ca3a1aacf1f2460bef81f6321e6632a4bc3b915 |