OpenTPS is an open-source treatment planning system (TPS) for research in radiation therapy and proton therapy.