pysportbot 0.0.20__py3-none-any.whl → 0.0.21__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.
- pysportbot/endpoints.py +2 -2
- pysportbot/service/booking.py +0 -1
- pysportbot/utils/errors.py +1 -1
- {pysportbot-0.0.20.dist-info → pysportbot-0.0.21.dist-info}/METADATA +3 -3
- {pysportbot-0.0.20.dist-info → pysportbot-0.0.21.dist-info}/RECORD +7 -7
- {pysportbot-0.0.20.dist-info → pysportbot-0.0.21.dist-info}/WHEEL +1 -1
- {pysportbot-0.0.20.dist-info → pysportbot-0.0.21.dist-info}/licenses/LICENSE +1 -1
pysportbot/endpoints.py
CHANGED
pysportbot/service/booking.py
CHANGED
|
@@ -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')}."
|
pysportbot/utils/errors.py
CHANGED
|
@@ -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',
|
|
23
|
+
return "Each class must include 'activity', 'class_day', 'class_time'"
|
|
24
24
|
|
|
25
25
|
@staticmethod
|
|
26
26
|
def invalid_booking_execution_format() -> str:
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pysportbot
|
|
3
|
-
Version: 0.0.
|
|
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.
|
|
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)
|
|
@@ -3,10 +3,10 @@ pysportbot/activities.py,sha256=fvj1Pnf3xxDuNY2FBGDOaach6tcZ_HJxCfoyGVju0oM,7598
|
|
|
3
3
|
pysportbot/authenticator.py,sha256=vsY_ZZ9ONfv5qNAk0stNshKbXckj8JulLN91Nt_bpK8,10891
|
|
4
4
|
pysportbot/bookings.py,sha256=yJPgCTECXBEVtQzwj3lUJ8QR3h43ycCUw80mTx-Ck60,3189
|
|
5
5
|
pysportbot/centres.py,sha256=FTK-tXUOxiJvLCHP6Bk9XEQKODQZOwwkYLlioSJPBEk,3399
|
|
6
|
-
pysportbot/endpoints.py,sha256=
|
|
6
|
+
pysportbot/endpoints.py,sha256=nHKsBIZ3dFmtOyWm7clCFqVOI8BUxn6qcbiauBQqf3U,2549
|
|
7
7
|
pysportbot/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
pysportbot/service/__main__.py,sha256=gsKfDMOmsVC3LHCQs0Dmp7YWJBlZeGcTsX-Mx4mk6ro,1496
|
|
9
|
-
pysportbot/service/booking.py,sha256=
|
|
9
|
+
pysportbot/service/booking.py,sha256=42KTHTgZtwtZhb7WbVc0Pk-z0V0j1cE00JOLDTlM3wY,5907
|
|
10
10
|
pysportbot/service/config_loader.py,sha256=t086yaAyAKkCJTpxedwhyJ7QqSf5XROGDzjrFLsUxJE,179
|
|
11
11
|
pysportbot/service/config_validator.py,sha256=0P_pcXU7s3T3asODqFtv3mSp1HyPoVBphE4Qe1mxcps,2615
|
|
12
12
|
pysportbot/service/scheduling.py,sha256=trz4zweZB2W9rwWAnW9Y6YkCo-f4dqtKyhaY_yqpJ-Y,2024
|
|
@@ -14,10 +14,10 @@ pysportbot/service/service.py,sha256=eW-roFozDzkK7kTzYbSzNwZhbZpBr-22yUrAHVnrD-0
|
|
|
14
14
|
pysportbot/service/threading.py,sha256=j0tHgGty8iWDjpZtTzIu-5TUnDb9S6SJErm3QBpG-nY,1947
|
|
15
15
|
pysportbot/session.py,sha256=pTQrz3bGzLYBtzVOgKv04l4UXDSgtA3Infn368bjg5I,1529
|
|
16
16
|
pysportbot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
pysportbot/utils/errors.py,sha256=
|
|
17
|
+
pysportbot/utils/errors.py,sha256=02hNu-dXwCOumS9nvo7hjY4RfJ7o-6gKSZzzo_0QTx0,4953
|
|
18
18
|
pysportbot/utils/logger.py,sha256=ANayMEeeAIVGKvITAxOFm2EdCbzBBTpNywuytAr4Z90,5366
|
|
19
19
|
pysportbot/utils/time.py,sha256=GKfFU5WwRSaWz2xNJ6EM0w1lHOVo8of5qhqnfh9xbJM,1926
|
|
20
|
-
pysportbot-0.0.
|
|
21
|
-
pysportbot-0.0.
|
|
22
|
-
pysportbot-0.0.
|
|
23
|
-
pysportbot-0.0.
|
|
20
|
+
pysportbot-0.0.21.dist-info/METADATA,sha256=dpLakm9vBctTXlTn6293gYxzGKQxLgAKu5VgNzaLRXY,8143
|
|
21
|
+
pysportbot-0.0.21.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
22
|
+
pysportbot-0.0.21.dist-info/licenses/LICENSE,sha256=xrsutFXNH37d__Bn3Kk2AjqHf4sTzwEa1HSkzfYKEXs,1077
|
|
23
|
+
pysportbot-0.0.21.dist-info/RECORD,,
|