CommunityToolkit.Aspire.Hosting.Python.Extensions 13.0.0-beta.436

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Python.Extensions.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Python.Extensions --version 13.0.0-beta.436
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Python.Extensions -Version 13.0.0-beta.436
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Python.Extensions" Version="13.0.0-beta.436" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Python.Extensions" Version="13.0.0-beta.436" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Python.Extensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.Hosting.Python.Extensions --version 13.0.0-beta.436
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Python.Extensions, 13.0.0-beta.436"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommunityToolkit.Aspire.Hosting.Python.Extensions@13.0.0-beta.436
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Python.Extensions&version=13.0.0-beta.436&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Python.Extensions&version=13.0.0-beta.436&prerelease
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.Python.Extensions library

⚠️ DEPRECATION NOTICE
This package is deprecated as of Aspire 13.0. The functionality provided by this package is now part of the core Aspire.Hosting.Python package.

Migration Guide:

  • Replace AddUvicornApp() calls with Aspire.Hosting.Python.PythonAppResourceBuilderExtensions.AddUvicornApp()
  • Replace AddUvApp() calls with AddPythonApp().WithUvEnvironment()
  • Update resource type references from CommunityToolkit.Aspire.Hosting.Python.Extensions.UvicornAppResource to Aspire.Hosting.ApplicationModel.UvicornAppResource

This package will be removed in a future release. Please migrate your applications to use the core Aspire.Hosting.Python package.

Provides extensions methods and resource definitions for the .NET Aspire AppHost to extend the support for Python applications. Current support includes:

  • Uvicorn
  • Uv

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Python.Extensions

Initialize the Python virtual environment

Please refer to the Python virtual environment section for more information.

Uvicorn example usage

Then, in the Program.cs file of AddUvicornApp, define a Uvicorn resource, then call Add:

var uvicorn = builder.AddUvicornApp("uvicornapp", "../uvicornapp-api", "main:app")
    .WithHttpEndpoint(env: "UVICORN_PORT");

Uv example usage

Then, in the Program.cs file of AddUvApp, define a Uvicorn resource, then call Add:

var uvicorn = builder.AddUvApp("uvapp", "../uv-api", "uv-api")
    .WithHttpEndpoint(env: "PORT");

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-python-extensions

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.0.1-beta.468 648 12/3/2025
13.0.1-beta.467 620 12/3/2025
13.0.0 497 11/25/2025
13.0.0-beta.462 145 11/25/2025
13.0.0-beta.456 142 11/23/2025
13.0.0-beta.454 88 11/23/2025
13.0.0-beta.453 108 11/22/2025
13.0.0-beta.450 118 11/22/2025
13.0.0-beta.448 116 11/22/2025
13.0.0-beta.444 344 11/17/2025
13.0.0-beta.443 261 11/17/2025
13.0.0-beta.440 96 11/15/2025
13.0.0-beta.439 239 11/12/2025
13.0.0-beta.438 233 11/12/2025
13.0.0-beta.436 236 11/12/2025
13.0.0-beta.435 233 11/11/2025
13.0.0-beta.433 154 11/10/2025
13.0.0-beta.432 157 11/10/2025
13.0.0-beta.431 143 11/6/2025
13.0.0-beta.430 150 11/6/2025
9.9.0 317 11/3/2025
9.9.0-beta.427 151 11/3/2025
9.8.1-beta.426 147 11/3/2025
9.8.1-beta.424 216 10/28/2025
9.8.1-beta.420 143 10/27/2025
9.8.1-beta.419 138 10/27/2025
9.8.1-beta.417 140 10/27/2025
9.8.1-beta.414 131 10/24/2025
9.8.1-beta.413 134 10/22/2025
9.8.1-beta.410 135 10/16/2025
9.8.1-beta.408 129 10/16/2025
9.8.1-beta.407 131 10/16/2025
9.8.1-beta.406 135 10/15/2025
9.8.0 3,809 9/26/2025
9.8.0-beta.405 134 10/15/2025
9.8.0-beta.404 139 10/13/2025
9.8.0-beta.402 133 9/29/2025
9.8.0-beta.401 128 9/29/2025
9.8.0-beta.399 139 9/26/2025
9.8.0-beta.398 144 9/25/2025
9.8.0-beta.397 137 9/25/2025
9.8.0-beta.395 136 9/24/2025
9.8.0-beta.394 150 9/23/2025
9.8.0-beta.393 142 9/23/2025
9.8.0-beta.392 146 9/23/2025
9.8.0-beta.389 263 9/18/2025
9.8.0-beta.388 273 9/16/2025
9.8.0-beta.386 214 9/15/2025
9.8.0-beta.385 210 9/15/2025
9.8.0-beta.384 61 9/13/2025
9.8.0-beta.376 165 9/8/2025
9.8.0-beta.375 74 9/6/2025
9.8.0-beta.373 159 9/5/2025
9.8.0-beta.372 146 9/4/2025
9.8.0-beta.370 148 9/2/2025
9.8.0-beta.364 137 9/1/2025
9.7.2 1,206 8/29/2025
9.7.2-beta.362 189 8/29/2025
9.7.2-beta.361 181 8/29/2025
9.7.2-beta.360 187 8/29/2025
9.7.2-beta.359 186 8/28/2025
9.7.2-beta.358 187 8/28/2025
9.7.2-beta.357 192 8/28/2025
9.7.1 254 8/27/2025
9.7.1-beta.355 186 8/27/2025
9.7.1-beta.354 187 8/27/2025
9.7.1-beta.353 191 8/27/2025
9.7.1-beta.352 181 8/27/2025
9.7.1-beta.351 183 8/27/2025
9.7.1-beta.348 167 8/14/2025
9.7.1-beta.344 243 8/10/2025
9.7.1-beta.343 215 8/8/2025
9.7.1-beta.342 223 8/7/2025
9.7.1-beta.341 219 8/6/2025
9.7.1-beta.340 210 8/5/2025
9.7.1-beta.339 205 8/5/2025
9.7.0 317 8/1/2025
9.7.0-beta.337 105 8/1/2025
9.7.0-beta.336 122 8/1/2025
9.7.0-beta.335 109 8/1/2025
9.7.0-beta.333 122 7/30/2025
9.6.1-beta.332 113 7/30/2025
9.6.1-beta.331 120 7/30/2025
9.6.1-beta.330 115 7/30/2025
9.6.1-beta.329 119 7/30/2025
9.6.1-beta.328 123 7/29/2025
9.6.1-beta.327 132 7/28/2025
9.6.1-beta.326 130 7/28/2025
9.6.0 1,455 7/10/2025
9.6.0-beta.324 143 7/10/2025
9.5.1-beta.323 146 7/10/2025
9.5.1-beta.322 146 7/10/2025
9.5.1-beta.321 140 7/10/2025
9.5.1-beta.320 146 7/9/2025
9.5.1-beta.319 132 7/8/2025
9.5.1-beta.318 143 7/2/2025
9.5.1-beta.317 138 6/30/2025
9.5.1-beta.315 138 6/26/2025
9.5.1-beta.314 147 6/23/2025
9.5.1-beta.313 132 6/20/2025
9.5.1-beta.312 149 6/20/2025
9.5.1-beta.311 143 6/18/2025
9.5.1-beta.310 169 6/17/2025
9.5.1-beta.309 139 6/17/2025
9.5.1-beta.308 142 6/17/2025
9.5.1-beta.307 389 6/16/2025
9.5.1-beta.306 289 6/11/2025
9.5.1-beta.305 116 6/7/2025
9.5.1-beta.304 127 6/6/2025
9.5.1-beta.303 141 6/4/2025
9.5.1-beta.302 143 6/4/2025
9.5.1-beta.301 146 6/2/2025
9.5.1-beta.300 175 5/28/2025
9.5.0 1,695 5/27/2025
9.5.0-beta.299 143 5/27/2025
9.5.0-beta.298 177 5/26/2025
9.5.0-beta.297 113 5/24/2025
9.5.0-beta.296 94 5/24/2025
9.5.0-beta.295 85 5/24/2025
9.4.1-beta.291 171 5/19/2025
9.4.1-beta.289 155 5/16/2025
9.4.1-beta.288 212 5/16/2025
9.4.1-beta.287 203 5/16/2025
9.4.1-beta.286 209 5/16/2025
9.4.1-beta.285 236 5/14/2025
9.4.1-beta.284 228 5/13/2025
9.4.1-beta.283 242 5/12/2025
9.4.1-beta.282 148 5/7/2025
9.4.1-beta.280 175 5/2/2025
9.4.1-beta.279 145 5/2/2025
9.4.1-beta.277 190 4/23/2025
9.4.1-beta.276 162 4/23/2025
9.4.1-beta.275 194 4/23/2025
9.4.1-beta.274 182 4/23/2025
9.4.1-beta.273 168 4/23/2025
9.4.1-beta.272 151 4/23/2025
9.4.1-beta.271 192 4/23/2025
9.4.1-beta.270 170 4/20/2025
9.4.0 626 4/20/2025
9.4.0-beta.269 171 4/20/2025
9.4.0-beta.268 166 4/20/2025
9.3.1-beta.267 160 4/20/2025
9.3.1-beta.266 97 4/19/2025
9.3.1-beta.265 215 4/15/2025
9.3.1-beta.264 183 4/15/2025
9.3.1-beta.263 190 4/15/2025
9.3.1-beta.262 206 4/15/2025
9.3.1-beta.260 156 4/10/2025
9.3.1-beta.259 172 4/8/2025
9.3.1-beta.258 183 4/8/2025
9.3.1-beta.257 171 4/8/2025
9.3.1-beta.256 161 4/8/2025
9.3.1-beta.255 161 4/8/2025
9.3.1-beta.254 194 4/8/2025
9.3.1-beta.253 174 4/1/2025
9.3.1-beta.252 141 3/27/2025
9.3.1-beta.250 169 3/27/2025
9.3.1-beta.249 146 3/27/2025
9.3.1-beta.248 167 3/27/2025
9.3.1-beta.247 136 3/27/2025
9.3.1-beta.244 490 3/25/2025
9.3.1-beta.242 491 3/24/2025
9.3.1-beta.241 175 3/19/2025
9.3.0 460 3/19/2025
9.3.0-beta.239 150 3/19/2025
9.2.2-beta.237 180 3/19/2025
9.2.2-beta.236 128 3/14/2025
9.2.2-beta.230 159 3/13/2025
9.2.2-beta.229 161 3/13/2025
9.2.2-beta.228 165 3/11/2025
9.2.2-beta.227 160 3/11/2025
9.2.2-beta.226 169 3/11/2025
9.2.2-beta.225 168 3/11/2025
9.2.2-beta.224 165 3/11/2025
9.2.2-beta.223 200 3/10/2025
9.2.2-beta.222 191 3/10/2025
9.2.2-beta.220 166 3/9/2025
9.2.2-beta.218 168 3/9/2025
9.2.2-beta.217 240 3/7/2025
9.2.2-beta.216 228 3/7/2025
9.2.2-beta.215 200 3/7/2025
9.2.2-beta.214 207 3/5/2025
9.2.2-beta.213 192 3/5/2025
9.2.2-beta.212 198 3/5/2025
9.2.2-beta.211 196 3/4/2025
9.2.2-beta.210 227 3/4/2025
9.2.2-beta.208 143 3/3/2025
9.2.1 223 3/3/2025
9.2.1-beta.207 139 3/2/2025
9.2.1-beta.206 133 3/1/2025
9.2.1-beta.205 104 2/27/2025
9.2.1-beta.204 113 2/26/2025
9.2.1-beta.203 89 2/26/2025
9.2.0 172 2/26/2025
9.2.0-beta.202 113 2/26/2025
9.2.0-beta.201 129 2/26/2025
9.2.0-beta.199 132 2/26/2025
9.2.0-beta.198 103 2/26/2025
9.1.1-beta.197 100 2/25/2025
9.1.1-beta.196 117 2/25/2025
9.1.1-beta.195 99 2/25/2025
9.1.1-beta.194 94 2/25/2025
9.1.1-beta.193 91 2/25/2025
9.1.1-beta.192 119 2/24/2025
9.1.1-beta.191 119 2/24/2025
9.1.1-beta.190 99 2/19/2025
9.1.1-beta.189 93 2/19/2025
9.1.1-beta.188 97 2/19/2025
9.1.1-beta.187 138 2/19/2025
9.1.1-beta.183 111 2/18/2025
9.1.1-beta.182 107 2/18/2025
9.1.1-beta.181 101 2/18/2025
9.1.1-beta.180 100 2/17/2025
9.1.1-beta.178 101 2/17/2025
9.1.1-beta.177 108 2/12/2025
9.1.1-beta.176 131 2/11/2025
9.1.1-beta.175 107 2/11/2025
9.1.1-beta.173 98 2/10/2025
9.1.1-beta.169 102 2/6/2025
9.1.1-beta.168 126 2/5/2025
9.1.1-beta.166 92 2/5/2025
9.1.1-beta.165 90 2/5/2025
9.1.1-beta.164 126 2/3/2025
9.1.1-beta.162 109 2/3/2025
9.1.1-beta.155 95 1/30/2025
9.1.1-beta.154 116 1/30/2025
9.1.1-beta.153 110 1/30/2025
9.1.1-beta.152 89 1/29/2025
9.1.1-beta.150 93 1/29/2025
9.1.1-beta.148 116 1/26/2025
9.1.1-beta.147 96 1/26/2025
9.1.1-beta.146 95 1/23/2025
9.1.1-beta.145 97 1/22/2025
9.1.1-beta.144 94 1/22/2025
9.1.1-beta.142 112 1/22/2025
9.1.1-beta.140 86 1/22/2025
9.1.1-beta.139 117 1/21/2025
9.1.1-beta.138 116 1/20/2025
9.1.1-beta.137 106 1/17/2025
9.1.1-beta.136 81 1/15/2025
9.1.1-beta.135 65 1/15/2025
9.1.1-beta.134 78 1/15/2025
9.1.1-beta.128 105 1/9/2025
9.1.1-beta.127 78 1/9/2025
9.1.1-beta.126 78 1/9/2025
9.1.1-beta.125 110 1/9/2025
9.1.1-beta.124 91 1/9/2025
9.1.0 310 12/12/2024
9.1.0-beta.123 101 1/3/2025
9.1.0-beta.122 96 1/3/2025
9.1.0-beta.121 102 1/2/2025
9.1.0-beta.120 101 12/30/2024
9.1.0-beta.119 117 12/30/2024
9.1.0-beta.118 90 12/30/2024
9.1.0-beta.116 101 12/30/2024
9.1.0-beta.114 114 12/30/2024
9.1.0-beta.113 88 12/30/2024
9.1.0-beta.112 102 12/18/2024
9.1.0-beta.110 126 12/16/2024
9.1.0-beta.109 128 12/12/2024
9.0.1-beta.108 123 12/12/2024
9.0.1-beta.107 87 12/11/2024
9.0.1-beta.106 105 12/12/2024
9.0.1-beta.104 100 12/11/2024
9.0.1-beta.102 126 12/6/2024
9.0.1-beta.99 123 12/6/2024
9.0.1-beta.98 102 12/6/2024
9.0.1-beta.95 128 12/5/2024
9.0.1-beta.94 116 12/5/2024
9.0.1-beta.93 90 12/2/2024
9.0.1-beta.92 101 11/30/2024
9.0.1-beta.91 95 11/30/2024
9.0.1-beta.90 101 11/29/2024
9.0.1-beta.89 91 11/29/2024
9.0.1-beta.88 98 11/27/2024
9.0.1-beta.87 122 11/27/2024
9.0.1-beta.86 138 11/27/2024
9.0.1-beta.84 104 11/24/2024
9.0.1-beta.83 96 11/22/2024
9.0.1-beta.82 108 11/21/2024
9.0.1-beta.81 88 11/19/2024
9.0.1-beta.80 85 11/19/2024
9.0.1-beta.79 114 11/19/2024
9.0.1-beta.77 94 11/15/2024
9.0.0 179 11/15/2024
9.0.0-beta.76 95 11/14/2024