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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e3c3758d55662cd3fcacab482096eccaba6d1515aeca00e21b8b06bd9a61dcf |
|
MD5 | b8a7f4e81b3faac9328a890c75f1fffe |
|
BLAKE2b-256 | f2544006a888393590d1e50eab029e279fab7ccb5474d41e4554a8d177b4603e |
Close
Hashes for wechaty_puppet_hostie-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8b330b20069481e1d7465bc05bc1730447967b200e3675b1e18c414c52c96b |
|
MD5 | bf5c8a3f560ed147e42be321b47ca2b1 |
|
BLAKE2b-256 | 3e4e034671afdc615f481f7c87eca3c657b2fbbd0498dfff9bd2c35545f18a98 |