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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a2cd2e3eeb413e3e7aef3a317ed0fb8da71ad5ee97b745d8f4da0dedd041195 |
|
MD5 | 35a16531051c4887259e4599f2e1d243 |
|
BLAKE2b-256 | bf777e4dcf467ae58dc54e3d9d6ab5de20217f54766336179af5007b2f753294 |
Close
Hashes for wechaty_puppet_hostie-0.2.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9ede680497e3a2c8adaa9dd804ad6a428ded1bac27f0fffc6a0c7e54f5adef |
|
MD5 | 1ae473c753ab633a899d1fdf8939877c |
|
BLAKE2b-256 | 7187e1840778ba9ed6abe9e6c2d74e17c551d2698e4085e6b0497bf9fc26d6fe |