ics-query 0.0.1a0
pip install ics-query==0.0.1a0
Released:
Find out what happens in ICS calendar files - query and filter RFC 5545 compatible `.ics` files for events, journals, TODOs and more.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc...)
- Author: Nicco Kunzmann
- Maintainer: Nicco Kunzmann
- Tags calendar , command line , icalendar , ics , rfc5545 , scheduling
- Requires: Python >=3.8
-
Provides-Extra:
test
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
ics-query
Find out what happens in ICS calendar files - query and filter RFC 5545 compatible .ics
files for events, journals, TODOs and more.
Installation
You can install this package from the PyPI.
pip install ics-query
ics-query at
- occurrences at certain times
You can get all events that happen at a certain day.
ics-query --components VEVENT at 2029-12-24 calendar.ics
You can get all events that happen today.
ics-query --components VEVENT at `date +%Y-%m-%d` calendar.ics
You can get all TODOs that happen at in certain month.
ics-query --components VTODO at 2029-12-24 calendar.ics
ics-query at
- time ranges
ics-query --output=count
- count occurrences
ics-query --output=ics
- use ics as output (default)
ics-query --select-index
- reduce output size
Examples: 0,2,4
0-10
ics-query all
- the whole calendar
ics-query between
- time ranges
ics-query between dt dt
ics-query between dt duration
ics-query --select-component
- filter for components
ics-query --select-uid
- filter by uid
How to edit an event
To edit a component like an event, you can append it to the calendar and increase the sequence number.
Example:
- get the first event
--select-index=0
TODO: recurring-ical-events: set recurrence-id, sequence number - change the summary
- increase sequence number
- add the event to the end of the calendar file
- show that the occurrence has changed
Piping calendars
cat calendar.ics | ics-query --output=count --filter-component=VEVENT all > calendar-event-count.int
Notifications
Examples:
- There are x todos in the next hour
- There are x events today
- Please write a journal entry!
Changelog
-
v0.0.1a
- first version
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc...)
- Author: Nicco Kunzmann
- Maintainer: Nicco Kunzmann
- Tags calendar , command line , icalendar , ics , rfc5545 , scheduling
- Requires: Python >=3.8
-
Provides-Extra:
test
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 Distribution
Built Distribution
File details
Details for the file ics_query-0.0.1a0.tar.gz
.
File metadata
- Download URL: ics_query-0.0.1a0.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
358c7e2d7288f042497f31339e755d070e15d5d9fe97725a7e99bffa093a0f4e
|
|
MD5 |
c9d3184d12981c890bc3bdfe0df235c4
|
|
BLAKE2b-256 |
5374f4831f640b42c327301ad28370c28bef95165143621fdebcb48f9840f261
|
File details
Details for the file ics_query-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: ics_query-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
41277e2a2a460c3eba01d35b8cf7c7b0bb4c65f991a8cf9914c44c3facdcc650
|
|
MD5 |
2d419f0565cec5885b72304609162f2d
|
|
BLAKE2b-256 |
e35bc30c92ff33e8f9c185cb4ec6ab8e7ba419bfca5ab3b7f56c5d17fa2e1b71
|