pysportbot 0.0.20__tar.gz → 0.0.21__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 (23) hide show
  1. {pysportbot-0.0.20 → pysportbot-0.0.21}/LICENSE +1 -1
  2. {pysportbot-0.0.20 → pysportbot-0.0.21}/PKG-INFO +3 -3
  3. {pysportbot-0.0.20 → pysportbot-0.0.21}/pyproject.toml +2 -2
  4. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/endpoints.py +2 -2
  5. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/booking.py +0 -1
  6. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/utils/errors.py +1 -1
  7. {pysportbot-0.0.20 → pysportbot-0.0.21}/README.md +0 -0
  8. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/__init__.py +0 -0
  9. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/activities.py +0 -0
  10. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/authenticator.py +0 -0
  11. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/bookings.py +0 -0
  12. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/centres.py +0 -0
  13. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/__init__.py +0 -0
  14. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/__main__.py +0 -0
  15. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/config_loader.py +0 -0
  16. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/config_validator.py +0 -0
  17. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/scheduling.py +0 -0
  18. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/service.py +0 -0
  19. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/service/threading.py +0 -0
  20. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/session.py +0 -0
  21. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/utils/__init__.py +0 -0
  22. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/utils/logger.py +0 -0
  23. {pysportbot-0.0.20 → pysportbot-0.0.21}/pysportbot/utils/time.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025, Joshua Falco Beirer
3
+ Copyright (c) 2026, Joshua Falco Beirer
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pysportbot
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: A python-based bot for automatic resasports slot booking
5
5
  License-File: LICENSE
6
6
  Author: Joshua Falco Beirer
7
7
  Author-email: jbeirer@cern.ch
8
- Requires-Python: >=3.10,<3.14
8
+ Requires-Python: >=3.11,<3.15
9
9
  Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.10
11
10
  Classifier: Programming Language :: Python :: 3.11
12
11
  Classifier: Programming Language :: Python :: 3.12
13
12
  Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
14
  Requires-Dist: pandas (>=2.3.2,<3.0.0)
15
15
  Requires-Dist: pytz (>=2025.2,<2026.0)
16
16
  Requires-Dist: requests (>=2.32.5,<3.0.0)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pysportbot"
3
- version = "v0.0.20"
3
+ version = "0.0.21"
4
4
  description = "A python-based bot for automatic resasports slot booking"
5
5
  authors = [
6
6
  { name = "Joshua Falco Beirer", email = "jbeirer@cern.ch" }
@@ -14,7 +14,7 @@ packages = [
14
14
  dynamic = ["requires-python", "dependencies"]
15
15
 
16
16
  [tool.poetry.dependencies]
17
- python = ">=3.10,<3.14"
17
+ python = ">=3.11,<3.15"
18
18
  requests = "^2.32.5"
19
19
  pandas = "^2.3.2"
20
20
  pytz = "^2025.2"
@@ -1,7 +1,7 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
 
4
- class Endpoints(str, Enum):
4
+ class Endpoints(StrEnum):
5
5
  """
6
6
  Centralized collection of API endpoints used by the bot.
7
7
 
@@ -103,7 +103,6 @@ def schedule_bookings(
103
103
  time_until_execution = (execution_time - now).total_seconds()
104
104
 
105
105
  if time_until_execution > 0:
106
-
107
106
  logger.info(
108
107
  f"Waiting {time_until_execution:.2f} seconds until global execution time: "
109
108
  f"{execution_time.strftime('%Y-%m-%d %H:%M:%S %z')}."
@@ -20,7 +20,7 @@ class ErrorMessages:
20
20
 
21
21
  @staticmethod
22
22
  def invalid_class_definition() -> str:
23
- return "Each class must include 'activity', 'class_day', " "'class_time'"
23
+ return "Each class must include 'activity', 'class_day', 'class_time'"
24
24
 
25
25
  @staticmethod
26
26
  def invalid_booking_execution_format() -> str:
File without changes