PRINCE is a code that solves the UHECR extra-galactic propagation problem by integrating the time-dependent transport equation. It is implemented in python and it is very efficient, which allows obtaining results rapidly and exploring a wide range of values for the input parameters relatively fast. It includes all possible interactions such as cosmological adiabatic energy losses, pair production, photopion production and photonuclear disintegration for nuclear species. The complete nuclear cascades resulting from the latter interactions are described with individual energy densities for each species.

link: https://github.com/joheinze/PriNCe