Python Service Puppet for Wechaty
Project description
wechaty-puppet-service
Python Service Puppet for Wechaty
Features
- Consume Service service
Usage
import asyncio
from wechaty import Wechaty
from wechaty_puppet_service import PuppetService
bot = Wechaty(PuppetService("your-token-here"))
bot.on('message', lambda x: print(x))
asyncio.run(bot.start())
Environment Variables
1 WECHATY_PUPPET_SERVICE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
WECHATY_PUPPET_SERVICE_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-service-0.7.dev0.tar.gz
.
File metadata
- Download URL: wechaty-puppet-service-0.7.dev0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56c8dedfcfb58e6275458a2cfd6d057d585d3bda2d0e07bcce1cf13e94330cd |
|
MD5 | 8440ccf01c70da164d07636d5f727c59 |
|
BLAKE2b-256 | 1d0d2ec270337d30e2cec3c47bd6f14ff60c4dcadd6dd7cd7e97d4d3fa06d136 |
File details
Details for the file wechaty_puppet_service-0.7.dev0-py3-none-any.whl
.
File metadata
- Download URL: wechaty_puppet_service-0.7.dev0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147deb6c7e7ed38b8d7d94decee939ab241afe9b11d33fab065f024558f01331 |
|
MD5 | 34195c72af52df88e81cbccdee838fbb |
|
BLAKE2b-256 | 2dcd9e90490ffb60dba2385ee434880760350ad95e62ea9ad1dcad5472446271 |