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.1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

slackviews-1.1.1-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file slackviews-1.1.1.tar.gz.

File metadata

  • Download URL: slackviews-1.1.1.tar.gz
  • Upload date:
  • Size: 27.5 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

Hashes for slackviews-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5f397696f6f8c74c433b43ca65c95b9033a80de4347288bc0634d15f9bc67ebf
MD5 7f34e27401b5c261646fa547107c80e4
BLAKE2b-256 54102df5974ed6edc4aa2c940f3225ae33b0ec3c4d5f74b9a81cd67c9d653d61

See more details on using hashes here.

File details

Details for the file slackviews-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: slackviews-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.6 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

Hashes for slackviews-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8de9e9a96986710b323fa736fc9c7c92088d721308074ec3f9570e286f3c2f85
MD5 159d3c259705c4f6063521d0e5389293
BLAKE2b-256 e17fcc4fa0668cb0d891a0b09d9e3aa9ca61dff22967f0b82af784d598d4d97c

See more details on using hashes here.

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