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
Authors
- @wj-Mcat - Jingjing WU (吴京京)
- @huan - (李卓桓) zixia@zixia.net
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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c9e2c87142b2aafec8a76b1e398f07cf1557816b9e47bedac2e3da21b014b3 |
|
MD5 | 6887f7a8340b5d8245f8c5f58446de49 |
|
BLAKE2b-256 | 9af7e8b86a9874d119d0d8ef335d49dc816466154e18c59fde19d5f4e23a2343 |
Close
Hashes for wechaty_puppet_hostie-0.2.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9eda2a8b7952b3c2bbe3ee979e7f7111ed6fdd9c8f117977afbd36558f639e |
|
MD5 | 4e7239f1203db00bc10993782e82376a |
|
BLAKE2b-256 | ce78829597fd3dc90d819cd090a352ad6b6db78a141343605925a79946c2e247 |