This is definitely the messiest module, although to some extent that's because it's the most complex. It would be nice if it was a little more pythonic - I'd like it to read more like pseudocode. There are also some rather long lines, and fairly long methods. Could probably also do with factoring out the isinstance stuff which lets you pass datetimes or hours and values or lists of values etc.
This is definitely the messiest module, although to some extent that's because it's the most complex. It would be nice if it was a little more pythonic - I'd like it to read more like pseudocode. There are also some rather long lines, and fairly long methods. Could probably also do with factoring out the isinstance stuff which lets you pass datetimes or hours and values or lists of values etc.