Skip to main content

slacker wrapper for asyncio

Project description

info:

slacker wrapper for asyncio

https://img.shields.io/travis/wikibusiness/aioslacker.svg https://img.shields.io/pypi/v/aioslacker.svg

Installation

pip install aioslacker

Usage

import asyncio

from aioslacker import Slacker

TOKEN = 'xxxxx'

async def go():
    async with Slacker(TOKEN) as slack:
        await slack.chat.post_message('#general', 'Hello fellow slackers!')

loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()

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

aioslacker-0.0.9.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file aioslacker-0.0.9.tar.gz.

File metadata

  • Download URL: aioslacker-0.0.9.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aioslacker-0.0.9.tar.gz
Algorithm Hash digest
SHA256 22a66219c216ddeef26d4a95d0ef1147c4838646c4e681595b965baa1f97481e
MD5 3e8a9677ba2a7d193eac6da064c2593f
BLAKE2b-256 0ac5dd2833e8c166aadf00e6829e350c0b74e186b6cd1a7139d9d0780001ef07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page