Skip to main content

Mattermost client

Project description

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
  • ruff
  • pytest

Install dependencies:

make dev.activate env=dev

Before push:

$ make lint && make test
...

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

aiommost-0.4.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiommost-0.4.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file aiommost-0.4.0.tar.gz.

File metadata

  • Download URL: aiommost-0.4.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for aiommost-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b83e36b5d09b40e4cb28ed72dcaf3d87a7dc8ae9983704756109778bcd2f13b1
MD5 2222238d87ccb191e05247622e94bec5
BLAKE2b-256 402964b96a6bfbd8d03b013788ddcde7d691edf0d2694292b5a36d752d2a3464

See more details on using hashes here.

File details

Details for the file aiommost-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: aiommost-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for aiommost-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60156681aa61c25765f7749a4f748668f6c5d1eedb8eb85e2067e30d90d2084a
MD5 acda45da64d9e6a27e600c94da5e7945
BLAKE2b-256 07016b078fcc2daf540af82ba2b31d0a387d1c139404bd9ac26823ef266edbaa

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