Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.
Articles on timedelta
3 Cool Things You Can do With the dateutil Module
By Bob Belderbos on 30 November 2018
In this short article I will show you how to use dateutil’s parse, relativedelta and rrule to make it easier to work with datetimes in Python.