Skip to main content

通过微信发送自己实验的结果

Project description

ResPusher

通过微信发送实验的结果

目前实现的方式有

  1. Server 酱

  2. WxPusher

安装

  1. 通过官方源安装
pip install ResPusher -i https://pypi.org/simple
  1. 下载 github 库
cd ResPusher
pip install .

使用

Server酱

image-20240113170246096

微信搜索 方糖 关注公众号,或者前往官网链接进行登录关注公众号

登录成功后会获得 SendKey(必需)

image-20240113170552577

代码调用示例

from ResPusher import *

res = ServerChan(key="serverchan sendkey").send_message(title="实验结果", content="结果远超当前 sota 值")
print(res)

结果展示

image-20240121224836556

WxPusher

通过Wxpusher 管理后台链接微信扫码注册进入后台

具体步骤:[注册并且创建应用]

image-20240113190944113

image-20240113190955690

appToken 和 UID 是必需的参数

代码调用示例

from ResPusher import *

res = WxPusher(apptoken="wxpusher apptoken", uids=["wxpusher uid"]).send_message(title="实验结果", content="结果远超当前 sota 值")
print(res)

结果展示

image-20240121224916611

接口代码来源

serverchan-demo

wxpusher-sdk-python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ResPusher-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

ResPusher-0.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page