Python Service Puppet for Wechaty
Project description
wechaty-puppet-service

Python Service Puppet for Wechaty
Features
- Consume Wechaty Puppet 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
or you can use TOKEN or token environment variable alias name to set token, for example:
TOKEN=secret python bot.py
# or
token=secret python bot.py
History
master
v0.7 (Mar, 2021)
Rename from wechaty-puppet-hostie -> wechaty-puppet-service
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wechaty-puppet-service-0.8.10.tar.gz.
File metadata
- Download URL: wechaty-puppet-service-0.8.10.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7709e8b8a5b5a2f234d6dfb4ca47d577f27f9bcd2168acfa48bedaf281594c43
|
|
| MD5 |
1a7bd27beaf2c9ce577b80a7bcc491af
|
|
| BLAKE2b-256 |
7dfeff47d2dee99e6f01056445b82fed12fca84729a793bf33cc7c793c25436f
|
File details
Details for the file wechaty_puppet_service-0.8.10-py3-none-any.whl.
File metadata
- Download URL: wechaty_puppet_service-0.8.10-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10a1f2c3b3f958f648485a188b8774fcd02620a850e7dbd5e215cd1479ac0673
|
|
| MD5 |
fbfb29823a11b73b883b2ac7d3e384af
|
|
| BLAKE2b-256 |
d0306c6b447a0945e4566e8fde40f5c701c1ab9dbbfaa5e20a8c799852e15c17
|