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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file calendar-fact-1.2.0.tar.gz.

File metadata

File hashes

Hashes for calendar-fact-1.2.0.tar.gz
Algorithm Hash digest
SHA256 2b95b5dd2c1aa78c95dc01eb519725f10c09d85989e667e90372a77f81a05340
MD5 784fd168df4480056ff1852189eb550c
BLAKE2b-256 4ea4220303eb9f4aa380fec1b631d0165cec7c6fb17f6596d1b6e85f994d6008

See more details on using hashes here.

File details

Details for the file calendar_fact-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for calendar_fact-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 165b3c1f6c68f1d96f4e634f185285f631271ac5cb7f3bf84cb5443ae8464c7c
MD5 2fac2e65bfc1b432d862bcbb22ce6d9f
BLAKE2b-256 bc8ae4164d9b2d48962e68b6c9fbc0dd021d8e0a92158d5e24cc4cdaa5660b60

See more details on using hashes here.

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