Skip to main content

Calendar fact

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.

Metadata

Release files for calendar-fact 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calendar-fact 1.2.0
File Size Uploaded Provenance
calendar-fact-1.2.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for calendar-fact 1.2.0
File Interpreter ABI Platform
calendar_fact-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / calendar-fact-1.2.0.tar.gz

Download URL calendar-fact-1.2.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2b95b5dd2c1aa78c95dc01eb519725f10c09d85989e667e90372a77f81a05340
BLAKE2b-256 checksum
How to use checksums
4ea4220303eb9f4aa380fec1b631d0165cec7c6fb17f6596d1b6e85f994d6008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / calendar_fact-1.2.0-py3-none-any.whl

Download URL calendar_fact-1.2.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
165b3c1f6c68f1d96f4e634f185285f631271ac5cb7f3bf84cb5443ae8464c7c
BLAKE2b-256 checksum
How to use checksums
bc8ae4164d9b2d48962e68b6c9fbc0dd021d8e0a92158d5e24cc4cdaa5660b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for calendar-fact 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page