The rtc module in CircuitPython is a standardized interface for realtime clock (RTC) devices. While it is possible to use an RTC directly from the instance of an RTC hardware driver, wrapping it with rtc has a couple of advantages:
time.time()andtime.localtime()are backed byrtc, all clock source will be synchronizedrtccorrectly handled thetm_yday(yearday) parameter, which may not be done by the hardware driver libary
Of course, you may not care about either of these, in which case rtc might be overkill and leaving it out can save you a little RAM.