# wechaty-puppet-service [![Python 3.7](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-370/) [![PyPI GitHub Actions](https://github.com/wechaty/python-wechaty-puppet-service/workflows/PyPI/badge.svg)](https://github.com/wechaty/python-wechaty-puppet/actions?query=workflow%3APyPI)
[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/wechaty/wechaty)
![Service](https://wechaty.github.io/wechaty-puppet-service/images/hostie.png)
[![PyPI Version](https://img.shields.io/pypi/v/wechaty-puppet-service?color=blue)](https://pypi.org/project/wechaty-puppet-service)
![PyPI - Downloads](https://img.shields.io/pypi/dm/wechaty-puppet-service?color=blue)
Python Service Puppet for Wechaty
## Features
1. Consume Wechaty Puppet Service
## Usage
```python
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`
```sh
WECHATY_PUPPET_SERVICE_TOKEN=secret python bot.py
```
or you can use `TOKEN` or `token` environment variable alias name to set **token**, for example:
```shell
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)
1. Init Python version
1. Published to PyPI
## Authors
- [@wj-Mcat](https://github.com/wj-Mcat) - Jingjing WU (吴京京)
- [@huan](https://github.com/huan) - ([李卓桓](http://linkedin.com/in/zixia)) 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
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共16个文件
py:7个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:wechaty-puppet-service-0.8.3.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
wechaty-puppet-service-0.8.3.tar.gz (16个子文件)
wechaty-puppet-service-0.8.3
PKG-INFO 3KB
LICENSE 11KB
src
wechaty_puppet_service
puppet.py 37KB
utils.py 1KB
version_test.py 268B
__init__.py 155B
config.py 1KB
version.py 18B
wechaty_puppet_service.egg-info
PKG-INFO 3KB
requires.txt 42B
SOURCES.txt 505B
top_level.txt 23B
dependency_links.txt 1B
setup.cfg 38B
setup.py 2KB
README.md 2KB
共 16 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 高性能量化工具 hikyuu 2.0.3 python3.9 ubuntu 安装包
- Cyclone Version 9.51
- 高性能量化回测工具 hikyuu 2.0.3 python 3.12 windows 安装包
- 省级城乡居民基本养老保险情况数据集(2010-2022年).xlsx
- 舞队填写版.cpp
- 基于BP神经网络的多输入单输出回归预测.zip
- 高性能量化回测工具 hikyuu 2.0.3 python 3.9 windows 安装包
- 省级城镇职工基本养老保险情况2000-2022年.xlsx
- 高性能量化回测工具 hikyuu 2.0.3 python 3.10 windows 安装包
- 算法部署-使用OpenVINO+C#部署PaddleOCR字符识别算法-项目源码-优质项目实战.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功