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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: slackviews-1.1.2.tar.gz
  • Upload date:
  • Size: 27.4 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.2.tar.gz
Algorithm Hash digest
SHA256 75972e743b7f78c54ea66c158f0e833354e9afed792ce9617d1ea1eb68fbe396
MD5 46a11dab41a1d6b084f5b7794ffc0244
BLAKE2b-256 b7ab1932dfb1b7994c4555cba814626f42a70d003275e74017f08a5e4b26edec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slackviews-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16694a4d6e053d128910ba9ebdc383bea92aaed464501d4da8039224d4814dd5
MD5 2f6b379ee810369a0e2512c062646fe5
BLAKE2b-256 3ad09ebc2c25ecfc7acb272d8c6593a7ca45fc5253515d816230e7dfbe83729f

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