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.2.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665dbbe86fc8be9c31987effa02f1883a6066662dd8b9a89ffa9b85f4a660060 |
|
MD5 | c2f36926f214194e8af5b67d643cef4c |
|
BLAKE2b-256 | 377c35b91415d29428621bd9d23d340e274bf6990005377762cf00116f7017e1 |
Close
Hashes for wechaty_puppet_hostie-0.2.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45af23fd74d5cbc7fd2a6383c3b1c6067c44fe2580ccd53724e3eb350a9d504e |
|
MD5 | 8aea819a886f95e3c08bfbdf3907f5d5 |
|
BLAKE2b-256 | 0c172234ef3ecfb68a306ca6472bc95614d92cfe03b4d6fed013f2859a4fcf31 |