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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6490b2bb7e740a9a3c9e3344eca8003b0688ddb303e6ab29bcc5ea2f1afd4237 |
|
MD5 | 867af7588d8df8d3711380c4e77eabe6 |
|
BLAKE2b-256 | cabc4821f8f0526cf28e802886865c3b2182bc39e6808803819acd181f42ea5b |
Close
Hashes for wechaty_puppet_hostie-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b454c57a0baf1234a229987fbdbb4da8ce2ec939e821392694b74547ad4416df |
|
MD5 | 83ec0fe9c4f806adde66a828b1a7f703 |
|
BLAKE2b-256 | 539bb066f6af5a6e0f8e680aeb3c6108f9b6ac365a292f55774bf7a52dacc0a9 |