All Projects → AusterweilLab → jarjar

AusterweilLab / jarjar

Licence: MIT License
Python utility for sending slack notifications to your teams

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to jarjar

monolog-http
A collection of monolog handlers that use a PSR-18 HTTP Client to send your logs
Stars: ✭ 34 (+78.95%)
Mutual labels:  slack
Hodor
Hodor is a an automation application that is used to open the door controlled by an intercom system from Slack using a custom slash command.
Stars: ✭ 21 (+10.53%)
Mutual labels:  slack
aws-iam-slack-notifer
Notifies slack when an IAM policy is created, changed or assigned to a role
Stars: ✭ 35 (+84.21%)
Mutual labels:  slack
pingmote
Cross-platform Python global emote picker to quickly insert custom images/gifs
Stars: ✭ 24 (+26.32%)
Mutual labels:  slack
serilog-sinks-slackclient
Slack Sink for Serilog
Stars: ✭ 24 (+26.32%)
Mutual labels:  slack
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (-26.32%)
Mutual labels:  slack
iris
Watch on Kubernetes events, filter and send them as standard wehbook to any system
Stars: ✭ 57 (+200%)
Mutual labels:  slack
slag
slack in the terminal using javascript
Stars: ✭ 16 (-15.79%)
Mutual labels:  slack
node-slack-events-api
Slack Events API for Node
Stars: ✭ 93 (+389.47%)
Mutual labels:  slack
slack-dark-theme
Apply dark theme to your slack with zero configuration
Stars: ✭ 15 (-21.05%)
Mutual labels:  slack
google-calendar-slack-status
Automatically sync your Google Calendar events to your Slack status
Stars: ✭ 33 (+73.68%)
Mutual labels:  slack
jota-cert-checker
Check SSL certificate expiration date of a list of sites.
Stars: ✭ 45 (+136.84%)
Mutual labels:  slack
Coder
求职信息 组队刷题 经验交流
Stars: ✭ 22 (+15.79%)
Mutual labels:  slack
burnout-barometer
A simple Slack tool to log, track, and assess you or your team's stress and work-life
Stars: ✭ 29 (+52.63%)
Mutual labels:  slack
SlackStream
An all-at-a-glance Slack client that aggregates all channels and workspaces at one place
Stars: ✭ 40 (+110.53%)
Mutual labels:  slack
google-cloud-build-slack
Slack integration for Google Cloud Container Builder, using Google Cloud Functions
Stars: ✭ 76 (+300%)
Mutual labels:  slack
slack-texts
SMS notifications for Slack groups
Stars: ✭ 19 (+0%)
Mutual labels:  slack
ben
Fast, native*, cross-platform Slack client, develop with React QML
Stars: ✭ 19 (+0%)
Mutual labels:  slack
Perfect-Authentication
OAuth2 Implementations with Facebook, Google, LinkedIn, Slack, SalesForce and GitHub providers.
Stars: ✭ 14 (-26.32%)
Mutual labels:  slack
SlackWebhooksGithubCrawler
Search for Slack Webhooks token publicly exposed on Github
Stars: ✭ 21 (+10.53%)
Mutual labels:  slack

Jarjar Slack Notifier

Jarjar is a python utility that makes it easy to send slack notifications to your teams. You can import it as a python module or use our command line tool.

Documentation Status PyPI version

What can jarjar do for me?

Jarjar was developed at the Austerweil Lab at UW-Madison as a tool for scientists. We use it for all sorts of things, such as:

  1. Sending a message so that we know when long-running processes have finished.

  1. Sending notices when scheduled tasks have failed.

  1. Sending out daily positive vibes.

Quickstart

Installation is simple!

pip install jarjar

For the bleeding edge:

pip install git+https://github.com/AusterweilLab/jarjar.git

My guess is that you'll want to create jarjar's config file, .jarjar. This tells jarjar what you'd like to use as a default for your slack team's webhook, the channel to post to, and the message it sends. Don't worry, you can over-ride these anytime.

Jarjar automatically looks for .jarjar in the current working directory as well as the user home (~), so edit this snippet and throw it one of those places:

channel='@username'
message='Custom message'
webhook='https://hooks.slack.com/services/your/teams/webhook'

If you don't know your team's webhook, you might have to make one.

Python API

Use the jarjar python api like:

from jarjar import jarjar

jj = jarjar() # defaults from .jarjar
jj.text('Hi!')

# send an attachment
jj.attach({'meesa': 'jarjar binks'}, message='Hello!')

Jarjar also supports decorator and Jupyter magic workflows!

Command Line Tool

We also made a command line tool for use outside of python scripts. The command line tool adds functionality to execute processes and send messages when they are complete.

jarjar sleep 1 -m 'Meesa took a nap!'

And then in your slack team:

Custom attachments are not supported in the CLT at this time, but everything else is:

jarjar -m 'Meesa jarjar binks!'
jarjar -m 'Hi, everyone!!' --webhook '<your-url>' -c '#general'

Documentation

We're on Read The Docs!

Having Trouble? Or a feature request?

We are terrible developers and you'll probably run into all sorts of problems. Don't be shy, file an issue on github!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].