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.
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calendar-fact-1.2.0.tar.gz.
File metadata
- Download URL: calendar-fact-1.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b95b5dd2c1aa78c95dc01eb519725f10c09d85989e667e90372a77f81a05340
|
|
| MD5 |
784fd168df4480056ff1852189eb550c
|
|
| BLAKE2b-256 |
4ea4220303eb9f4aa380fec1b631d0165cec7c6fb17f6596d1b6e85f994d6008
|
File details
Details for the file calendar_fact-1.2.0-py3-none-any.whl.
File metadata
- Download URL: calendar_fact-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
165b3c1f6c68f1d96f4e634f185285f631271ac5cb7f3bf84cb5443ae8464c7c
|
|
| MD5 |
2fac2e65bfc1b432d862bcbb22ce6d9f
|
|
| BLAKE2b-256 |
bc8ae4164d9b2d48962e68b6c9fbc0dd021d8e0a92158d5e24cc4cdaa5660b60
|