Sansio MsTeams cards composing library
Project description
MsPyTeams
A sansio card creation library for sending cards to Microsoft Teams.
mspyteams requires python 3.6 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..
Usage
For a complete description of the Card API go here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mspyteams-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5593916de40098302d2c63ff3756883994af0ea2c1db7c3d3dcf938a6bd9908d |
|
MD5 | e3db945cf5dbbd120724da926537b24f |
|
BLAKE2b-256 | f3b8928b4222588e9729ab84230cd1b56f9fb203212967175ded5abd46bb8d5c |