pypushdeer
PushDeer SDK for Python.
install
pip install pypushdeer
Usage:
1. Use pushdeer default server
from pypushdeer import PushDeer
pushdeer = PushDeer(pushkey="your_push_key")
pushdeer.send_text("hello world", desp="optional description")
pushdeer.send_markdown("# hello world", desp="**optional** description in markdown")
pushdeer.send_image("https://github.com/easychen/pushdeer/raw/main/doc/image/clipcode.png")
pushdeer.send_image(
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=")
2. Use self-hosted server
from pypushdeer import PushDeer
pushdeer = PushDeer(server="https://your-server-here", pushkey="your_push_key")
3. Use unique configuration for each message
from pypushdeer import PushDeer
pushdeer = PushDeer()
pushdeer.send_text("hello world", server="some_server", pushkey="some_key")
TODO:
- unit test
- exception handling
- arguments validate
Metadata
Release files for pypushdeer 0.0.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 | |
|---|---|---|---|---|
| pypushdeer-0.0.3.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypushdeer-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / pypushdeer-0.0.3.tar.gz
| Download URL | pypushdeer-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b8e35595a45c4c6247a19761f471c9d5b5c8cad6c5b8e8076c8ca486f29bff6
|
|
BLAKE2b-256 checksum How to use checksums |
b70cb9ff1a3bef64eed4f8b4ca78e3f495c86e2c2900240c37fdb1ed3bf8443b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / pypushdeer-0.0.3-py3-none-any.whl
| Download URL | pypushdeer-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d17317a8109715b6446bb61bc66535e33831b9c8f1be9eddc303d22657cef0c9
|
|
BLAKE2b-256 checksum How to use checksums |
73dc044f0b7187b5d12ba8aaaf677463c6cb3e3d03849c606cb9486c879dd43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for pypushdeer 0.0.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.