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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac521e463473fa261a4c636802272bbfb96b81e927cd797b1ff4ed4dc39baa2 |
|
MD5 | 5ce18ac14c666d2810b472cea48bc7f8 |
|
BLAKE2b-256 | eb55b70976f102efa05b1f0c024f0c05a547679647e2d511bca36cb5fa605e3f |
Close
Hashes for wechaty_puppet_hostie-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 380e1a3a7b1078cd45e7a4f0ec96f4f4d31271121f88807f42f6abcf6e9d57c5 |
|
MD5 | 0ec0ef4d20c8f6ef3d5e92a7c245d119 |
|
BLAKE2b-256 | 763a99f8207ca5b7f0c98483d3498d0e99259aa0c5d1de97fdf9033a8f6c6058 |