https://github.com/wechaty/python-wechaty-puppet-padplus
Python Hostie Puppet for Wechaty
https://github.com/wechaty/python-wechaty-puppet-padplus
Last synced: 10 months ago
JSON representation
Python Hostie Puppet for Wechaty
- Host: GitHub
- URL: https://github.com/wechaty/python-wechaty-puppet-padplus
- Owner: wechaty
- License: apache-2.0
- Created: 2020-07-07T02:35:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T02:50:45.000Z (about 6 years ago)
- Last Synced: 2025-06-06T10:11:36.904Z (about 1 year ago)
- Language: Python
- Size: 24.4 KB
- Stars: 7
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-wechaty-puppet-padplus [](https://www.python.org/downloads/release/python-370/) [](https://github.com/wechaty/python-wechaty-puppet/actions?query=workflow%3APyPI)
[](https://github.com/wechaty/wechaty)
[](https://pypi.org/project/wechaty-puppet-hostie)

Python Padplus Puppet for Wechaty
## Features
1. Consume padplus service
## Usage
```python
import asyncio
from wechaty import Wechaty
from wechaty_puppet_padplus import PadPlusPuppet
bot = Wechaty(PadPlusPuppet("your-token-here"))
bot.on('message', lambda x: print(x))
asyncio.run(bot.start())
```
## Environment Variables
### 1 `WECHATY_PUPPET_PADPLUS_TOKEN`
The token set to this environment variable will become the default value of `puppetOptions.token`
```sh
WECHATY_PUPPET_PADPLUS_TOKEN=secret python bot.py
```
## History
### master
### v0.0.1 (July 8, 2020)
1. Init Python version
## Author
[JingJing Wu](https://github.com/wj-Mcat) ([吴京京](https://github.com/wj-Mcat)) 1435130236@qq.com
## Copyright & License
* Code & Docs © 2020-now JingJing Wu 1435130236@qq.com
* Code released under the Apache-2.0 License
* Docs released under Creative Commons