A simple notification CLI for Bark and Weixin
Project description
owl-notify
A simple notification CLI for Bark and Weixin.
Installation
pip install owl-notify
Configuration
Create a config file at ~/.owl-notify.toml:
[bark]
server_url = "https://api.day.app"
token = "your-bark-token"
[weixin]
bot_url = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your-key"
CLI Usage
# Send via Bark (default)
owl "Title" "Message"
# Send via Weixin
owl "Title" "Message" --platform weixin
# Use custom config file
owl "Title" "Message" --config /path/to/config.toml
# Show config file path
owl --show-config
Python API
from owl_notify import Notify
# Use default config (~/.owl-notify.toml)
notifier = Notify()
# Or specify config path
notifier = Notify(config_path="/path/to/config.toml")
# Send notification
notifier.send("Title", "Message", platform="bark")
notifier.send("Title", "Message", platform="weixin")
License
Apache License 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file owl_notify-0.1.0.tar.gz.
File metadata
- Download URL: owl_notify-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da7dcb818acd2e06e4b62b40c9ce3634073eac67b9be73cf6e23ec0ffdf3654a
|
|
| MD5 |
1bdd2de9297552d175de9a4c7ef07b49
|
|
| BLAKE2b-256 |
bb3b5714de897ca6586bc502f2bb98524cded2438116b209c4f73b967799f1ef
|
Provenance
The following attestation bundles were made for owl_notify-0.1.0.tar.gz:
Publisher:
publish.yml on liguoqinjim/owl-notify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
owl_notify-0.1.0.tar.gz -
Subject digest:
da7dcb818acd2e06e4b62b40c9ce3634073eac67b9be73cf6e23ec0ffdf3654a - Sigstore transparency entry: 861523296
- Sigstore integration time:
-
Permalink:
liguoqinjim/owl-notify@e2d309df4aa0a91320994c8d7e6cb9744cad43ac -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/liguoqinjim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2d309df4aa0a91320994c8d7e6cb9744cad43ac -
Trigger Event:
release
-
Statement type:
File details
Details for the file owl_notify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: owl_notify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aca09f6879e04f34295ab22902cf8b22734634c529d851aa5f6e19215ddcf7d
|
|
| MD5 |
cf0a9b6b333dd8b1d7271a88846941d8
|
|
| BLAKE2b-256 |
810a44533bb77a163ee6c148535b6014a4e0c20e7b5ba2b7f87e434adb59ff93
|
Provenance
The following attestation bundles were made for owl_notify-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on liguoqinjim/owl-notify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
owl_notify-0.1.0-py3-none-any.whl -
Subject digest:
4aca09f6879e04f34295ab22902cf8b22734634c529d851aa5f6e19215ddcf7d - Sigstore transparency entry: 861523402
- Sigstore integration time:
-
Permalink:
liguoqinjim/owl-notify@e2d309df4aa0a91320994c8d7e6cb9744cad43ac -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/liguoqinjim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e2d309df4aa0a91320994c8d7e6cb9744cad43ac -
Trigger Event:
release
-
Statement type: