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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for aioslacker-0.0.8.tar.gz
Algorithm Hash digest
SHA256 abdc57fb7f00ea8b84b024982067965a3f3c1831e2990b7213cdb9d224ddcaa9
MD5 d11c5d1e60309446cc3aba5e04ff9c4f
BLAKE2b-256 ff78bef89d4364787a59a1292ff06924e9ca50a9b4b3e9d91fb511542d566bcc

See more details on using hashes here.

Provenance

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