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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9965eca862fb0c65a261b72d0357b6f0746a3fec02e0cd49c86e359f33f53339 |
|
MD5 | 31e95cf76b5ec32622c6262a45bc3bed |
|
BLAKE2b-256 | d56849f66213d159049ad5146b07236a81307035bd461232ea456b0292084f97 |
Close
Hashes for wechaty_puppet_hostie-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852c81be2581af7235f2af0ed31dc76efe29122e4aceebdd51fe2ff8bfc93734 |
|
MD5 | 057ee16ba4f427bab3d41e38f114b3bf |
|
BLAKE2b-256 | 49498eacf56e2303e1474cc7c790e2fca3b93b8b504d4ec8d08280be6aebe289 |