lightpush
这是对ServerChan 和 PushBear服务的一个简单封装,能够通过微信向用户或用户组推送消息提醒。
适用的场景有异常警报、事件提醒、消息推送等。之所以做这个封装是因为py里每次调用requests有点丑 :)
This is a simple package for ServerChan and PushBear.
ServerChan and PushBear are free services for you to push notifications to WeChat.
lightpush is a simple wrapper for those services.
You can install lightpush by
pip install lightpush --user
And it is very convenient to use lightpush (like ServerChan)
from lightpush import lightpush
lgp = lightpush()
# For ServerChan
lgp.set_single_push("Your Key")
lgp.single_push("Hello World","This is a msg from lightpush.")
# For PushBear
lgp.set_group_push("Your Key")
lgp.group_push("Hello World","This is a msg from lightpush.")
Metadata
Release files for lightpush 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lightpush-0.1.3.tar.gz | 2.3 kB | Without provenance | Details for lightpush-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lightpush-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for lightpush-0.1.3-py3-none-any.whl |
Total release size: 4.7 kB
Release files / lightpush-0.1.3.tar.gz
| Download URL | lightpush-0.1.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60c0327a85f3638dee0b716c20cd2a3022eddbc1ee69d01a8947be9dc72aa964
|
|
BLAKE2b-256 checksum How to use checksums |
9b06bd915ffbcb4026d7b5691d2a61d7f1c51ec0fa96cf5e660c41c1289bddde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13
|
Release files / lightpush-0.1.3-py3-none-any.whl
| Download URL | lightpush-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c92176e128229d876babbee1cc88fae3e8a56b1b6ed40b1b828b4526d9ea7a0b
|
|
BLAKE2b-256 checksum How to use checksums |
cd92234f0584cbe490ce269432043fda2bceda83ca329fc5fa463bbb2d19c2c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13
|
Security for lightpush 0.1.3
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.