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.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8202d242e22ec2231e80b66a5e8473aba7393a43f13bc7509fb2c4f6bd2dc2 |
|
MD5 | 5a8f09513183f5688bd6fdae286e5507 |
|
BLAKE2b-256 | e985c8adda85de90c34946f7be81b38c50cac5f45153c9fe344aa2e4c47b93e8 |
Close
Hashes for wechaty_puppet_hostie-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da86899357b7933a3b236013a57195185fbe894b4e6191c9e5558d107eedbfd |
|
MD5 | 2166602e39d597f5f64375ab0bc74256 |
|
BLAKE2b-256 | 2d5b4a342501ceb848bfd0a42bba9d4f37bdcb4d30cc93efa827abe280f9cc8f |