Skip to main content

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

owl_notify-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

owl_notify-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for owl_notify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 da7dcb818acd2e06e4b62b40c9ce3634073eac67b9be73cf6e23ec0ffdf3654a
MD5 1bdd2de9297552d175de9a4c7ef07b49
BLAKE2b-256 bb3b5714de897ca6586bc502f2bb98524cded2438116b209c4f73b967799f1ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for owl_notify-0.1.0.tar.gz:

Publisher: publish.yml on liguoqinjim/owl-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for owl_notify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4aca09f6879e04f34295ab22902cf8b22734634c529d851aa5f6e19215ddcf7d
MD5 cf0a9b6b333dd8b1d7271a88846941d8
BLAKE2b-256 810a44533bb77a163ee6c148535b6014a4e0c20e7b5ba2b7f87e434adb59ff93

See more details on using hashes here.

Provenance

The following attestation bundles were made for owl_notify-0.1.0-py3-none-any.whl:

Publisher: publish.yml on liguoqinjim/owl-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page