ics-query 0.4.24__py3-none-any.whl → 0.4.32__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ics_query/_version.py +2 -2
- ics_query/cli.py +1 -1
- ics_query/tests/runs/all --tz Singapore one-event.ics -.run +1 -0
- ics_query/tests/runs/all three-events.ics -.run +3 -0
- ics_query/tests/runs/at 2019-03-04 multiple-calendars.ics -.run +2 -0
- ics_query/tests/runs/at 2019-03-04 one-event-twice.ics -.run +2 -0
- ics_query/tests/runs/at 2019-03-04 one-event.ics -.run +1 -0
- ics_query/tests/runs/at 2019-03-07 multiple-calendars.ics -.run +1 -0
- ics_query/tests/runs/at 2024-08-20 Berlin-Los-Angeles.ics -.run +2 -0
- ics_query/tests/runs/between 20240823 4d recurring-work-events.ics -.run +2 -0
- ics_query/tests/runs/first -c VJOURNAL -c VEVENT one-event.ics -.run +1 -0
- ics_query/tests/runs/first -c VJOURNAL simple-journal.ics -.run +1 -0
- ics_query/tests/runs/first -c VTODO -c VJOURNAL simple-todo.ics -.run +1 -0
- ics_query/tests/runs/first -c VTODO simple-todo.ics -.run +1 -0
- ics_query/tests/runs/first recurring-work-events.ics -.run +1 -0
- ics_query/tests/test_command_line.py +8 -2
- {ics_query-0.4.24.dist-info → ics_query-0.4.32.dist-info}/METADATA +12 -5
- {ics_query-0.4.24.dist-info → ics_query-0.4.32.dist-info}/RECORD +21 -21
- {ics_query-0.4.24.dist-info → ics_query-0.4.32.dist-info}/WHEEL +0 -0
- {ics_query-0.4.24.dist-info → ics_query-0.4.32.dist-info}/entry_points.txt +0 -0
- {ics_query-0.4.24.dist-info → ics_query-0.4.32.dist-info}/licenses/LICENSE +0 -0
ics_query/_version.py
CHANGED
ics_query/cli.py
CHANGED
|
@@ -210,7 +210,7 @@ def opt_available_timezones(*param_decls: str, **kwargs: t.Any) -> t.Callable:
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
def opt_license(*param_decls: str, **kwargs: t.Any) -> t.Callable:
|
|
213
|
-
"""
|
|
213
|
+
"""Show the license
|
|
214
214
|
|
|
215
215
|
This is copied from the --help option.
|
|
216
216
|
"""
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20190304T000000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20190304T010000
|
|
5
5
|
DTSTAMP:20190303T111937
|
|
6
6
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190304T000000
|
|
7
8
|
CLASS:PUBLIC
|
|
8
9
|
CREATED:20190303T111937
|
|
9
10
|
LAST-MODIFIED:20190303T111937
|
|
@@ -15,6 +16,7 @@ DTSTART;TZID=Europe/Berlin:20190307T000000
|
|
|
15
16
|
DTEND;TZID=Europe/Berlin:20190307T010000
|
|
16
17
|
DTSTAMP:20190303T111937
|
|
17
18
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
19
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190307T000000
|
|
18
20
|
CLASS:PUBLIC
|
|
19
21
|
CREATED:20190303T111937
|
|
20
22
|
LAST-MODIFIED:20190303T111937
|
|
@@ -26,6 +28,7 @@ DTSTART;TZID=Europe/Berlin:20190310T000000
|
|
|
26
28
|
DTEND;TZID=Europe/Berlin:20190310T010000
|
|
27
29
|
DTSTAMP:20190303T111937
|
|
28
30
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
31
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190310T000000
|
|
29
32
|
CLASS:PUBLIC
|
|
30
33
|
CREATED:20190303T111937
|
|
31
34
|
LAST-MODIFIED:20190303T111937
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20190304T000000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20190304T010000
|
|
5
5
|
DTSTAMP:20190303T111937
|
|
6
6
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190304T000000
|
|
7
8
|
CLASS:PUBLIC
|
|
8
9
|
CREATED:20190303T111937
|
|
9
10
|
LAST-MODIFIED:20190303T111937
|
|
@@ -15,6 +16,7 @@ DTSTART;TZID=Europe/Berlin:20190304T080000
|
|
|
15
16
|
DTEND;TZID=Europe/Berlin:20190304T083000
|
|
16
17
|
DTSTAMP:20190303T111937
|
|
17
18
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
19
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190304T080000
|
|
18
20
|
CREATED:20190303T111937
|
|
19
21
|
LAST-MODIFIED:20190303T111937
|
|
20
22
|
END:VEVENT
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20190304T080000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20190304T083000
|
|
5
5
|
DTSTAMP:20190303T111937
|
|
6
6
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190304T080000
|
|
7
8
|
CREATED:20190303T111937
|
|
8
9
|
LAST-MODIFIED:20190303T111937
|
|
9
10
|
END:VEVENT
|
|
@@ -13,6 +14,7 @@ DTSTART;TZID=Europe/Berlin:20190304T080000
|
|
|
13
14
|
DTEND;TZID=Europe/Berlin:20190304T083000
|
|
14
15
|
DTSTAMP:20190303T111937
|
|
15
16
|
UID:UYDQSG9TH4DE0WM3QFL2J
|
|
17
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20190304T080000
|
|
16
18
|
CREATED:20190303T111937
|
|
17
19
|
LAST-MODIFIED:20190303T111937
|
|
18
20
|
END:VEVENT
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20240820T060000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20240820T070000
|
|
5
5
|
DTSTAMP:20240823T130444Z
|
|
6
6
|
UID:b27ea261-f23d-4e03-a7ac-f8cb0d00f07f
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20240820T060000
|
|
7
8
|
CREATED:20240823T120639Z
|
|
8
9
|
LAST-MODIFIED:20240823T130444Z
|
|
9
10
|
TRANSP:OPAQUE
|
|
@@ -15,6 +16,7 @@ DTSTART;TZID=America/Los_Angeles:20240820T060000
|
|
|
15
16
|
DTEND;TZID=America/Los_Angeles:20240820T070000
|
|
16
17
|
DTSTAMP:20240823T130711Z
|
|
17
18
|
UID:6d7ff7f3-4bc4-4d89-afa0-771bd690518a
|
|
19
|
+
RECURRENCE-ID;TZID=America/Los_Angeles:20240820T060000
|
|
18
20
|
SEQUENCE:1
|
|
19
21
|
CREATED:20240823T120639Z
|
|
20
22
|
LAST-MODIFIED:20240823T130711Z
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20240823T090000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20240823T170000
|
|
5
5
|
DTSTAMP:20240823T082915Z
|
|
6
6
|
UID:6b85b60c-eb1a-4338-9ece-33541b95bf17
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20240823T090000
|
|
7
8
|
SEQUENCE:1
|
|
8
9
|
CREATED:20240823T082829Z
|
|
9
10
|
LAST-MODIFIED:20240823T082915Z
|
|
@@ -16,6 +17,7 @@ DTSTART;TZID=Europe/Berlin:20240826T090000
|
|
|
16
17
|
DTEND;TZID=Europe/Berlin:20240826T170000
|
|
17
18
|
DTSTAMP:20240823T082915Z
|
|
18
19
|
UID:6b85b60c-eb1a-4338-9ece-33541b95bf17
|
|
20
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20240826T090000
|
|
19
21
|
SEQUENCE:1
|
|
20
22
|
CREATED:20240823T082829Z
|
|
21
23
|
LAST-MODIFIED:20240823T082915Z
|
|
@@ -7,6 +7,7 @@ DESCRIPTION:We made it this year too. Probably. What's the point of a re
|
|
|
7
7
|
DTSTAMP:19920901T130000Z
|
|
8
8
|
DTSTART;VALUE=DATE:19920420
|
|
9
9
|
PRIORITY:1
|
|
10
|
+
RECURRENCE-ID;VALUE=DATE:19920420
|
|
10
11
|
SUMMARY:Yearly Income Tax Report
|
|
11
12
|
UID:19920901T130000Z-123409@host.com
|
|
12
13
|
END:VJOURNAL
|
|
@@ -4,6 +4,7 @@ DTSTART;TZID=Europe/Berlin:20240819T090000
|
|
|
4
4
|
DTEND;TZID=Europe/Berlin:20240819T170000
|
|
5
5
|
DTSTAMP:20240823T082915Z
|
|
6
6
|
UID:6b85b60c-eb1a-4338-9ece-33541b95bf17
|
|
7
|
+
RECURRENCE-ID;TZID=Europe/Berlin:20240819T090000
|
|
7
8
|
SEQUENCE:1
|
|
8
9
|
CREATED:20240823T082829Z
|
|
9
10
|
LAST-MODIFIED:20240823T082915Z
|
|
@@ -68,5 +68,11 @@ def test_special_timezones(run):
|
|
|
68
68
|
def test_localtime_is_not_in_the_result_string(run):
|
|
69
69
|
"""We do not want 'localtime' to turn up as the result tz name."""
|
|
70
70
|
result = run("first", "--tz", "localtime", "one-event-without-timezone.ics")
|
|
71
|
-
assert
|
|
72
|
-
|
|
71
|
+
assert (
|
|
72
|
+
f"DTSTART;TZID={get_localzone_name()}:201903" in result.output
|
|
73
|
+
or "TZID=" not in result.output
|
|
74
|
+
)
|
|
75
|
+
assert (
|
|
76
|
+
f"DTEND;TZID={get_localzone_name()}:201903" in result.output
|
|
77
|
+
or "TZID=" not in result.output
|
|
78
|
+
)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ics-query
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.32
|
|
4
4
|
Summary: Find out what happens in ICS calendar files - query and filter RFC 5545 compatible .ics files for events, journals, TODOs and more.
|
|
5
5
|
Project-URL: Homepage, https://github.com/niccokunzmann/ics-query/
|
|
6
6
|
Project-URL: Repository, https://github.com/niccokunzmann/ics-query/
|
|
7
|
-
Project-URL: source_archive, https://github.com/niccokunzmann/ics-query/archive/
|
|
7
|
+
Project-URL: source_archive, https://github.com/niccokunzmann/ics-query/archive/a11ed5390eb3571ecd3e0af2a1b990812f3de41d.zip
|
|
8
8
|
Project-URL: Issues, https://github.com/niccokunzmann/ics-query/issues
|
|
9
9
|
Project-URL: Documentation, https://github.com/niccokunzmann/ics-query/
|
|
10
10
|
Project-URL: Changelog, https://github.com/niccokunzmann/ics-query/#changelog
|
|
@@ -697,11 +697,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
697
697
|
Classifier: Topic :: Office/Business :: Scheduling
|
|
698
698
|
Requires-Python: >=3.9
|
|
699
699
|
Requires-Dist: click==8.1.8
|
|
700
|
-
Requires-Dist: icalendar==6.1.
|
|
700
|
+
Requires-Dist: icalendar==6.1.3
|
|
701
701
|
Requires-Dist: python-dateutil==2.9.0.post0
|
|
702
|
-
Requires-Dist: recurring-ical-events==3.
|
|
702
|
+
Requires-Dist: recurring-ical-events==3.7.0
|
|
703
703
|
Requires-Dist: six==1.17.0
|
|
704
|
-
Requires-Dist: tzdata==2025.
|
|
704
|
+
Requires-Dist: tzdata==2025.2
|
|
705
705
|
Requires-Dist: tzlocal==5.3.1
|
|
706
706
|
Requires-Dist: x-wr-timezone==2.0.1
|
|
707
707
|
Provides-Extra: test
|
|
@@ -1035,6 +1035,13 @@ while `b` and `c` can change.
|
|
|
1035
1035
|
|
|
1036
1036
|
This section should set you up for developing `ics-query`.
|
|
1037
1037
|
|
|
1038
|
+
To create new commits, you should install [pre-commit](https://pre-commit.com/).
|
|
1039
|
+
Then run:
|
|
1040
|
+
|
|
1041
|
+
```shell
|
|
1042
|
+
pre-commit install
|
|
1043
|
+
```
|
|
1044
|
+
|
|
1038
1045
|
### Testing
|
|
1039
1046
|
|
|
1040
1047
|
This project's development is driven by tests.
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
ics_query/__init__.py,sha256=BBd-FYDFf3jY_ApkMRkivqGti2uMeP4OT6KtgZDixic,917
|
|
2
2
|
ics_query/__main__.py,sha256=1rFDbZZcd6llmQ-X_611jWdrua4HMOnpOclKRvf03Us,737
|
|
3
|
-
ics_query/_version.py,sha256=
|
|
4
|
-
ics_query/cli.py,sha256=
|
|
3
|
+
ics_query/_version.py,sha256=oAm79fUiHcXTCTEkFD4DV2bxk8dDUofRGFcRzCcXEdU,513
|
|
4
|
+
ics_query/cli.py,sha256=HVHwMc_4IZa08gepKadZ6fvThk9l5MAOCteCqjFj9pk,19984
|
|
5
5
|
ics_query/parse.py,sha256=AO2TBoe98exzfzTKsoF5ZAvJOg3hN2qRpP15DAQKZaM,2415
|
|
6
6
|
ics_query/query.py,sha256=9HSSWJ1y7avU6mRDXBQKKTkk9oeG9qEwhr3k0piHbaU,2692
|
|
7
7
|
ics_query/version.py,sha256=ByXlZC-vAOZfkpZfh05KiLVnOH8IcSrQzylVZmjcnpA,1518
|
|
8
8
|
ics_query/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
ics_query/tests/conftest.py,sha256=MmxzXtpXHN3pf8jDmVGXvxcNXfepRwrJ03EF68zRSrY,3668
|
|
10
|
-
ics_query/tests/test_command_line.py,sha256=
|
|
10
|
+
ics_query/tests/test_command_line.py,sha256=33zCwyXIbgCrpGyozuibXD8VcDnvKHTV38YOKXdKCps,2636
|
|
11
11
|
ics_query/tests/test_parse_date.py,sha256=EGD06AtO_kNDcYEY7vhI9rN45HiZPbRm2LkGZoVW6iw,2785
|
|
12
12
|
ics_query/tests/test_parse_timedelta.py,sha256=EpM013rw-G61wI0hyWjtFOtE7xXo2DNsU3vSIULGZ1k,1469
|
|
13
|
-
ics_query/tests/runs/all --tz Singapore one-event.ics -.run,sha256=
|
|
14
|
-
ics_query/tests/runs/all three-events.ics -.run,sha256=
|
|
15
|
-
ics_query/tests/runs/at 2019-03-04 multiple-calendars.ics -.run,sha256=
|
|
16
|
-
ics_query/tests/runs/at 2019-03-04 one-event-twice.ics -.run,sha256=
|
|
17
|
-
ics_query/tests/runs/at 2019-03-04 one-event.ics -.run,sha256=
|
|
18
|
-
ics_query/tests/runs/at 2019-03-07 multiple-calendars.ics -.run,sha256=
|
|
19
|
-
ics_query/tests/runs/at 2024-08-20 Berlin-Los-Angeles.ics -.run,sha256=
|
|
20
|
-
ics_query/tests/runs/between 20240823 4d recurring-work-events.ics -.run,sha256=
|
|
21
|
-
ics_query/tests/runs/first -c VJOURNAL -c VEVENT one-event.ics -.run,sha256=
|
|
13
|
+
ics_query/tests/runs/all --tz Singapore one-event.ics -.run,sha256=0eX6yRqVK1b_ZEwrDy1AM3O69UHhpV35da6DjpGqBn4,263
|
|
14
|
+
ics_query/tests/runs/all three-events.ics -.run,sha256=p47kuGwMvx748zP5viAhWzRP7jPKw5DKC8MCejzIDgg,915
|
|
15
|
+
ics_query/tests/runs/at 2019-03-04 multiple-calendars.ics -.run,sha256=NSOHYgfKs6Cyz3P2VL3JXKctF1TH8m2BiphOAi9uJpY,580
|
|
16
|
+
ics_query/tests/runs/at 2019-03-04 one-event-twice.ics -.run,sha256=SLFIzMkRk-foIz1jJurQpoK7EeeLgFtqNPDqh76lp_Y,550
|
|
17
|
+
ics_query/tests/runs/at 2019-03-04 one-event.ics -.run,sha256=7-R6EbVWZJIUHfRk7SG1bxCtGMCuQ5DiIyP85LfeoQA,275
|
|
18
|
+
ics_query/tests/runs/at 2019-03-07 multiple-calendars.ics -.run,sha256=pDp8fcZKV2qAKPpEY5F7pJzHm0hhKmsRxP5GN9jGH-k,305
|
|
19
|
+
ics_query/tests/runs/at 2024-08-20 Berlin-Los-Angeles.ics -.run,sha256=FGyIqmrTQpRt4Q6xsEvsyP1VGdABZeU5q6uDrCYWp2U,747
|
|
20
|
+
ics_query/tests/runs/between 20240823 4d recurring-work-events.ics -.run,sha256=kgldttjMh1CPCys8qyf4Z87G8SOIq1MR0UC9-HYgg98,672
|
|
21
|
+
ics_query/tests/runs/first -c VJOURNAL -c VEVENT one-event.ics -.run,sha256=7-R6EbVWZJIUHfRk7SG1bxCtGMCuQ5DiIyP85LfeoQA,275
|
|
22
22
|
ics_query/tests/runs/first -c VJOURNAL one-event.ics -.run,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
ics_query/tests/runs/first -c VJOURNAL simple-journal.ics -.run,sha256=
|
|
24
|
-
ics_query/tests/runs/first -c VTODO -c VJOURNAL simple-todo.ics -.run,sha256
|
|
25
|
-
ics_query/tests/runs/first -c VTODO simple-todo.ics -.run,sha256
|
|
23
|
+
ics_query/tests/runs/first -c VJOURNAL simple-journal.ics -.run,sha256=h9hGts6XH8PndXC0AXc3rIJTDOGz_O6SI0IFMLgMFM8,404
|
|
24
|
+
ics_query/tests/runs/first -c VTODO -c VJOURNAL simple-todo.ics -.run,sha256=xDCKzWE34A62ipId3HpCEMX2DilMrIWN5GRKXNJiQ1U,255
|
|
25
|
+
ics_query/tests/runs/first -c VTODO simple-todo.ics -.run,sha256=xDCKzWE34A62ipId3HpCEMX2DilMrIWN5GRKXNJiQ1U,255
|
|
26
26
|
ics_query/tests/runs/first empty-calendar.ics -.run,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
ics_query/tests/runs/first empty-file.ics -.run,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
ics_query/tests/runs/first recurring-work-events.ics -.run,sha256
|
|
28
|
+
ics_query/tests/runs/first recurring-work-events.ics -.run,sha256=8fa75wHxdVtnau1R39dnaDRZKlvclRd34P1Wr8i849U,336
|
|
29
29
|
ics_query/tests/runs/calendars/Berlin-Los-Angeles.ics,sha256=_FFRUurDU_q7G8d8lSvfbCy3y1XvujaclLXei6GrW5U,9107
|
|
30
30
|
ics_query/tests/runs/calendars/empty-calendar.ics,sha256=78162P3KYUj6Qhbdnjsm3E84jv--_--p5U0h_jovrpw,153
|
|
31
31
|
ics_query/tests/runs/calendars/empty-file.ics,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -37,8 +37,8 @@ ics_query/tests/runs/calendars/recurring-work-events.ics,sha256=4ASS_-xZl2pVv1kZ
|
|
|
37
37
|
ics_query/tests/runs/calendars/simple-journal.ics,sha256=U6_YMQM6EHwPDaszWgJDo-pR4WIqbJx8CRlHg4iu9zA,457
|
|
38
38
|
ics_query/tests/runs/calendars/simple-todo.ics,sha256=l9uHQD4eyiCE8STvd2tj5lAVaBrqUtpF_M8Pv6yf1es,327
|
|
39
39
|
ics_query/tests/runs/calendars/three-events.ics,sha256=YvPfthOzMCR0DQhGR6uj_1Bltgax3uA1ETlkI4JUI08,828
|
|
40
|
-
ics_query-0.4.
|
|
41
|
-
ics_query-0.4.
|
|
42
|
-
ics_query-0.4.
|
|
43
|
-
ics_query-0.4.
|
|
44
|
-
ics_query-0.4.
|
|
40
|
+
ics_query-0.4.32.dist-info/METADATA,sha256=dPK6p2CHSsFztbhA_iieswRPvoY33mGucnShc6eh8tw,54900
|
|
41
|
+
ics_query-0.4.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
42
|
+
ics_query-0.4.32.dist-info/entry_points.txt,sha256=Jq_39vCKVOkNZjL7Wngf_04V_n_QRszLgLT2CbJKiH4,49
|
|
43
|
+
ics_query-0.4.32.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
44
|
+
ics_query-0.4.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|