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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312fd45865e1a2ef73085267d4260ca92d490b148ea48c9e894583914e172d2e |
|
MD5 | 9c939f96910533ba12092df9dce7efc2 |
|
BLAKE2b-256 | d8e37a10fa6f8ddf270ca42c07fdcaa7d62e24a36cb4e555334280700e51dc7a |
Close
Hashes for wechaty_puppet_hostie-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b2052b9045c1838f3ebc5adb3cfc5e2aef9abbd91fb387187b880842dbbc76 |
|
MD5 | cfac78cd71935fe10e0346d0cc7e082e |
|
BLAKE2b-256 | 10dda3fcd878cb917d2cc23e5a9376a715546bde24b7e35a0791bfce29ffa41d |