Skip to main content

slacker wrapper for asyncio

Project description

info:

slacker wrapper for asyncio

https://travis-ci.org/aio-libs/aioslacker.svg?branch=master 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()

Thanks

The library was donated by Ocean S.A.

Thanks to the company for contribution.

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

Uploaded Source

File details

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

File metadata

  • Download URL: aioslacker-0.0.11.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for aioslacker-0.0.11.tar.gz
Algorithm Hash digest
SHA256 254b727e2d3897e63576f3b7e58b19750c40420124451e1067e33237357e006a
MD5 c2e449d6489a1895d6a0e226dcc861b7
BLAKE2b-256 5d9c040d4b13e15fe51146c86f9b86f71b3ba1c30589724e36992c2c4ed0f908

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