pysportbot 0.0.8__tar.gz → 0.0.9__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.
- {pysportbot-0.0.8 → pysportbot-0.0.9}/PKG-INFO +10 -9
- {pysportbot-0.0.8 → pysportbot-0.0.9}/README.md +9 -8
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pyproject.toml +1 -1
- {pysportbot-0.0.8 → pysportbot-0.0.9}/LICENSE +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/__init__.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/activities.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/authenticator.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/bookings.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/centres.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/endpoints.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/__init__.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/__main__.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/booking.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/config_loader.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/config_validator.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/scheduling.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/service.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/service/threading.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/session.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/utils/__init__.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/utils/errors.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/utils/logger.py +0 -0
- {pysportbot-0.0.8 → pysportbot-0.0.9}/pysportbot/utils/time.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pysportbot
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.9
|
4
4
|
Summary: A python-based bot for automatic resasports slot booking
|
5
5
|
Author: Joshua Falco Beirer
|
6
6
|
Author-email: jbeirer@cern.ch
|
@@ -110,20 +110,21 @@ Let's say you would like to book Yoga next Monday at 18:00:00, but the execution
|
|
110
110
|
}
|
111
111
|
```
|
112
112
|
|
113
|
-
**Note:** By default,
|
113
|
+
**Note:** By default, PySportBot will attempt to execute *N* bookings in parallel, where *N* is the number of available cores on your machine.
|
114
114
|
|
115
115
|
The service also provides various other options that can be inspected with
|
116
116
|
|
117
117
|
```bash
|
118
118
|
python -m pysportbot.service --help
|
119
119
|
```
|
120
|
-
Currently supported options include
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
120
|
+
Currently supported options include:
|
121
|
+
|
122
|
+
1. `--booking-delay`: sets a global delay in seconds before booking execution [default: 0]
|
123
|
+
2. `--retry-attempts`: sets the number of retries attempted in case a booking attempt fails [default: 3]
|
124
|
+
3. `--retry-delay`: sets the delay in seconds between booking retries [default: 5]
|
125
|
+
4. `--time-zone`: sets the time zone for the service [default: Europe/Madrid]
|
126
|
+
5. `--log-level`: sets the log-level of the service [default: INFO]
|
127
|
+
6. `--max-threads`: limits the number of used threads for parallel bookings [default: -1]
|
127
128
|
|
128
129
|
## LICENSE
|
129
130
|
|
@@ -91,20 +91,21 @@ Let's say you would like to book Yoga next Monday at 18:00:00, but the execution
|
|
91
91
|
}
|
92
92
|
```
|
93
93
|
|
94
|
-
**Note:** By default,
|
94
|
+
**Note:** By default, PySportBot will attempt to execute *N* bookings in parallel, where *N* is the number of available cores on your machine.
|
95
95
|
|
96
96
|
The service also provides various other options that can be inspected with
|
97
97
|
|
98
98
|
```bash
|
99
99
|
python -m pysportbot.service --help
|
100
100
|
```
|
101
|
-
Currently supported options include
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
101
|
+
Currently supported options include:
|
102
|
+
|
103
|
+
1. `--booking-delay`: sets a global delay in seconds before booking execution [default: 0]
|
104
|
+
2. `--retry-attempts`: sets the number of retries attempted in case a booking attempt fails [default: 3]
|
105
|
+
3. `--retry-delay`: sets the delay in seconds between booking retries [default: 5]
|
106
|
+
4. `--time-zone`: sets the time zone for the service [default: Europe/Madrid]
|
107
|
+
5. `--log-level`: sets the log-level of the service [default: INFO]
|
108
|
+
6. `--max-threads`: limits the number of used threads for parallel bookings [default: -1]
|
108
109
|
|
109
110
|
## LICENSE
|
110
111
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|