Skip to main content

Generate calendar fact from

Project description

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


Install by running:

pip install calendar-fact

Usage in shell



Usage in code

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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for calendar-fact, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size calendar_fact-1.2.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size calendar-fact-1.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page