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.1.2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for slacktastic-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70576ed61b68316466772fea7c3de5efbc0019f9e1100f5ea334e6bafcc85460 |
|
MD5 | 857bb7da9592d5c8f7a74b262c8b4ddd |
|
BLAKE2b-256 | d02b3b128948860d3bcf45c22af6527be8aa97f26b658efd08702d61913bbca8 |