CommunityToolkit.Aspire.Hosting.Python.Extensions 9.9.0

Prefix Reserved
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 9.9.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Python.Extensions -Version 9.9.0
                    
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="9.9.0" />
                    
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="9.9.0" />
                    
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 9.9.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Python.Extensions, 9.9.0"
                    
#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@9.9.0
                    
#: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=9.9.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Python.Extensions&version=9.9.0
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.Python.Extensions library

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.486 30 1/12/2026
13.0.1-beta.468 651 12/3/2025
13.0.1-beta.467 620 12/3/2025
13.0.0 532 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 91 11/23/2025
13.0.0-beta.453 109 11/22/2025
13.0.0-beta.450 120 11/22/2025
13.0.0-beta.448 118 11/22/2025
13.0.0-beta.444 346 11/17/2025
13.0.0-beta.443 264 11/17/2025
13.0.0-beta.440 98 11/15/2025
13.0.0-beta.439 240 11/12/2025
13.0.0-beta.438 235 11/12/2025
13.0.0-beta.436 237 11/12/2025
13.0.0-beta.435 234 11/11/2025
13.0.0-beta.433 156 11/10/2025
13.0.0-beta.432 157 11/10/2025
13.0.0-beta.431 147 11/6/2025
13.0.0-beta.430 153 11/6/2025
9.9.0 321 11/3/2025
9.9.0-beta.427 151 11/3/2025
9.8.1-beta.426 149 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 141 10/27/2025
9.8.1-beta.414 133 10/24/2025
9.8.1-beta.413 138 10/22/2025
9.8.1-beta.410 135 10/16/2025
9.8.1-beta.408 130 10/16/2025
9.8.1-beta.407 132 10/16/2025
9.8.1-beta.406 136 10/15/2025
9.8.0 3,847 9/26/2025
9.8.0-beta.405 136 10/15/2025
9.8.0-beta.404 140 10/13/2025
9.8.0-beta.402 137 9/29/2025
9.8.0-beta.401 131 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 139 9/25/2025
9.8.0-beta.395 137 9/24/2025
9.8.0-beta.394 150 9/23/2025
9.8.0-beta.393 145 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 276 9/16/2025
9.8.0-beta.386 214 9/15/2025
9.8.0-beta.385 212 9/15/2025
9.8.0-beta.384 62 9/13/2025
9.8.0-beta.376 167 9/8/2025
9.8.0-beta.375 75 9/6/2025
9.8.0-beta.373 159 9/5/2025
9.8.0-beta.372 148 9/4/2025
9.8.0-beta.370 149 9/2/2025
9.8.0-beta.364 139 9/1/2025
9.7.2 1,208 8/29/2025
9.7.2-beta.362 191 8/29/2025
9.7.2-beta.361 181 8/29/2025
9.7.2-beta.360 188 8/29/2025
9.7.2-beta.359 192 8/28/2025
9.7.2-beta.358 188 8/28/2025
9.7.2-beta.357 192 8/28/2025
9.7.1 257 8/27/2025
9.7.1-beta.355 189 8/27/2025
9.7.1-beta.354 191 8/27/2025
9.7.1-beta.353 191 8/27/2025
9.7.1-beta.352 182 8/27/2025
9.7.1-beta.351 184 8/27/2025
9.7.1-beta.348 169 8/14/2025
9.7.1-beta.344 246 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 206 8/5/2025
9.7.0 318 8/1/2025
9.7.0-beta.337 106 8/1/2025
9.7.0-beta.336 122 8/1/2025
9.7.0-beta.335 111 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 121 7/30/2025
9.6.1-beta.330 115 7/30/2025
9.6.1-beta.329 121 7/30/2025
9.6.1-beta.328 125 7/29/2025
9.6.1-beta.327 135 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 148 7/10/2025
9.5.1-beta.321 141 7/10/2025
9.5.1-beta.320 147 7/9/2025
9.5.1-beta.319 134 7/8/2025
9.5.1-beta.318 145 7/2/2025
9.5.1-beta.317 138 6/30/2025
9.5.1-beta.315 141 6/26/2025
9.5.1-beta.314 150 6/23/2025
9.5.1-beta.313 133 6/20/2025
9.5.1-beta.312 149 6/20/2025
9.5.1-beta.311 145 6/18/2025
9.5.1-beta.310 170 6/17/2025
9.5.1-beta.309 142 6/17/2025
9.5.1-beta.308 143 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 119 6/7/2025
9.5.1-beta.304 129 6/6/2025
9.5.1-beta.303 143 6/4/2025
9.5.1-beta.302 144 6/4/2025
9.5.1-beta.301 147 6/2/2025
9.5.1-beta.300 178 5/28/2025
9.5.0 1,695 5/27/2025
9.5.0-beta.299 144 5/27/2025
9.5.0-beta.298 178 5/26/2025
9.5.0-beta.297 116 5/24/2025
9.5.0-beta.296 95 5/24/2025
9.5.0-beta.295 86 5/24/2025
9.4.1-beta.291 174 5/19/2025
9.4.1-beta.289 158 5/16/2025
9.4.1-beta.288 216 5/16/2025
9.4.1-beta.287 204 5/16/2025
9.4.1-beta.286 210 5/16/2025
9.4.1-beta.285 236 5/14/2025
9.4.1-beta.284 232 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 146 5/2/2025
9.4.1-beta.277 193 4/23/2025
9.4.1-beta.276 163 4/23/2025
9.4.1-beta.275 195 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 153 4/23/2025
9.4.1-beta.271 192 4/23/2025
9.4.1-beta.270 171 4/20/2025
9.4.0 694 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 186 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 158 4/10/2025
9.3.1-beta.259 174 4/8/2025
9.3.1-beta.258 184 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 164 4/8/2025
9.3.1-beta.254 194 4/8/2025
9.3.1-beta.253 177 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 170 3/27/2025
9.3.1-beta.247 138 3/27/2025
9.3.1-beta.244 493 3/25/2025
9.3.1-beta.242 491 3/24/2025
9.3.1-beta.241 177 3/19/2025
9.3.0 466 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 131 3/14/2025
9.2.2-beta.230 160 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 171 3/11/2025
9.2.2-beta.225 169 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 192 3/10/2025
9.2.2-beta.220 170 3/9/2025
9.2.2-beta.218 171 3/9/2025
9.2.2-beta.217 240 3/7/2025
9.2.2-beta.216 231 3/7/2025
9.2.2-beta.215 202 3/7/2025
9.2.2-beta.214 209 3/5/2025
9.2.2-beta.213 192 3/5/2025
9.2.2-beta.212 200 3/5/2025
9.2.2-beta.211 199 3/4/2025
9.2.2-beta.210 230 3/4/2025
9.2.2-beta.208 144 3/3/2025
9.2.1 224 3/3/2025
9.2.1-beta.207 139 3/2/2025
9.2.1-beta.206 134 3/1/2025
9.2.1-beta.205 104 2/27/2025
9.2.1-beta.204 116 2/26/2025
9.2.1-beta.203 93 2/26/2025
9.2.0 172 2/26/2025
9.2.0-beta.202 117 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 118 2/25/2025
9.1.1-beta.195 101 2/25/2025
9.1.1-beta.194 94 2/25/2025
9.1.1-beta.193 92 2/25/2025
9.1.1-beta.192 120 2/24/2025
9.1.1-beta.191 120 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 98 2/19/2025
9.1.1-beta.187 141 2/19/2025
9.1.1-beta.183 111 2/18/2025
9.1.1-beta.182 109 2/18/2025
9.1.1-beta.181 101 2/18/2025
9.1.1-beta.180 104 2/17/2025
9.1.1-beta.178 101 2/17/2025
9.1.1-beta.177 109 2/12/2025
9.1.1-beta.176 134 2/11/2025
9.1.1-beta.175 107 2/11/2025
9.1.1-beta.173 99 2/10/2025
9.1.1-beta.169 103 2/6/2025
9.1.1-beta.168 129 2/5/2025
9.1.1-beta.166 93 2/5/2025
9.1.1-beta.165 92 2/5/2025
9.1.1-beta.164 128 2/3/2025
9.1.1-beta.162 110 2/3/2025
9.1.1-beta.155 96 1/30/2025
9.1.1-beta.154 116 1/30/2025
9.1.1-beta.153 114 1/30/2025
9.1.1-beta.152 89 1/29/2025
9.1.1-beta.150 94 1/29/2025
9.1.1-beta.148 117 1/26/2025
9.1.1-beta.147 98 1/26/2025
9.1.1-beta.146 95 1/23/2025
9.1.1-beta.145 98 1/22/2025
9.1.1-beta.144 94 1/22/2025
9.1.1-beta.142 114 1/22/2025
9.1.1-beta.140 89 1/22/2025
9.1.1-beta.139 121 1/21/2025
9.1.1-beta.138 116 1/20/2025
9.1.1-beta.137 107 1/17/2025
9.1.1-beta.136 83 1/15/2025
9.1.1-beta.135 68 1/15/2025
9.1.1-beta.134 79 1/15/2025
9.1.1-beta.128 105 1/9/2025
9.1.1-beta.127 81 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 92 1/9/2025
9.1.0 310 12/12/2024
9.1.0-beta.123 105 1/3/2025
9.1.0-beta.122 99 1/3/2025
9.1.0-beta.121 103 1/2/2025
9.1.0-beta.120 101 12/30/2024
9.1.0-beta.119 119 12/30/2024
9.1.0-beta.118 91 12/30/2024
9.1.0-beta.116 102 12/30/2024
9.1.0-beta.114 116 12/30/2024
9.1.0-beta.113 90 12/30/2024
9.1.0-beta.112 102 12/18/2024
9.1.0-beta.110 128 12/16/2024
9.1.0-beta.109 128 12/12/2024
9.0.1-beta.108 127 12/12/2024
9.0.1-beta.107 89 12/11/2024
9.0.1-beta.106 106 12/12/2024
9.0.1-beta.104 100 12/11/2024
9.0.1-beta.102 128 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 131 12/5/2024
9.0.1-beta.94 116 12/5/2024
9.0.1-beta.93 91 12/2/2024
9.0.1-beta.92 104 11/30/2024
9.0.1-beta.91 97 11/30/2024
9.0.1-beta.90 102 11/29/2024
9.0.1-beta.89 92 11/29/2024
9.0.1-beta.88 100 11/27/2024
9.0.1-beta.87 124 11/27/2024
9.0.1-beta.86 140 11/27/2024
9.0.1-beta.84 106 11/24/2024
9.0.1-beta.83 97 11/22/2024
9.0.1-beta.82 108 11/21/2024
9.0.1-beta.81 91 11/19/2024
9.0.1-beta.80 87 11/19/2024
9.0.1-beta.79 116 11/19/2024
9.0.1-beta.77 95 11/15/2024
9.0.0 180 11/15/2024
9.0.0-beta.76 97 11/14/2024