diff --git a/teams.md/scripts/generate-llms-txt.ts b/teams.md/scripts/generate-llms-txt.ts index 9f5173c09..c0d3023f9 100644 --- a/teams.md/scripts/generate-llms-txt.ts +++ b/teams.md/scripts/generate-llms-txt.ts @@ -15,7 +15,7 @@ const LANGUAGE_SPECIFIC_TIPS: Record = { "The SDK uses typescript to help you make the right decisions when using the APIs. You may check type definitions and type checkers to make sure your code is correct." ], python: [ - "It's a good idea to run `uv run typecheck` to make sure the code is correctly typed and fix any type errors.", + "It's a good idea to run `pyright` to make sure the code is correctly typed and fix any type errors.", ], csharp: [ "It's a good idea to build the application and fix compile time errors to help ensure the app works as expected.", diff --git a/teams.md/src/components/include/getting-started/quickstart/python.incl.md b/teams.md/src/components/include/getting-started/quickstart/python.incl.md index 528ff1653..ba9d1f593 100644 --- a/teams.md/src/components/include/getting-started/quickstart/python.incl.md +++ b/teams.md/src/components/include/getting-started/quickstart/python.incl.md @@ -1,13 +1,6 @@ - **Python** v3.12 or higher. Install or upgrade from [python.org/downloads](https://www.python.org/downloads/). -- **UV** v0.8.11 or higher. Install or upgrade from [https://docs.astral.sh/uv/getting-started/installation/](https://docs.astral.sh/uv/getting-started/installation/) - -import Admonition from '@theme/Admonition'; - - -UV is a fast Python package installer and resolver. While you can use other package managers like pip, UV provides better performance and dependency resolution for Teams SDK projects. - @@ -32,7 +25,7 @@ cd quote-agent Start the development server: ```sh -uv run src\main.py +python src/main.py ``` diff --git a/teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md b/teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md index 3b851dee4..39d26ba88 100644 --- a/teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md +++ b/teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md @@ -9,5 +9,5 @@ This package wraps the official [A2A SDK](https://github.com/a2aproject/a2a-pyth Install the package: ```bash -uv add microsoft-teams-a2a +pip install microsoft-teams-a2a ``` diff --git a/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md b/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md index 65940c893..c4bf76944 100644 --- a/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md +++ b/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md @@ -7,7 +7,7 @@ SSE protocol Install it to your application: ```bash -uv add microsoft-teams-mcpplugin +pip install microsoft-teams-mcpplugin ``` diff --git a/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md b/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md index 5b0b2af54..a00a37a9d 100644 --- a/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md +++ b/teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md @@ -7,7 +7,7 @@ You are able to convert any `App` into an MCP server by using the `McpPlugin` fr Install it to your application: ```bash -uv add microsoft-teams-mcpplugin +pip install microsoft-teams-mcpplugin ``` diff --git a/teams.md/src/components/include/migrations/v1/python.incl.md b/teams.md/src/components/include/migrations/v1/python.incl.md index f455d9ff3..542bc8dfb 100644 --- a/teams.md/src/components/include/migrations/v1/python.incl.md +++ b/teams.md/src/components/include/migrations/v1/python.incl.md @@ -7,7 +7,7 @@ We'll also discuss how you can migrate features over incrementally via the [botb First, let's install Teams SDK into your project. Notably, this won't replace any existing installation of Teams SDK. When you've completed your migration, you can safely remove the `teams-ai` dependency from your `pyproject.toml` file. ```sh -uv add microsoft-teams-apps +pip install microsoft-teams-apps ```