ics-query 0.1.0a0__py3-none-any.whl → 0.1.dev1__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/__init__.py +18 -2
- ics_query/__main__.py +15 -0
- ics_query/_version.py +2 -2
- ics_query/cli.py +620 -18
- ics_query/parse.py +78 -4
- ics_query/query.py +78 -0
- ics_query/tests/conftest.py +68 -20
- ics_query/tests/runs/all --tz Singapore one-event.ics -.run +9 -0
- ics_query/tests/runs/all three-events.ics -.run +33 -0
- ics_query/tests/runs/at 2019-03-04 multiple-calendars.ics -.run +20 -0
- ics_query/tests/runs/at 2019-03-04 one-event-twice.ics -.run +18 -0
- ics_query/tests/runs/at 2019-03-07 multiple-calendars.ics -.run +11 -0
- ics_query/tests/runs/at 2024-08-20 Berlin-Los-Angeles.ics -.run +23 -0
- ics_query/tests/runs/between 20240823 4d recurring-work-events.ics -.run +24 -0
- ics_query/tests/runs/calendars/Berlin-Los-Angeles.ics +381 -0
- ics_query/tests/runs/calendars/empty-calendar.ics +7 -0
- ics_query/tests/runs/calendars/empty-file.ics +0 -0
- ics_query/tests/runs/calendars/multiple-calendars.ics +71 -0
- ics_query/tests/runs/calendars/one-event-twice.ics +68 -0
- ics_query/tests/runs/calendars/one-event-without-timezone.ics +14 -0
- ics_query/tests/runs/calendars/recurring-work-events.ics +223 -0
- ics_query/tests/runs/calendars/simple-journal.ics +15 -0
- ics_query/tests/runs/calendars/simple-todo.ics +15 -0
- ics_query/tests/runs/calendars/three-events.ics +37 -0
- ics_query/tests/runs/first -c VJOURNAL -c VEVENT one-event.ics -.run +9 -0
- ics_query/tests/runs/first -c VJOURNAL one-event.ics -.run +0 -0
- ics_query/tests/runs/first -c VJOURNAL simple-journal.ics -.run +12 -0
- ics_query/tests/runs/first -c VTODO -c VJOURNAL simple-todo.ics -.run +10 -0
- ics_query/tests/runs/first -c VTODO simple-todo.ics -.run +10 -0
- ics_query/tests/runs/first empty-calendar.ics -.run +0 -0
- ics_query/tests/runs/first empty-file.ics -.run +0 -0
- ics_query/tests/runs/first recurring-work-events.ics -.run +12 -0
- ics_query/tests/test_command_line.py +62 -0
- ics_query/tests/test_parse_date.py +81 -0
- ics_query/tests/test_parse_timedelta.py +40 -0
- ics_query/version.py +36 -3
- {ics_query-0.1.0a0.dist-info → ics_query-0.1.dev1.dist-info}/METADATA +366 -43
- ics_query-0.1.dev1.dist-info/RECORD +44 -0
- ics_query-0.1.0a0.dist-info/RECORD +0 -16
- {ics_query-0.1.0a0.dist-info → ics_query-0.1.dev1.dist-info}/WHEEL +0 -0
- {ics_query-0.1.0a0.dist-info → ics_query-0.1.dev1.dist-info}/entry_points.txt +0 -0
- {ics_query-0.1.0a0.dist-info → ics_query-0.1.dev1.dist-info}/licenses/LICENSE +0 -0
ics_query/__init__.py
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
# ics-query
|
|
2
|
+
# Copyright (C) 2024 Nicco Kunzmann
|
|
3
|
+
#
|
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
# (at your option) any later version.
|
|
8
|
+
#
|
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
# GNU General Public License for more details.
|
|
13
|
+
#
|
|
14
|
+
# You should have received a copy of the GNU General Public License
|
|
15
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
from .cli import cli, main
|
|
2
17
|
from .version import __version__, __version_tuple__, version, version_tuple
|
|
3
18
|
|
|
4
19
|
__all__ = [
|
|
5
|
-
"
|
|
20
|
+
"cli",
|
|
6
21
|
"app",
|
|
7
22
|
"__version__",
|
|
8
23
|
"version",
|
|
9
24
|
"__version_tuple__",
|
|
10
25
|
"version_tuple",
|
|
26
|
+
"main",
|
|
11
27
|
]
|
ics_query/__main__.py
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# ics-query
|
|
2
|
+
# Copyright (C) 2024 Nicco Kunzmann
|
|
3
|
+
#
|
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
# (at your option) any later version.
|
|
8
|
+
#
|
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
# GNU General Public License for more details.
|
|
13
|
+
#
|
|
14
|
+
# You should have received a copy of the GNU General Public License
|
|
15
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
1
16
|
import sys
|
|
2
17
|
|
|
3
18
|
from .cli import main
|
ics_query/_version.py
CHANGED
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '0.1.
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
15
|
+
__version__ = version = '0.1.dev1'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 1, 'dev1')
|