Skip to main content

Personal 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. Stop watching your code run and reclaim time in your day! Use this package to trigger personal notifications when your long running build or test processes finish, or to log output for personal debugging to an external communication channel.

Get started with just 2 lines of code!

Installation

$ pip3 install meerkatio

Authenticating

No account or authentication is required to use the Ping feature of MeerkatIO, however all other communication channels can be enabled easily 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.18.tar.gz (201.1 kB view details)

Uploaded Source

Built Distribution

meerkatio-1.18-py3-none-any.whl (187.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for meerkatio-1.18.tar.gz
Algorithm Hash digest
SHA256 933a0abc86ba1c97d6b00bd852832a552774daaa5b57ed4c08a652eeb88dd7ba
MD5 042fb2b06f5ef8a1f961c9bb3e5c0eac
BLAKE2b-256 6a2799e1cfe7687b9bb25c89a2e512eb1a242366d5d8e7de329f56d3101f3bb9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for meerkatio-1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 6b6559b43f1b30cfd152f2a4f1a711b70221292b734d3f2183ad368fd2b81267
MD5 293daa20fcf2cd1096d16e6a1d07b958
BLAKE2b-256 548b33e43fa9e183642c1ddc2e739126889c50a336832b1a6afbcb100cabfd23

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