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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a963950b5af0dbeb8368fc286211f5ef85a067f90d7d632bd19748a49bc5986f |
|
MD5 | 638ef071a8dedcf2800d2ef04c33263a |
|
BLAKE2b-256 | c29d98b1718b637d432ad08e821dbc7de316d51aa7e0c266b73b0a443ab05608 |
Close
Hashes for wechaty_puppet_hostie-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56454477157bb6b2a97663be6434a89b4fe8303532f42fcb85c063aebe0dfcc1 |
|
MD5 | e052c908579219917f4dc326fc94042a |
|
BLAKE2b-256 | 0cbe54860f5011062a74afa02d8971ac468b50d052aab793aa7460ad026e4bd5 |