PushX
One-Stop Python Push Solution.
Introduction
Python-based Aggregate Push Module
Supported Push Providers
- Ntfy
- ServerChan3
- ServerChanTurbo
- And more...
Install
pip install pushx
Usage
The docs is here, you can also refer to the Examples below.
Examples
Example 1
from pushx import Notifier, providers
n = Notifier(providers.ServerChan3, sendkey="666",uid=2233)
n.notify(title="test title",desp="test content")
# content/message=("content") is also fine
Example 2
from pushx import Notifier, providers
n = Notifier(providers.Ntfy, topic="233233233")
p = providers.Ntfy.NotifyParams(
title="test title",
message=("test message"), # content=("test message") is also fine
tags=["tag1", "tag2"],
priority=5,
markdown=True,
actions=[
{
"action": "view",
"label": "Open portal",
"url": "https://home.nest.com/",
"clear": True,
},
{
"action": "http",
"label": "Turn down",
"url": "https://api.nest.com/",
"body": '{"temperature": 65}',
},
],
click="https://illustar0.com",
)
n.notify(p)
Metadata
Release files for pushx 0.4.0
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 |
|---|---|---|---|---|
| pushx-0.4.0.tar.gz | 4.7 kB | Without provenance | Details for pushx-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pushx-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pushx-0.4.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / pushx-0.4.0.tar.gz
| Download URL | pushx-0.4.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e15b61772c69ce3f62deaf45c12f24463ef98fdac0ef065f82ba427566cf76ea
|
|
BLAKE2b-256 checksum How to use checksums |
f17eada0064f05472c4fdf14085145f82416b4fe34cc28a014270b16084f3205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
|
Release files / pushx-0.4.0-py3-none-any.whl
| Download URL | pushx-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90a870aab9116f4a6357b17f0cdd77eac99bdde455af7d9704e0452220b67cb
|
|
BLAKE2b-256 checksum How to use checksums |
fdc1595d5030b8513e4dec85edd4b055326a9f8bf2ba836c1f68f4b5b5f98ecf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
|
Security for pushx 0.4.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.