Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
This is my first consequential contribution to Open Source, so don't hesitate to guide me and correct me.
Most conflictive change I think is the decorator to ensure that the arguments whose names are in the wrappers are tz-aware datetime.datetime objects.
Pros :
elegant (or so I think)
ease the maintenance or modification
Separate the function cores to common parameters checks
Cons :
harder to debug
can be hard to grasp if no prior experience with decorators
Resolve the Issue #42
This is my first consequential contribution to Open Source, so don't hesitate to guide me and correct me. Most conflictive change I think is the decorator to ensure that the arguments whose names are in the wrappers are tz-aware datetime.datetime objects.
Pros :
Cons :
Let me know what you think ! Louis