Skip to main content

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)

Source distribution for takeme-pymsteams 1.0.0
File Size Uploaded
takeme_pymsteams-1.0.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for takeme-pymsteams 1.0.0
File Interpreter ABI Platform
takeme_pymsteams-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page