Python Hostie Puppet for Wechaty
Project description
wechaty-puppet-hostie
Python Hostie Puppet for Wechaty
Features
- Consume hostie service
Usage
import asyncio
from wechaty import Wechaty
from wechaty_puppet_hostie import HostiePuppet
bot = Wechaty(HostiePuppet("your-token-here"))
bot.on('message', lambda x: print(x))
asyncio.run(wechaty.start())
Environment Variables
1 WECHATY_PUPPET_HOSTIE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
WECHATY_PUPPET_HOSTIE_TOKEN=secret python bot.py
History
master
v0.0.1 (Mar 10, 2020)
- Init Python version
- Published to PyPI
Author
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-hostie-0.2.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f09e66f5e4c4e89366ff2f385ae6c000770ef38c5c2478e6029ceb7638b107d |
|
MD5 | 8085749cd9bb74389b6b608450c18103 |
|
BLAKE2b-256 | f95a7fc6dbb933fd52e1502078552517fe635ccd8d63a8dd89527834651870b7 |
Close
Hashes for wechaty_puppet_hostie-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f701374cc588305cc46a90265fe4ef4724a53959de5f766c04f0acdfed5ddbc |
|
MD5 | e82afe51ea3afcf4a2b907989e9c1d9b |
|
BLAKE2b-256 | 9a157ce7b4971b151e8412617785006a94590472922dfe11f3d336e6dfe01dc1 |