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.

Source Distribution

calendar-fact-1.0.3.tar.gz (3.4 kB view hashes)

Uploaded source

Built Distribution

calendar_fact-1.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page