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
Built Distribution
File details
Details for the file slackviews-1.0.3.tar.gz
.
File metadata
- Download URL: slackviews-1.0.3.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de12c70d65d3892705a486edc300b166e166fb803877748c49f34d2466380998 |
|
MD5 | 784c45a9a00cf6a2103c181862a20d49 |
|
BLAKE2b-256 | 46f8f91115d62394f40d706ddb94bdc4b6045b76f7b57e57f3d1ecd734b6e5ff |
File details
Details for the file slackviews-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: slackviews-1.0.3-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409e0f3770d11a435de881c47b2b58f6f3a061cd397fae397a8ee122ca7c0c2b |
|
MD5 | 489a236ec84c40ed0d1a8d11bec0034e |
|
BLAKE2b-256 | 6deceb6cc2ae897a407168e6a3a034a60091e032137b6acc67dcded69af94c4d |