/realestate-sunamount

Calculate the amount of natural sunlight inside a house to know if it's nice to live in

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

Real estate sunlight estimator (RESE)

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.

Installation

pip install rese

Links

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.