microsoft-teams-cards
Cards package for Microsoft Teams
Decision gist · record as of 2026-08-14
Yes, if you are building Microsoft Teams applications and want type-safe Adaptive Card construction. The package has low install friction, active maintenance, MIT licensing, and no known vulnerabilities. Install it when you need to generate Teams cards programmatically; skip it if you are hand-writing JSON or not targeting Teams.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; Python 4.0+ not supported.
- Low install friction with no runtime dependencies.
- Active maintenance as of 2026-08-13 with recent releases; repository shows 62 stars and no archived status.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-04 (10 days) · last repo commit 2026-08-13 · 62 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,046,174 downloads/mo, #4,452 on PyPI
Alternatives
Verify before relying
pip install microsoft-teams-cards
from microsoft_teams_cards import AdaptiveCard, TextBlock, SubmitAction
card = AdaptiveCard(
body=[TextBlock(text="Hello from Teams!")],
actions=[SubmitAction(title="Click Me", data={"action": "hello"})]
)- Whether the package includes full Adaptive Card schema coverage or a subset of card types.
- Whether Teams-specific actions cover the complete Teams action API or a curated set.
- Documentation completeness and availability beyond the basic usage examples provided.
- The exact module import path for accessing AdaptiveCard, TextBlock, and action classes.
What it is and what it does
microsoft-teams-cards wraps the Adaptive Card schema and Teams-specific action types in Pydantic models, letting you build interactive card layouts and actions for Teams applications in Python. It has no external runtime dependencies, so installation is straightforward and adds minimal weight to your environment.
The package is designed for developers building Teams integrations who need to construct cards programmatically rather than writing raw JSON. It provides typed models for Adaptive Card components and Teams-specific actions like InvokeAction, MessageBackAction, and SignInAction, reducing the friction of manual schema validation.
Use it for
- Build interactive bot responses in Teams that include buttons, text blocks, and form submissions.
- Create Teams message extensions that render rich card layouts with Teams-specific actions.
- Programmatically generate Adaptive Cards for Teams workflows without hand-writing JSON schemas.
- Implement Teams sign-in flows and message-back actions using typed action models.
- Construct Teams bot cards with invoke actions for custom Teams app integrations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building Microsoft Teams applications and want type-safe Adaptive Card construction.
The package has low install friction, active maintenance, MIT licensing, and no known vulnerabilities. Install it when you need to generate Teams cards programmatically; skip it if you are hand-writing JSON or not targeting Teams.
Install
microsoft-teams-cards on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-08-13 with recent releases; repository shows 62 stars and no archived status.
Requires Python 3.11 or later; Python 4.0+ not supported.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install microsoft-teams-cards
from microsoft_teams_cards import AdaptiveCard, TextBlock, SubmitAction
card = AdaptiveCard(
body=[TextBlock(text="Hello from Teams!")],
actions=[SubmitAction(title="Click Me", data={"action": "hello"})]
)
Verify before relying
- Whether the package includes full Adaptive Card schema coverage or a subset of card types.
- Whether Teams-specific actions cover the complete Teams action API or a curated set.
- Documentation completeness and availability beyond the basic usage examples provided.
- The exact module import path for accessing AdaptiveCard, TextBlock, and action classes.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,046,174 / month, #4,452 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: microsoft_teams_cards-2.0.15-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “adaptive cards microsoft teams”
- microsoft-teams-cardsProvides Pydantic-based models for building Adaptive Cards and…
- microsoft-agents-hosting-teamsProvides Teams-specific handlers and utilities for building Microsoft…
- adaptive-cards-templating-pyExpands Adaptive Card templates by substituting data and expressions…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also adaptive-cards-templating-py · microsoft-agents-hosting-teams · pymsteams · microsoft-agents-activity · microsoft-teams-apps · microsoft-teams-api · pyscard · dagster-msteams · autogen-agentchat · microsoft-teams-common