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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2590e094098d49e49b1be7f103899fafa7c06d3161c332197f12996d5d1c48b1 |
|
MD5 | 674024309bc9e93d019dc0df28174a08 |
|
BLAKE2b-256 | 326beb067cefdcf35bd086dede114b4934c47ad05e5d466cb8140a6e13ee16a1 |
Close
Hashes for wechaty_puppet_hostie-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0e04516be157bded99422e01a8411f08b9cebbc8193531a20ad3add3455631c |
|
MD5 | ccd818c8f807a0074fd426a2af531626 |
|
BLAKE2b-256 | db76b8c5a6494825fe9a5d6a64ddb401c95840dc986a2588cd5aff91594a1008 |