Skip to main content

Generate calendar fact from xkcd.com/1930

Project description

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.

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.2.0.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

calendar_fact-1.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page