Python Wrapper for pymsteams
Project description
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))
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file takeme_pymsteams-1.0.0.tar.gz.
File metadata
- Download URL: takeme_pymsteams-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e428275548740001cc22ccaca3044b8f1675b193668bda5ed8b678cf9bebc8ca
|
|
| MD5 |
b000f2c073a0359c107305fa8c063d2a
|
|
| BLAKE2b-256 |
987f5d81a96deaf953a5502c6a63405c09fd1b32b79b1ab5e99f97f5c6483bb0
|
File details
Details for the file takeme_pymsteams-1.0.0-py3-none-any.whl.
File metadata
- Download URL: takeme_pymsteams-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48272fc670b06619df908fcb76eae58d42b59fdb3f8f9c1dc6cde7e648133757
|
|
| MD5 |
9d8ec984d47ed7c8accc0f8455ae3dfb
|
|
| BLAKE2b-256 |
27ab1d7cb167c48919106f9c2c69c37390d66f3a16928db5cc05b2371f4e487e
|