# EntrypointType

- Kind: `enum`
- Package: [Aspire.Hosting.Python](/reference/api/csharp/aspire.hosting.python.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Python`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting.Python/EntrypointType.cs)

Specifies the type of entrypoint for a Python application.

## Definition

```csharp
namespace Aspire.Hosting.Python;

public enum EntrypointType
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| 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"). |
