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
Metadata
Release files for mspyteams 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mspyteams-0.0.2.tar.gz | 6.5 kB | Without provenance | Details for mspyteams-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mspyteams-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for mspyteams-0.0.2-py3-none-any.whl |
Total release size: 10.9 kB
Release files / mspyteams-0.0.2.tar.gz
| Download URL | mspyteams-0.0.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbd2af909a10a0d486fcd2c0e8bc9d7c612b838d6dfe7022997a1f9a950174d3
|
|
BLAKE2b-256 checksum How to use checksums |
14944303aac7d4f651acdc9bb1dee3053ff7630e620bbad05807c5f31877822f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.23.0
|
Release files / mspyteams-0.0.2-py3-none-any.whl
| Download URL | mspyteams-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5593916de40098302d2c63ff3756883994af0ea2c1db7c3d3dcf938a6bd9908d
|
|
BLAKE2b-256 checksum How to use checksums |
f3b8928b4222588e9729ab84230cd1b56f9fb203212967175ded5abd46bb8d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.23.0
|
Security for mspyteams 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.