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
File details
Details for the file wechaty-puppet-hostie-0.4.1.tar.gz
.
File metadata
- Download URL: wechaty-puppet-hostie-0.4.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649739b0782564c34ccc6d35f3bea1277d52955681e91df6b3fe0ae8f0e3bccc |
|
MD5 | 79a28b8436359734d5e17ddc4cf4aa48 |
|
BLAKE2b-256 | da5b76a6c7d429d9ccc0993c483f6fce06fe0b771dd41298bc10ca23cc8f1fa0 |
File details
Details for the file wechaty_puppet_hostie-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: wechaty_puppet_hostie-0.4.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6150a45c1952ee46653012fc5b7ddd59891b4fc26cd05ebcd1d1ea355a0c5773 |
|
MD5 | 8a72fd8c1fef45645bb8a7d1c6399a06 |
|
BLAKE2b-256 | c853607a9e6d334c838ddbcb987020b3c55b2fd38b99eb969326a665966a5328 |