PySolarCalc

Follows formulae from Spokas and Forcella (2006)

Light Type
Latitude | Longitude | Elevation
Range actual start | start | end
Duration
Scaling factor