Skip to main content

guardog-py

Guardog is a simple and easy-to-use application monitoring and alerting tool. It notifies you of runtime errors in realtime so that you can stay on top of issues and focus on delivering quality code to your users.

guardog with python

Installation

pip install guardog

Note: Guardog works on Python 3.7 and above

Usage

from guardog import Guardog


gd = Guardog(
    api_key='<YOUR_API_KEY>',
    uid='<UID>',
    service_id='<SERVICE_ID>'
)


@gd.watch() # Watches for any exceptions and notifies you
def this_function_will_fail():

    return 42 / 0


this_function_will_fail()

Credentials

To get your api_key, uid and service_id values, login (or signup if you already haven't) to Guardog

And once you are directed to your dashboard, follow these steps

  1. Create Service
  2. Choose Application error alerting in dropdown
  3. Fill in the form along with the notification info
  4. Once a new service is created, Click on Details and you should see your credentails there. You can generate a new API key anytime.

Here's an screenshot of an example service guardog service details

And that's it! You are all set to receive alerts everytime your program crashes during runtime.

Note:  We don't spam you everytime an exception occurs. We only notify you every 6 hours from the last occurence.

For any issues, feedbacks and suggestions contact gautham@guardog.app

Blog - https://www.guardog.app/blog/guardog-python

Release files for guardog 1.3.0

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

Source distribution (sdist)

Source distribution for guardog 1.3.0
File Size Uploaded
guardog-1.3.0.tar.gz 3.1 kB Details

Built distribution (wheel)

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

Total release size: 6.5 kB

Release files / guardog-1.3.0.tar.gz

Download URL guardog-1.3.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d286915828b9701a1d7100f1f4a1b39141b314347a2aa6a665bbd5df5f8f9aea
BLAKE2b-256 checksum
How to use checksums
d42e77534ee1a20e3b185c00af5e6231c4a2f6068b46bf52f08cd76331c90cb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/6.5.0-44-generic

Release files / guardog-1.3.0-py3-none-any.whl

Download URL guardog-1.3.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4218d08d24777d979a1c26543cc69e8a42db851fa9d9515dfbe946d631f03e52
BLAKE2b-256 checksum
How to use checksums
c399c5007923406262e810d8c99995386e6cfc2087f084249e533976d1ea607e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/6.5.0-44-generic

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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