Skip to main content

Sansio MsTeams cards composing library

Project description

Code style: black

MsPyTeams

A sansio card creation library for sending cards to Microsoft Teams.

mspyteams requires python 3.5 and up.

Installation

python3 -m pip install mspyteams

Being a sans-io library this installs only the card composition library, which in the end returns a valid card dict, which can be send as a json payload using any http client library of your liking.

Currently the aiohttp client is implemented as an option. To install:

python3 -m pip install mspyteams[aiohttp]

Goals

There are more ms teams card libaries available, like pymsteams and msteams, and I have thought of adapting them to my needs by doing pull requests etc. However, my goals were to provide a library that complies with pep8 (no camelcasing), doing an sans-io implementation, using flit, trying to get github actions running in combination with nox and learning some more along the way. So to do that effectively, I thought it would be best to do a library from scratch. And there you go..

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

mspyteams-0.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

mspyteams-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file mspyteams-0.0.1.tar.gz.

File metadata

  • Download URL: mspyteams-0.0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.23.0

File hashes

Hashes for mspyteams-0.0.1.tar.gz
Algorithm Hash digest
SHA256 35818068fbbd69b23df1f35c41359574331ae2588c500bce046656b5ff70fda6
MD5 9de4182752510acd55c1df03a5bf2bd9
BLAKE2b-256 eef5a82fd346f3af1e074235708b47c9cd0e802484c10795c2b511502ce2b313

See more details on using hashes here.

File details

Details for the file mspyteams-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mspyteams-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.23.0

File hashes

Hashes for mspyteams-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c676d71015031b4a6ea658c4dfb5c403b8ee607039e839128ef7566fb4f3b57
MD5 ddfb5a9ac72b6a54f137a3ea65e0c74f
BLAKE2b-256 41be79b02e0f8032c95072a1c47611dbb00a3513c798bae7d49667f24f6a3c65

See more details on using hashes here.

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