pymsteams
This module provides wrapper for pymsteams.
Installation
pip install takeme-pymsteams
Usage
import takeme_pymsteams
SP_SITE = 'https://xxxx.sharepoint.com'
SITE_NAME = 'XXXX'
SP_ID = 'user'
SP_PWD = 'abcd'
TEAMS_CHANNEL = 'https://outlook.office.com/webhook/xxxxx/IncomingWebhook/xxx/xxxx/xxxx'
teams = takeme_pymsteams.Teams()
try:
teams.connect_to_share_point(
share_point_site=SP_SITE,
site_name=SITE_NAME,
user_name=SP_ID,
password=SP_PWD
)
teams.send(
channel=TEAMS_CHANNEL,
text='Hello Microsoft Teams!',
file='Hello.xlsx'
)
except Exception as ex:
print(str(ex))
Metadata
Release files for takeme-pymsteams 1.0.0
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 |
|---|---|---|---|---|
| takeme_pymsteams-1.0.0.tar.gz | 2.8 kB | Without provenance | Details for takeme_pymsteams-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takeme_pymsteams-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for takeme_pymsteams-1.0.0-py3-none-any.whl |
Total release size: 18.0 kB
Release files / takeme_pymsteams-1.0.0.tar.gz
| Download URL | takeme_pymsteams-1.0.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e428275548740001cc22ccaca3044b8f1675b193668bda5ed8b678cf9bebc8ca
|
|
BLAKE2b-256 checksum How to use checksums |
987f5d81a96deaf953a5502c6a63405c09fd1b32b79b1ab5e99f97f5c6483bb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / takeme_pymsteams-1.0.0-py3-none-any.whl
| Download URL | takeme_pymsteams-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48272fc670b06619df908fcb76eae58d42b59fdb3f8f9c1dc6cde7e648133757
|
|
BLAKE2b-256 checksum How to use checksums |
27ab1d7cb167c48919106f9c2c69c37390d66f3a16928db5cc05b2371f4e487e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Security for takeme-pymsteams 1.0.0
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.