Skip to content

eth0izzle/print2slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print2slack

print() to Slack. A monkeypatch that prints all output to a Slack channel instead of stdout - just import and go!

Demo

Installation

pip install print2slack

Usage

  1. Set your Webhook URL via an environment variable: export SLACK_WH="https://hooks.slack.com/services/T7FCG2MW/B8P5H7C/9Za2ig0WdULOOZO17OX8G".
  2. import print2slack in your project.
  3. Call print() as you normally would and it'll end up in Slack!

All customisations should be done via your integration settings.

License

MIT. See LICENSE.

About

print() to Slack!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages