ics-query 0.3.2b0__tar.gz → 0.3.4__tar.gz

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.
Files changed (55) hide show
  1. ics_query-0.3.4/.github/workflows/schedule-release.yml +29 -0
  2. {ics_query-0.3.2b0 → ics_query-0.3.4}/PKG-INFO +41 -8
  3. {ics_query-0.3.2b0 → ics_query-0.3.4}/README.md +30 -0
  4. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/_version.py +2 -2
  5. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/version.py +5 -2
  6. {ics_query-0.3.2b0 → ics_query-0.3.4}/pyproject.toml +9 -6
  7. ics_query-0.3.4/renovate.json +18 -0
  8. {ics_query-0.3.2b0 → ics_query-0.3.4}/.github/FUNDING.yml +0 -0
  9. {ics_query-0.3.2b0 → ics_query-0.3.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  10. {ics_query-0.3.2b0 → ics_query-0.3.4}/.github/dependabot.yml +0 -0
  11. {ics_query-0.3.2b0 → ics_query-0.3.4}/.github/workflows/tests.yml +0 -0
  12. {ics_query-0.3.2b0 → ics_query-0.3.4}/.gitignore +0 -0
  13. {ics_query-0.3.2b0 → ics_query-0.3.4}/LICENSE +0 -0
  14. {ics_query-0.3.2b0 → ics_query-0.3.4}/conftest.py +0 -0
  15. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics-query +0 -0
  16. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics-query.cmd +0 -0
  17. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics-query.py +0 -0
  18. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/__init__.py +0 -0
  19. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/__main__.py +0 -0
  20. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/cli.py +0 -0
  21. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/parse.py +0 -0
  22. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/query.py +0 -0
  23. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/__init__.py +0 -0
  24. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/conftest.py +0 -0
  25. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/all --tz Singapore one-event.ics -.run +0 -0
  26. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/all three-events.ics -.run +0 -0
  27. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/at 2019-03-04 multiple-calendars.ics -.run +0 -0
  28. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/at 2019-03-04 one-event-twice.ics -.run +0 -0
  29. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/at 2019-03-04 one-event.ics -.run +0 -0
  30. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/at 2019-03-07 multiple-calendars.ics -.run +0 -0
  31. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/at 2024-08-20 Berlin-Los-Angeles.ics -.run +0 -0
  32. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/between 20240823 4d recurring-work-events.ics -.run +0 -0
  33. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/Berlin-Los-Angeles.ics +0 -0
  34. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/empty-calendar.ics +0 -0
  35. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/empty-file.ics +0 -0
  36. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/multiple-calendars.ics +0 -0
  37. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/one-event-twice.ics +0 -0
  38. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/one-event-without-timezone.ics +0 -0
  39. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/one-event.ics +0 -0
  40. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/recurring-work-events.ics +0 -0
  41. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/simple-journal.ics +0 -0
  42. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/simple-todo.ics +0 -0
  43. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/calendars/three-events.ics +0 -0
  44. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first -c VJOURNAL -c VEVENT one-event.ics -.run +0 -0
  45. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first -c VJOURNAL one-event.ics -.run +0 -0
  46. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first -c VJOURNAL simple-journal.ics -.run +0 -0
  47. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first -c VTODO -c VJOURNAL simple-todo.ics -.run +0 -0
  48. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first -c VTODO simple-todo.ics -.run +0 -0
  49. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first empty-calendar.ics -.run +0 -0
  50. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first empty-file.ics -.run +0 -0
  51. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/runs/first recurring-work-events.ics -.run +0 -0
  52. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/test_command_line.py +0 -0
  53. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/test_parse_date.py +0 -0
  54. {ics_query-0.3.2b0 → ics_query-0.3.4}/ics_query/tests/test_parse_timedelta.py +0 -0
  55. {ics_query-0.3.2b0 → ics_query-0.3.4}/tox.ini +0 -0
@@ -0,0 +1,29 @@
1
+ #
2
+ # see https://github.com/actions-ecosystem/action-push-tag
3
+ #
4
+ name: Update minor releases for updates to main.
5
+
6
+ on:
7
+ push:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+ release:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions-ecosystem/action-get-latest-tag@v1
18
+ id: get-latest-tag
19
+
20
+ - uses: actions-ecosystem/action-bump-semver@v1
21
+ id: bump-semver
22
+ with:
23
+ current_version: ${{ steps.get-latest-tag.outputs.tag }}
24
+ level: minor
25
+
26
+ - uses: actions-ecosystem/action-push-tag@v1
27
+ with:
28
+ tag: ${{ steps.bump-semver.outputs.new_version }}
29
+ message: '${{ steps.bump-semver.outputs.new_version }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ics-query
3
- Version: 0.3.2b0
3
+ Version: 0.3.4
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/594ac9795b0598b83ad10972c984519dfb3c7b12.zip
7
+ Project-URL: source_archive, https://github.com/niccokunzmann/ics-query/archive/5eb1d793ecdf1c2b176fb60139226cc8366540a7.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
@@ -686,7 +686,7 @@ License: GNU GENERAL PUBLIC LICENSE
686
686
  <https://www.gnu.org/licenses/why-not-lgpl.html>.
687
687
  License-File: LICENSE
688
688
  Keywords: calendar,command line,icalendar,ics,rfc5545,scheduling
689
- Classifier: Development Status :: 4 - Beta
689
+ Classifier: Development Status :: 5 - Production/Stable
690
690
  Classifier: Intended Audience :: Developers
691
691
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
692
692
  Classifier: Operating System :: OS Independent
@@ -696,11 +696,14 @@ Classifier: Programming Language :: Python :: 3.11
696
696
  Classifier: Programming Language :: Python :: 3.12
697
697
  Classifier: Topic :: Office/Business :: Scheduling
698
698
  Requires-Python: >=3.9
699
- Requires-Dist: click
700
- Requires-Dist: icalendar
701
- Requires-Dist: recurring-ical-events<4,>=3.2.0
702
- Requires-Dist: tzlocal
703
- Requires-Dist: x-wr-timezone
699
+ Requires-Dist: click==8.1.7
700
+ Requires-Dist: icalendar==6.0.0
701
+ Requires-Dist: python-dateutil==2.9.0.post0
702
+ Requires-Dist: recurring-ical-events==3.3.2
703
+ Requires-Dist: six==1.16.0
704
+ Requires-Dist: tzdata==2024.2
705
+ Requires-Dist: tzlocal==5.2
706
+ Requires-Dist: x-wr-timezone==1.0.1
704
707
  Provides-Extra: test
705
708
  Requires-Dist: pytest; extra == 'test'
706
709
  Description-Content-Type: text/markdown
@@ -736,7 +739,20 @@ For **Windows**, you can download `ics-query.exe` from our [Releases].
736
739
  We accept donations to sustain our work, once or regular.
737
740
  Consider donating money to open-source as everyone benefits.
738
741
 
742
+ ## Supported Features
739
743
 
744
+ This library is based on
745
+
746
+ - [recurring-ical-events]
747
+ - [icalendar]
748
+ - [x-wr-timezone]
749
+
750
+ [recurring-ical-events]: https://pypi.org/project/recurring-ical-events/
751
+ [icalendar]: https://pypi.org/project/icalendar/
752
+ [x-wr-timezone]: https://pypi.org/project/x-wr-timezone/
753
+
754
+ For a list of supported features and RFC compatibility,
755
+ please refer to their documentation, too.
740
756
 
741
757
  ## Usage
742
758
 
@@ -744,6 +760,10 @@ Consider donating money to open-source as everyone benefits.
744
760
  accessible and easy.
745
761
  This section walks you though the different functionalities.
746
762
 
763
+ ```shell
764
+ ics-query --help
765
+ ```
766
+
747
767
  ### Examples
748
768
 
749
769
  You can get a calendar from the web and see what is on.
@@ -1074,6 +1094,19 @@ To release new versions,
1074
1094
 
1075
1095
  ## Changelog
1076
1096
 
1097
+ We automatically release the versions that only update dependencies.
1098
+ If the version you installed does not show up here, only the dependencies
1099
+ have been updated.
1100
+
1101
+ - v0.3.4
1102
+
1103
+ - Update dependencies
1104
+ - Start automatic release of dependencies increasing the version number
1105
+
1106
+ - v0.3.3b
1107
+
1108
+ - Update dependencies
1109
+
1077
1110
  - v0.3.2b
1078
1111
 
1079
1112
  - Fix that `--tz localtime` would use `localtime` as timezone name instead of the local timezone name.
@@ -29,7 +29,20 @@ For **Windows**, you can download `ics-query.exe` from our [Releases].
29
29
  We accept donations to sustain our work, once or regular.
30
30
  Consider donating money to open-source as everyone benefits.
31
31
 
32
+ ## Supported Features
32
33
 
34
+ This library is based on
35
+
36
+ - [recurring-ical-events]
37
+ - [icalendar]
38
+ - [x-wr-timezone]
39
+
40
+ [recurring-ical-events]: https://pypi.org/project/recurring-ical-events/
41
+ [icalendar]: https://pypi.org/project/icalendar/
42
+ [x-wr-timezone]: https://pypi.org/project/x-wr-timezone/
43
+
44
+ For a list of supported features and RFC compatibility,
45
+ please refer to their documentation, too.
33
46
 
34
47
  ## Usage
35
48
 
@@ -37,6 +50,10 @@ Consider donating money to open-source as everyone benefits.
37
50
  accessible and easy.
38
51
  This section walks you though the different functionalities.
39
52
 
53
+ ```shell
54
+ ics-query --help
55
+ ```
56
+
40
57
  ### Examples
41
58
 
42
59
  You can get a calendar from the web and see what is on.
@@ -367,6 +384,19 @@ To release new versions,
367
384
 
368
385
  ## Changelog
369
386
 
387
+ We automatically release the versions that only update dependencies.
388
+ If the version you installed does not show up here, only the dependencies
389
+ have been updated.
390
+
391
+ - v0.3.4
392
+
393
+ - Update dependencies
394
+ - Start automatic release of dependencies increasing the version number
395
+
396
+ - v0.3.3b
397
+
398
+ - Update dependencies
399
+
370
400
  - v0.3.2b
371
401
 
372
402
  - Fix that `--tz localtime` would use `localtime` as timezone name instead of the local timezone name.
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.3.2b0'
16
- __version_tuple__ = version_tuple = (0, 3, 2)
15
+ __version__ = version = '0.3.4'
16
+ __version_tuple__ = version_tuple = (0, 3, 4)
@@ -27,15 +27,18 @@ Components:
27
27
  modules = [
28
28
  "recurring-ical-events",
29
29
  "icalendar",
30
- "pytz",
31
30
  "python-dateutil",
31
+ "pytz",
32
32
  "click",
33
33
  "tzdata",
34
34
  "x-wr-timezone",
35
35
  ]
36
36
  modules.sort()
37
37
  for module in modules:
38
- cli_version += f"{module}: {get_version(module)}\n"
38
+ try:
39
+ cli_version += f"{module}: {get_version(module)}\n"
40
+ except ModuleNotFoundError: # noqa: PERF203
41
+ cli_version += f"{module}: not installed\n"
39
42
 
40
43
  __all__ = [
41
44
  "__version__",
@@ -33,7 +33,7 @@ readme = "README.md"
33
33
  requires-python = ">=3.9"
34
34
  # see https://pypi.python.org/pypi?%3Aaction=list_classifiers
35
35
  classifiers = [
36
- "Development Status :: 4 - Beta",
36
+ "Development Status :: 5 - Production/Stable",
37
37
  "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
38
38
  "Intended Audience :: Developers",
39
39
  "Programming Language :: Python :: 3.9",
@@ -45,11 +45,14 @@ classifiers = [
45
45
  ]
46
46
 
47
47
  dependencies = [
48
- "icalendar",
49
- "recurring-ical-events>=3.2.0,<4",
50
- "click",
51
- "x-wr-timezone",
52
- "tzlocal",
48
+ "icalendar==6.0.0",
49
+ "recurring-ical-events==3.3.2",
50
+ "click==8.1.7",
51
+ "x-wr-timezone==1.0.1",
52
+ "tzlocal==5.2",
53
+ "tzdata==2024.2",
54
+ "python-dateutil==2.9.0.post0",
55
+ "six==1.16.0",
53
56
  ]
54
57
 
55
58
  [project.optional-dependencies]
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:recommended"
5
+ ],
6
+ "dependencyDashboard": false,
7
+ "lockFileMaintenance": {
8
+ "enabled": true,
9
+ "automerge": true
10
+ },
11
+ "packageRules": [
12
+ {
13
+ "matchUpdateTypes": ["major", "minor", "patch"],
14
+ "matchCurrentVersion": "!/^0/",
15
+ "automerge": true
16
+ }
17
+ ]
18
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes