Skip to content
Docs Try Aspire

EntrypointType

Enum net10.0
📦 Aspire.Hosting.Python v13.1.2
Specifies the type of entrypoint for a Python application.
namespace Aspire.Hosting.Python;
public sealed enum EntrypointType
Executable = 0
A standalone executable from the virtual environment (e.g., "uvicorn", "flask", "pytest").
Script = 1
A Python script file to execute directly (e.g., "main.py", "app.py").
Module = 2
A Python module to run via python -m <module> (e.g., "flask", "uvicorn").