Datasette plugin for outputting iCalendar files
Project description
datasette-ics
Datasette plugin that adds support for generating iCalendar .ics files with the results of a SQL query.
Installation
Install this plugin in the same environment as Datasette to enable the .ics output extension.
$ pip install datasette-ics
Usage
To create an iCalendar file you need to define a custom SQL query that returns a required set of columns:
event_name- the short name for the eventevent_dtstart- when the event starts
The following columns are optional:
event_dtend- when the event endsevent_duration- the duration of the event (use instead ofdtend)event_description- a longer description of the eventevent_uid- a globally unique identifier for this eventevent_tzid- the timezone for the event, e.g.America/Chicago
A query that returns these columns can then be returned as an ics feed by adding the .ics extension.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 datasette_ics-0.3a0-py3-none-any.whl.
File metadata
- Download URL: datasette_ics-0.3a0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a7b7d2afc8494339f722e5a04ff733989c7552dbe158a95f0b889ea6aaefb64
|
|
| MD5 |
758bf9d4331b6367daf5309cf7c6b77d
|
|
| BLAKE2b-256 |
862da16380c361f90bf9ca580c1e5c1abc97052c022280e338d1d348ba76ddc6
|