calendar-fact

Generate calendar fact from xkcd.com/1930


License
MIT
Install
pip install calendar-fact==1.2.0

Documentation

Calendar fact

Taken from xkcd.com/1930, this command generates calendar facts. Useful for MODs, head or foot lines in apps etc.

Installation

Install by running:

pip install calendar-fact

Usage in shell

Run:

calendar-fact

Usage in code

from calendar_fact import get_fact

new_fact = get_fact()

License

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.