Skip to main content

pyprowl

Python module for sending Prowl notifications

Created by Todd Roberts

https://github.com/toddrob99/pyprowl

Usage

import pyprowl

p = pyprowl.Prowl('YOUR_PROWL_API_KEY')

try:
	p.verify_key()
	print("Prowl API key successfully verified!")
except Exception as e:
	print("Error verifying Prowl API key: {}".format(e))
	exit()

try:
	p.notify(event='Event name', description='Description of event', 
			 priority=0, url='http://www.example.com', 
			 #apiKey='uncomment and add API KEY here if different', 
			 appName='Name of app sending the notification')
	print("Notification successfully sent to Prowl!")
except Exception as e:
	print("Error sending notification to Prowl: {}".format(e))

Changelog

v3.0.1

  • Added support for python 3 using requests module

v1.0.2

  • Fixed package layout (moved code from pyprowl.py to __init__.py to support importing of module)

v1.0.1

  • Updated package layout for submission to PyPI

v1.0

  • Supports verification of API key and sending of notifications
  • API key can be set at instantiation and left out of subsequent calls, or it can be set on each call
  • App name can be set at instantiation and left out of subsequent calls, or it can be set on each call to notify()

Metadata

Release files for pyprowl 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyprowl 3.0.1
File Size Uploaded
pyprowl-3.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyprowl 3.0.1
File Interpreter ABI Platform
pyprowl-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / pyprowl-3.0.1.tar.gz

Download URL pyprowl-3.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
915d482a08837916b67129b7708d3233915506dda3aaa1f5b6b0399698f6043a
BLAKE2b-256 checksum
How to use checksums
7560702a8f704d341294ee29221660d571dfed97e5f4f2dbcac4cb497a4cd57d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / pyprowl-3.0.1-py3-none-any.whl

Download URL pyprowl-3.0.1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49a86b4cabc1bf58cfd7c5838e3d2d2e197abf2736a7b0d50d50b055a1ccf013
BLAKE2b-256 checksum
How to use checksums
400790a3884d0476193d0c65a31478712bbfe970ecec5f1dbed0ecc1ed515801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page