Microsoft Teams Cards
Adaptive Cards models and specialized action types for Microsoft Teams applications. Provides Pydantic-based models for creating Adaptive Cards and Teams-specific actions.
Features
- Adaptive Card Models: Pydantic models for Adaptive Card schema
- Teams Actions: Specialized action types for Teams interactions
Basic Usage
from microsoft_teams.cards import AdaptiveCard, TextBlock, SubmitAction
# Create adaptive card components
card = AdaptiveCard(
body=[
TextBlock(text="Hello from Teams!")
],
actions=[
SubmitAction(title="Click Me", data={"action": "hello"})
]
)
Teams-Specific Actions
from microsoft_teams.cards import InvokeAction, MessageBackAction, SignInAction
# Create Teams-specific actions
invoke_action = InvokeAction({"action": "getData"})
message_action = MessageBackAction("Send Message", {"text": "Hello"})
signin_action = SignInAction()
Metadata
Release files for microsoft-teams-cards 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| microsoft_teams_cards-2.2.0.tar.gz | 27.9 kB | Without provenance | Details for microsoft_teams_cards-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| microsoft_teams_cards-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for microsoft_teams_cards-2.2.0-py3-none-any.whl |
Total release size: 57.4 kB
Release files / microsoft_teams_cards-2.2.0.tar.gz
| Download URL | microsoft_teams_cards-2.2.0.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbc3a7bde3ae0e5b506aae656564318029dde92760ac491de657716f2b233c3e
|
|
BLAKE2b-256 checksum How to use checksums |
812bfb81158049bc9d172cecaefc6b872ae337bb0008f7f45a1f9443eddf0885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / microsoft_teams_cards-2.2.0-py3-none-any.whl
| Download URL | microsoft_teams_cards-2.2.0-py3-none-any.whl |
|---|---|
| Size | 29.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abab54eb92aaa9c9c2db998bec6282fa25de8da7d6c4762b44ca17c94a6d8385
|
|
BLAKE2b-256 checksum How to use checksums |
289329f353118b5147342b297e409d118063e13aaea652f00a55055e8b1ca4d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Security for microsoft-teams-cards 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.