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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef83d53d5a2b85d288f52e6bf84bcea2c7906ec1f8424a44ed9ceb715ff6ea46 |
|
MD5 | bcb3327bfaf03b580f0905402c2499d3 |
|
BLAKE2b-256 | 78f376386e43d20a641be1d1b793e009c8aa129b83ee97afa0ef6502048a1f5a |
Close
Hashes for wechaty_puppet_hostie-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7ac07828ab0f5029f23a8a5ceecd853db86b58186c24863e3924a490ee7f948 |
|
MD5 | 01af40c4ab79b9e0471725b530a96c80 |
|
BLAKE2b-256 | bfc92548c72d9797278bccdc7709b1cf5d4cd818cfab62eedce8938965d7e6a3 |