pytekukko 0.15.0__tar.gz → 0.16.0__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 (30) hide show
  1. {pytekukko-0.15.0 → pytekukko-0.16.0}/CHANGELOG.md +7 -0
  2. {pytekukko-0.15.0/src/pytekukko.egg-info → pytekukko-0.16.0}/PKG-INFO +1 -1
  3. {pytekukko-0.15.0 → pytekukko-0.16.0}/pyproject.toml +1 -1
  4. {pytekukko-0.15.0 → pytekukko-0.16.0}/requirements/test-requirements.txt +1 -1
  5. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/__init__.py +1 -1
  6. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/examples/print_collection_schedules.py +6 -0
  7. {pytekukko-0.15.0 → pytekukko-0.16.0/src/pytekukko.egg-info}/PKG-INFO +1 -1
  8. {pytekukko-0.15.0 → pytekukko-0.16.0}/LICENSE +0 -0
  9. {pytekukko-0.15.0 → pytekukko-0.16.0}/MANIFEST.in +0 -0
  10. {pytekukko-0.15.0 → pytekukko-0.16.0}/README.md +0 -0
  11. {pytekukko-0.15.0 → pytekukko-0.16.0}/requirements/dev-requirements.txt +0 -0
  12. {pytekukko-0.15.0 → pytekukko-0.16.0}/setup.cfg +0 -0
  13. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/examples/__init__.py +0 -0
  14. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/examples/print_invoice_headers.py +0 -0
  15. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/examples/print_next_collections.py +0 -0
  16. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/examples/update_google_calendar.py +0 -0
  17. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/exceptions.py +0 -0
  18. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/models.py +0 -0
  19. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko/py.typed +0 -0
  20. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko.egg-info/SOURCES.txt +0 -0
  21. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko.egg-info/dependency_links.txt +0 -0
  22. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko.egg-info/entry_points.txt +0 -0
  23. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko.egg-info/requires.txt +0 -0
  24. {pytekukko-0.15.0 → pytekukko-0.16.0}/src/pytekukko.egg-info/top_level.txt +0 -0
  25. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/__init__.py +0 -0
  26. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/cassettes/test_get_collection_schedule.yaml +0 -0
  27. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/cassettes/test_get_invoice_headers.yaml +0 -0
  28. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/cassettes/test_login_logout.yaml +0 -0
  29. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/cassettes/test_logout.yaml +0 -0
  30. {pytekukko-0.15.0 → pytekukko-0.16.0}/tests/test_pytekukko.py +0 -0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.16.0](https://github.com/scop/pytekukko/compare/v0.15.0...v0.16.0) (2024-01-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * **examples:** more -collection-schedules icalendar metadata ([1aee758](https://github.com/scop/pytekukko/commit/1aee758181a4dd1d5e469ef0c9a782d63547fdce))
9
+
3
10
  ## [0.15.0](https://github.com/scop/pytekukko/compare/v0.14.0...v0.15.0) (2024-01-22)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytekukko
3
- Version: 0.15.0
3
+ Version: 0.16.0
4
4
  Summary: Jätekukko Omakukko API client
5
5
  Author-email: Ville Skyttä <ville.skytta@iki.fi>
6
6
  License:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pytekukko"
7
- version = "0.15.0"
7
+ version = "0.16.0"
8
8
  description = "Jätekukko Omakukko API client"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,5 +1,5 @@
1
1
  pytest>=6
2
2
  pytest-asyncio>=0.17
3
3
  pytest-vcr
4
- vcrpy==5.1.0
4
+ vcrpy==6.0.0
5
5
  python-dotenv>=0.10,<2
@@ -13,7 +13,7 @@ from aiohttp import ClientResponse, ClientResponseError, ClientSession
13
13
  from .exceptions import UnexpectedResponseStructureError
14
14
  from .models import CustomerData, InvoiceHeader, Service
15
15
 
16
- __version__ = "0.15.0"
16
+ __version__ = "0.16.0"
17
17
  DEFAULT_BASE_URL = "https://tilasto.jatekukko.fi/jatekukko/"
18
18
 
19
19
  SERVICE_TIMEZONE = ZoneInfo("Europe/Helsinki")
@@ -37,6 +37,11 @@ async def run_example() -> None:
37
37
  cal = icalendar.Calendar()
38
38
  cal.add("PRODID", f"pytekukko/{pytekukko.__version__}")
39
39
  cal.add("VERSION", "2.0")
40
+ cal.add("NAME", "Jätekukko collections")
41
+ cal.add("X-WR-CALNAME", "Jätekukko collections")
42
+ cal.add("URL", "https://tilasto.jatekukko.fi/indexservice2.jsp")
43
+ cal.add("X-WR-TIMEZONE", "Europe/Helsinki")
44
+ cal.add("METHOD", "PUBLISH")
40
45
  for service, schedule in data:
41
46
  for date in schedule:
42
47
  event = icalendar.Event()
@@ -45,6 +50,7 @@ async def run_example() -> None:
45
50
  event.add("DTSTAMP", now)
46
51
  event.add("DTSTART", date)
47
52
  event.add("DTEND", date + timedelta(days=1))
53
+ event.add("URL", "https://tilasto.jatekukko.fi/indexservice2.jsp")
48
54
  cal.add_component(event)
49
55
  sys.stdout.buffer.write(cal.to_ical())
50
56
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytekukko
3
- Version: 0.15.0
3
+ Version: 0.16.0
4
4
  Summary: Jätekukko Omakukko API client
5
5
  Author-email: Ville Skyttä <ville.skytta@iki.fi>
6
6
  License:
File without changes
File without changes
File without changes
File without changes
File without changes