Skip to main content
https://img.shields.io/travis/eldarion/kairios.svg https://img.shields.io/coveralls/eldarion/kairios.svg https://img.shields.io/pypi/dm/kairios.svg https://img.shields.io/pypi/v/kairios.svg https://img.shields.io/badge/license-BSD-blue.svg

Provides utilities for publishing events as a calendar.

At the moment, it just provides a visual calendar (both large and small) showing which days have events and optionally linking to a day detail page.

Usage

{% load kairios_tags %}

...

{% calendar events %}

where events implements the following protocol:

events.day_url(year, month, day, has_event, **kwargs)

return a link to the page for the given day or None if there is not to be a day link. has_event is a boolean telling this method whether there is an event on the day or not so you can choose whether a day without an event should link or not.

events.month_url(year, month, **kwargs)

return a link to the page for the given month or None if there is not to be a month link.

events_by_day(year, month, **kwargs)

return a dictionary mapping day number to a list of events on that day.

Note that all methods take additional key-word arguments that can be used in the calculation of the return value.

Metadata

Release files for kairios 0.4.1

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

Source distribution (sdist)

Source distribution for kairios 0.4.1
File Size Uploaded Provenance Actions
kairios-0.4.1.tar.gz 3.9 kB Without provenance Details for kairios-0.4.1.tar.gz

Release files / kairios-0.4.1.tar.gz

Download URL kairios-0.4.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
82066987389e08251e9cec3e661d18a23bef363f796337eca716dd9374556d65
BLAKE2b-256 checksum
How to use checksums
75e435849ebd9569a0e8522555f5ca8d163c15571c55953124031b11aec365eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for kairios 0.4.1

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.

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file No provenance

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