Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
calendar_fact-1.2.0-py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py3
calendar-fact-1.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page