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

Uploaded Source

Built Distribution

calendar_fact-1.1.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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