Package to send Statistics over a Slack Incoming Webhook
Project description
slackistics
Package to send Statistics over a Slack Incoming Webhook
Free software: MIT license
Documentation: https://slackistics.readthedocs.io.
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Usage
from slacktastic.client import SlackClient
from slacktastic.template import Attachment, PieChart, Message
client = SlackClient(webhook_url='YOUR WEBHOOK URL')
attachment = Attachment(
title='Cool block title',
title_link='https://labela.nl',
text='Some awesome text')
chart = PieChart(
title="Test data",
data={
'labels': ['Alpha', 'Omega'],
'values': [22, 55]
}
)
message = Message(
text="I want to show you some *magic* :sparkles:",
attachments=[attachment, chart]
)
client.send_message(message)
History
0.1.0 (2019-07-25)
First release on PyPI.
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
slacktastic-0.2.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for slacktastic-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748073612268477dfce2cabeaf3e62997d28cb6ce1dc0ec7b4950336f9493e08 |
|
MD5 | eeff1710572dc4a5d7dc9ef8e211c893 |
|
BLAKE2b-256 | af7655a4708b4229e0ddc33296091c982461a90aba56b005df90682e80713be2 |