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
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-hostie-0.3.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5864dc97cd427af3dd1ed0ce2afe3a0c0edcaede464467a28b6f50bc649e7207 |
|
MD5 | 4cd501493b9e7b5eb4ab89cf4ab76eac |
|
BLAKE2b-256 | fe2c2bc4163f36ff22a0bd9a2d22c07bfaf01aaebd018af07fd517dca443c17e |
Close
Hashes for wechaty_puppet_hostie-0.3.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6489c214adb79d60d8d2be879aacc96a698c301c562102a0c4cf4214cbe0d808 |
|
MD5 | cf019126ddd0fa950135c92ba182a975 |
|
BLAKE2b-256 | c409799b8d1097a4369d37ae593caf70dff968a5ed6daa99ca791b5497b725c9 |