A Python library for building Adaptive Cards and other card types used in Microsoft Teams bot messages. Part of the Microsoft Teams SDK (teams.py). Current version 2.0.0 (stable pre-release series v2.0.0a*). Active development with alpha releases publishing frequently.
pip install microsoft-teams-cardsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a simple Adaptive Card and output its attachment representation.
Use `CardFactory.adaptive_card_attachment(AdaptiveCard(...))` instead of `CardFactory.adaptive_card_attachment({'type':'AdaptiveCard',...})`.Replace `from microsoft.teams.cards import ...` with `from microsoft_teams.cards import ...`.
Use Python 3.12 or 3.13. Check your Python version with `python --version`.
No dependency data recorded yet.