Generate calendar fact from xkcd.com/1930
pip install calendar-fact==1.0.1
Taken from xkcd.com/1930, this command generates calendar facts. Useful for MODs, head or foot lines in apps etc.
Install by running:
pip install calendar-fact
Run:
calendar-fact
from calendar_fact import get_fact
new_fact = get_fact()
The code is released under the MIT license.
The texts are released under the CC-BY-NC 2.5 license as explained at XKCD's license page.