Code Monkey home page Code Monkey logo

aioslacker's Introduction

aioslacker

info:slacker wrapper for asyncio
https://travis-ci.org/aio-libs/aioslacker.svg?branch=master

!!!The library is not maintained!!!

Please use the official client: https://github.com/slackapi/python-slackclient

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.

aioslacker's People

Contributors

asvetlov avatar froosty avatar hellysmile avatar jacobtomlinson avatar litwisha avatar pyup-bot avatar webknjaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aioslacker's Issues

Memory leak when using RTM

We are using this library in opsdroid and have noticed that when leaving the RTM websocket connected for a period of time (24-48 hours) memory will suddenly increase rapidly. We are tracking the issue in opsdroid/opsdroid#743 but I wanted to also raise it here to aid with debugging.

My initial guess would be that the Slack end of the connection is closing or restarting the websocket and there is a bug either here or in the upstream slacker library which is getting stuck and using more memory until it gets OOM killed.

Any assistance with troubleshooting this woudl be much appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.