vppuzakov / aiommost

async mattermost client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiommost

Asyncio Mattermost client. Useful to write bots.

Usage

from aiommost import MattermostClient

client = MattermostClient(host, token)

# create direct channel
user = await client.users.get_by_username('someuser')
channel = await client.channels.direct(user.uid, user.uid)

Contributing Guide

Main dependencies:

  • httpx
  • pydantic

Developer dependencies:

  • mypy
  • wemake-python-styleguide
  • pytest

Install dependencies:

make dev.install

Before push:

$ make lint && make test
...

About

async mattermost client

License:MIT License


Languages

Language:Python 97.3%Language:Makefile 2.7%