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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5743065a57f4d26bf6c86edcd21ecd2731bb41d9d57d9aba6a447d79855c90 |
|
MD5 | 35896ce6e9b6eb916eae1e64b1a03f60 |
|
BLAKE2b-256 | 2cdf21ebc40a8b6ec2e1db3530af25da2a33078e77af8f8a0769bb52ba0cdf86 |
Close
Hashes for wechaty_puppet_hostie-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d7e9c9c3daf6a0ff6165b55c025ac845dd2864e448dbdb9e9eb0e9504ecc03 |
|
MD5 | 2e5119cd70f845f58a2ba71532f3cf57 |
|
BLAKE2b-256 | 6890bfe3aae2868d44c0c34dba1426184f586aea0c85e810268df197239b6826 |