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.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03735834d3f296bb8fed00cd26b0e751299544c75cae7983f73f8bb559f2e120 |
|
MD5 | d52ebcc53e8b53939b8cb3605dee9ce5 |
|
BLAKE2b-256 | 802341e1b09ad29843b5be6d90a57beddeabe2fd6890a278c8b5f4a64bb6ea50 |
Close
Hashes for wechaty_puppet_hostie-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ffc70cb195a1473e81e0b0dc7acfbc77d300b57ecfdaa33171e809437e9ab7 |
|
MD5 | 4a617eeb40d11f154a0ba506809c5db5 |
|
BLAKE2b-256 | 02d7021e806b0d270f94d6d972c67c2107abab55f9e246ad2b609a646c634f22 |