Pushit
Send Pushover notifications.
Install
pip install lupaxa-pushit
pushit --help
CLI
pushit --user "$PUSHOVER_USER_KEY" --token "$PUSHOVER_API_TOKEN" --text "Hello"
pushit --profile alerts --text "Hello"
pushit -p alerts --config "$HOME/work/pushit.yml" --text "Disk full"
pushit --profile alerts --text "down" --emergency --group "$PUSHOVER_GROUP_KEY"
pushit --profile alerts --text "see" --title pushit --url https://example.com --url-title Open
pushit --profile alerts --text "see" --attachment report.png --sound pushover --device phone
pushit --token "$PUSHOVER_API_TOKEN" --sounds
python -m lupaxa.pushit --version
--text is the message. --emergency and --group may be combined
with it. --sounds cannot be combined with a send. The $PUSHOVER_*
names are shell variables expanded before pushit runs; pushit does not
read environment variables.
Config
Profiles live in $HOME/.pushit.yml. Pass --config to use another
file; --config requires --profile.
profiles:
alerts:
user_key: USER_KEY
api_token: API_TOKEN
title: pushit
url: https://example.com/alert
url_title: Open
sound: pushover
device: phone
priority: 0
timeout: 15
retry: 30
expire: 3600
Library
from lupaxa.pushit import Pushit, load_profile
profile = load_profile("alerts")
client = Pushit(
profile.api_token,
user_key=profile.user_key,
timeout=profile.timeout or 10.0,
)
body = client.send_message(
"disk full",
title="pushit",
priority=2,
retry=30,
expire=3600,
group_key="GROUP_KEY",
)
client.list_sounds()
Development
make init
make python-install-dev
make python-check
Documentation
Site pages live in mkdocs/ and publish to
https://pushit.thelupaxaproject.org/.
make init
make python-install-dev
make mkdocs-serve
Release files for lupaxa-pushit 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_pushit-0.1.2.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_pushit-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / lupaxa_pushit-0.1.2.tar.gz
| Download URL | lupaxa_pushit-0.1.2.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6194c7b6ed272bc82c5a6fa36cd64d23ef5d6fd5716b82de0df5dc874ddcb093
|
|
BLAKE2b-256 checksum How to use checksums |
dacb7aa6714208f53acf5c8970c9174ddc4d4ef03370b0c8701cf7f25fc1607e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / lupaxa_pushit-0.1.2-py3-none-any.whl
| Download URL | lupaxa_pushit-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fa4941bdfa6d984175646eacd374432d055d801c3fd71c3db07f90052cf416f
|
|
BLAKE2b-256 checksum How to use checksums |
520fd30f8e2e312c559acc382a3f5007be8c03bedd8c901129301e9d99fe7c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log