Skip to main content

Project with a library to generate Slack views from code, using builder pattern

Project description

Introduction

If you're reading this, is because either you love Slack, or just need to work with its API somehow. Recently I had to start implementing a bot in Slack which content was more complex than usual. Then, I found that Slack API was quite easy to use but.... its views, those contents in json can be soooo huge and complex, that I realized I spent most of my time designing templates instead of coding the logic of the bot. This is when I started to look around searching for some library that would allow me to code my views in Python easily, unfortunately, I didn't found any (hey, if it does exist, please let me know, I had no idea about it) so I decided to write this one. The lib, includes "almost" all Block types, I just left out those that I was not gonna use for sure, but once you see the source code you'll realize it can be extended to include those pretty easily.

Documentation

Check included Readme.md or latest doc at Slackviews Readme.md

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

slackviews-1.1.2.tar.gz (27.4 kB view hashes)

Uploaded Source

Built Distribution

slackviews-1.1.2-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

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