# EntrypointType

- Module: [Aspire.Hosting.Python](/reference/api/go/aspire.hosting.python.md)
- Version: `17.0.0`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Specifies the type of entrypoint for a Python application.

## Definition

```go
type EntrypointType string

const (
    EntrypointTypeExecutable EntrypointType = "Executable"
    EntrypointTypeScript     EntrypointType = "Script"
    EntrypointTypeModule     EntrypointType = "Module"
)
```

## Values

- `EntrypointTypeExecutable` = `"Executable"` -- A standalone executable from the virtual environment (e.g., "uvicorn", "flask", "pytest").
- `EntrypointTypeScript` = `"Script"` -- A Python script file to execute directly (e.g., "main.py", "app.py").
- `EntrypointTypeModule` = `"Module"` -- A Python module to run via `python -m <module>` (e.g., "flask", "uvicorn").
