Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun.