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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ccb5edd9d501346082b87d6bafcd1963989597f42aae2ed5b6034d9728de6a0 |
|
MD5 | 435cc7b626e01f1ca5e599cf6a22f5f9 |
|
BLAKE2b-256 | a6ba48f7cb74d68f756d01f2ea6384187df3fc56e15970a61b5ac62dfcaef4f8 |
Close
Hashes for wechaty_puppet_hostie-0.2.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ad8d30538e50f4f723ed89a4ecf66295e9222bef2d49a8482d4c08c8fc8adae |
|
MD5 | 0c5aac492d2dbf61db20b7493db858ce |
|
BLAKE2b-256 | 213b0bae83fea1ffd5b5669421aff9f7ff373597c304d02c9d26c57a1b21da20 |