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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ddba869dcda05f7ccc904433f9cfe10a343fc43980ad3003c111825294762b6 |
|
MD5 | 9ea4b17b12def6e782a697b834cc4a3e |
|
BLAKE2b-256 | 86a25bb0c80f465d96dd44692bedf52ad2ad52f56654161528a63ad1cb0dc787 |
Close
Hashes for wechaty_puppet_hostie-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc10d1ae0c03bb789f31b2f83e4a7abef855307da8fa4338df6ec0b157698042 |
|
MD5 | 298009060482cfeff226a9bf5f33410b |
|
BLAKE2b-256 | 13e8ff3ff5befa656f884fbf17c8243ae100044ecf4a9d0defa38c7922d95a34 |