This software calculates a score for the amount of natural sunlight coming into (the rooms of) a house through its windows, to get an idea of if it's nice to live inside it. The library takes shadowing of neighboring buildings and other obstacles into account, as well as computation of realistic sunlight irradiation.
This software is licensed under the MPL-2.0.
If you use this library for whatever purpose, please let me know so I may link back and/or refer to your projects.
pip install rese
- The package documentation
- A realistic sunlight simulation over time on a map online
- The
pysolar
library, licensed under GPLv3 - The
pytz
library, licensed under the MIT license
Hint on using timezone-aware datetime
objects:
- Best is using the
pytz
package, which knows about transition times between standard and daylight saving times. - Alternatively, use fixed-hours timezones or the replacement class defined for Python 2 (cf. source of
sunamount
). - There is also an example file showing the use of the library.