Skip to main content

WxPusher

PyPI version PyPI license Python Versions Downloads

WxPusher Python SDK.

其他语言版本: English, 简体中文.

入门指南

安装

pip install -U wxpusher

使用

from wxpusher import WxPusher
WxPusher.send_message('<content>',
                      uids=['<uids>'],
                      topic_ids=['<topic_ids>'],
                      token='<appToken>')
WxPusher.query_message('<messageId>')
WxPusher.create_qrcode('<extra>', '<validTime>', '<appToken>')
WxPusher.query_user('<page>', '<page_size>', '<appToken>')

运行测试

配置

运行测试需要配置好 appToken 和 uids。

首先,将 wxpusher/tests/ 文件夹下的配置样例 config.sample.py 复制并命名为 config.py。

cd wxpusher/tests
cp config.sample.py config.py

然后,填写 config.py 中的相应信息。

启动测试

配置好后就可以使用 tox 来运行测试了。

tox

或者直接使用 nose 也可以

nosetests

TODO

  • 基本架构并上传到 PyPI
  • 发送消息.
  • 查询消息.
  • 创建二维码.
  • 查询用户.
  • 更完备的客户端验证.
  • 命令行脚本.
  • 更完善的文档.
  • 更完备的单元测试.

贡献

  • 通过 Github Issues 提交评论或建议。
  • 直接提交 Pull Requests 必须没问题。

Metadata

Release files for wxpusher 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wxpusher 2.3.0
File Size Uploaded Provenance Actions
wxpusher-2.3.0.tar.gz 12.0 kB Without provenance Details for wxpusher-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wxpusher 2.3.0
File Interpreter ABI Platform Actions
wxpusher-2.3.0-py3-none-any.whl Python 3 none any Details for wxpusher-2.3.0-py3-none-any.whl

Total release size: 23.3 kB

Release files / wxpusher-2.3.0.tar.gz

Download URL wxpusher-2.3.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc6eb319cfcfc8c9694914cf03a951c6fffc464ab8b90bc4a575c8ce26b17d00
BLAKE2b-256 checksum
How to use checksums
c00cdc71bb71819df155a87d51cd7b2243e39aa5245a868628745c9bc818bfe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / wxpusher-2.3.0-py3-none-any.whl

Download URL wxpusher-2.3.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5a9a3c9dc3b605c2dfed985d680cb24d28674ccf5b2c2745218d79598db49fb
BLAKE2b-256 checksum
How to use checksums
1bf1b29bbe246dbd8a1fd14b73c384f477c46c3ee150b1eb8502276b5d2f8af7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for wxpusher 2.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page