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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: slackviews-1.1.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.0

File hashes

Hashes for slackviews-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c4ab266922e511275647f08a9f5db0b4c309f591fa3968edb81ef59eb02ee462
MD5 2e9a3881c0a5ddb624405c530e1645a8
BLAKE2b-256 a2fb52ecbd53b1f31aa7d92eb11cc00fb4ce5567c2ef6fa1c721ce71c6a9bab3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slackviews-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 583f0674b700cf38469e44aabf4f09f6416099b750516ca3acf80425b99dbc7a
MD5 83986ddbefd386592a4ce771152d22ca
BLAKE2b-256 ee8becd53c9e9b981397743441ab506c921f8c89caa185f0d70e2b331c919be5

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