skillfed

microsoft-teams-common

Common package for Microsoft Teams

microsoft-teams-common v2.0.15 1.0M downloads/30d#4,456 on PyPI62
Permissive license MIT Active released

What it is and what it does

microsoft-teams-common is a foundational utilities package for the Microsoft Teams Python SDK, offering reusable components that other Teams packages depend on. It bundles an async HTTP client built on httpx with token and interceptor support, a type-safe event emitter for lifecycle management, local storage abstractions for key-value and list data, and logging helpers that integrate with Python's standard logging module.

The package is designed as a shared layer rather than a standalone tool—it is typically installed as a dependency of other Teams SDK packages rather than used directly. It provides the plumbing needed for async Teams applications: making authenticated requests, emitting and listening to application events, persisting simple state locally, and integrating structured logging. The API is straightforward and async-first, with both synchronous and asynchronous variants for storage operations.

Use it for:

  • As a dependency of other Microsoft Teams SDK packages to provide HTTP client and event infrastructure.
  • Building async applications that need type-safe event handling for lifecycle events and message processing.
  • Storing application state or configuration locally using the key-value or list storage abstractions.
  • Centralizing logging configuration across an application using the provided logging helpers and filters.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides shared utilities for Microsoft Teams SDK packages, including an async HTTP client with token support, type-safe event emitter, local storage implementations, and logging helpers.

Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It is most valuable as a dependency of other Teams SDK packages, but can also be used directly for async HTTP requests via httpx, event handling, and local storage. Requires Python 3.11 or later.

Install

microsoft-teams-common on PyPI

pip

pip install microsoft-teams-common

uv

uv add microsoft-teams-common

poetry

poetry add microsoft-teams-common

Installing microsoft-teams-common

Before you install

Active maintenance with a recent release (10 days old) and no known vulnerabilities. Low install friction with a single runtime dependency (httpx). Requires Python 3.11 or later.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it safe for commercial and open-source projects.

Quickstart

pip install microsoft-teams-common

from microsoft_teams.common import Client, ClientOptions

client = Client(ClientOptions(base_url="https://api.example.com"))
response = await client.get("/users/me")

Requires Python 3.11 or later; async operations require an async runtime context.

Verify before relying

  • Whether the HTTP client's token support covers common authentication schemes (OAuth2, Bearer tokens, etc.)
  • Performance characteristics and limits of the local storage implementations for production workloads
  • Compatibility expectations with other Teams SDK packages and their versions

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 1 — httpx
Maintenance actively maintained — 10 days since the last release
Last repo commit
First released
Downloads 1,040,817/month — #4,456 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: microsoft_teams_common-2.0.15-py3-none-any.whl

Keywords: agents, ai, bot, microsoft, teams

Tags

microsoft teams sdk utilitiesasync http client with interceptorstype-safe event emitterlocal key-value storageteams bot common library
async-httpevent-emittershared-utilities

More Application Frameworks packages