{"library":"microsoft-teams-cards","title":"Microsoft Teams Cards","description":"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.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install microsoft-teams-cards"],"cli":null},"imports":["from microsoft.teams.cards import AdaptiveCard","from microsoft.teams.cards import CardFactory"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from microsoft.teams.cards import AdaptiveCard, CardFactory\n\ncard = AdaptiveCard(version='1.5')\ncard.add_text_block('Hello, Teams!')\ncard.add_submit_action('Submit', data={'key': 'value'})\n\n# Get card as attachment for bot activity\nattachment = CardFactory.adaptive_card_attachment(card)\nprint(attachment)","lang":"python","description":"Create a simple Adaptive Card and output its attachment representation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}