Skip to main content

Personal push notification and debug tool for multi-tasking software developers

Project description

MeerkatIO Python Package

Downloads

Introduction

MeerkatIO is the personal notification platform for software engineers and data scientists that allows you to use the notification channels that fit your workflow. This one package immediately opens the door to any notification method you need to save time in your day, integrating with all of the built in tools already at your fingertips.

Get started with just 2 lines of code!

Available Notification Channels

The MeerkatIO Python package supports the following notification channels:

  • Ping
  • System
  • Slack Direct Message
  • SMS
  • Email

Installation

$ pip3 install meerkatio

Authenticating

No account or authentication is required to use the Ping or System notifications, and all other communication channels can be easily enabled with a MeerkatIO Account or through the MeerkatIO Command Line Interface tool.

CLI Account Registration

This package provides a convenient way to get up and running. The register command will prompt you for a username and password to start your free account, and on success your environment will be set up for you so you can skip the Authentication Token Setup steps.

$ meerkat register

Authentication Token Setup

Using your username and password from MeerkatIO:

$ meerkat login

Or manually set the MeerkatIO token with one of the following examples:

# Option 1: Environmental Variable
$ export MEERKAT_TOKEN=token

# Option 2: Cache File
$ echo "token" > ~/.meerkat

Code Examples

import meerkat

# Ping when script gets to checkpoint
meerkat.ping()

# Send a confirmation a function has run
output = build_model()
meerkat.email(output)

# Send Slack message to document model performance
perf = get_model_performance(output)
meerkat.slack(perf)

# Send SMS message when the script is finished
meerkat.sms("Script completed!")

Jupyter Notebook Example

import meerkat

# Ping when cell hits a debug checkpoint
%ping

# Send a confirmation that a cell has run
output = build_model()
%email output

# Send Slack message to document model performance
perf = get_model_performance(output)
%slack perf

# Send SMS message when the cell reaches the end
%sms "Cell completed!"

MeerkatIO Jupyter Notebook personal notification example alerting options

MeerkatIO CLI Tool

Access all of the same communication methods from your command prompt to integrate with any workflow.

$ meerkat ping
$ meerkat email "Bash script output: $1"
$ meerkat sms "Firmware build completed."
$ meerkat slack "Bash script complete"

Here is an example of how to use Meerkat with any script running from a terminal in order to ping youself when the script is finished running.

$ make build && meerkat email "Build succeeded" || meerkat sms "Build failed"

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

meerkatio-1.20.tar.gz (201.7 kB view details)

Uploaded Source

Built Distribution

meerkatio-1.20-py3-none-any.whl (187.5 kB view details)

Uploaded Python 3

File details

Details for the file meerkatio-1.20.tar.gz.

File metadata

  • Download URL: meerkatio-1.20.tar.gz
  • Upload date:
  • Size: 201.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for meerkatio-1.20.tar.gz
Algorithm Hash digest
SHA256 83785c2e13086afcfe123aa0597caa42917c54a11e1bbcc5ba1903de3cb0ff54
MD5 8a48c3e762d38a0a4034263ba71dce65
BLAKE2b-256 542f4907a85bf8c31f8f5f41f37f89f62daa5fd7fcbf54ac04585937d5a9effd

See more details on using hashes here.

File details

Details for the file meerkatio-1.20-py3-none-any.whl.

File metadata

  • Download URL: meerkatio-1.20-py3-none-any.whl
  • Upload date:
  • Size: 187.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for meerkatio-1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3cff073cc6c31692e01a1227101f5db02a908d3b8b2aa55161286447d0c923e1
MD5 4a062cf3ff999177d4b6a3dd25ab5549
BLAKE2b-256 116f1081125ee55a55e4d286dc561f7798e613cf2e89f26ecb2725f9925062fc

See more details on using hashes here.

Supported by

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