cs2tracker 2.1.9__py3-none-any.whl → 2.1.11__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.

Potentially problematic release.


This version of cs2tracker might be problematic. Click here for more details.

cs2tracker/constants.py CHANGED
@@ -18,7 +18,6 @@ class OSType(enum.Enum):
18
18
 
19
19
 
20
20
  OS = OSType.WINDOWS if sys.platform.startswith("win") else OSType.LINUX
21
- TEXT_EDITOR = "notepad" if OS == OSType.WINDOWS else "nano"
22
21
  PYTHON_EXECUTABLE = sys.executable
23
22
 
24
23
 
@@ -78,19 +77,6 @@ AUTHOR_STRING = (
78
77
  f"Version: {VERSION} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven\n"
79
78
  )
80
79
 
81
-
82
- POWERSHELL_COLORIZE_OUTPUT = (
83
- "%{ "
84
- "if($_ -match 'Version|\\\\|_') { Write-Host $_ -ForegroundColor yellow } "
85
- "elseif($_ -match 'USD|EUR|^[-|\\s]+$') { Write-Host $_ -ForegroundColor green } "
86
- "elseif($_ -match 'Case|Capsule|-[A-Za-z0-9]') { Write-Host $_ -ForegroundColor magenta } "
87
- "elseif($_ -match '\\[!\\]') { Write-Host $_ -ForegroundColor red } "
88
- "elseif($_ -match 'Legends|Challengers|Contenders|Champions|Finalists') { Write-Host $_ -ForegroundColor blue } "
89
- "else { Write-Host $_ } "
90
- "}"
91
- )
92
-
93
-
94
80
  CASE_HREFS = [
95
81
  "https://steamcommunity.com/market/listings/730/Revolution%20Case",
96
82
  "https://steamcommunity.com/market/listings/730/Recoil%20Case",
@@ -143,7 +129,7 @@ KATOWICE_2014_CAPSULES = {
143
129
  "https://steamcommunity.com/market/listings/730/EMS%20Katowice%202014%20Legends",
144
130
  "https://steamcommunity.com/market/listings/730/EMS%20Katowice%202014%20Challengers",
145
131
  ],
146
- "names": ["Katowice Legends", "Katowice Challengers"],
132
+ "names": ["Katowice 2014 Legends", "Katowice 2014 Challengers"],
147
133
  }
148
134
 
149
135
  COLOGNE_2014_CAPSULES = {
@@ -152,7 +138,7 @@ COLOGNE_2014_CAPSULES = {
152
138
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202014%20Legends",
153
139
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202014%20Challengers",
154
140
  ],
155
- "names": ["Cologne Legends", "Cologne Challengers"],
141
+ "names": ["Cologne 2014 Legends", "Cologne 2014 Challengers"],
156
142
  }
157
143
 
158
144
  DREAMHACK_2014_CAPSULES = {
@@ -160,7 +146,7 @@ DREAMHACK_2014_CAPSULES = {
160
146
  "items": [
161
147
  "https://steamcommunity.com/market/listings/730/DreamHack%202014%20Legends%20%28Holo-Foil%29"
162
148
  ],
163
- "names": ["DreamHack Legends"],
149
+ "names": ["DreamHack 2014 Legends"],
164
150
  }
165
151
 
166
152
  KATOWICE_2015_CAPSULES = {
@@ -169,7 +155,7 @@ KATOWICE_2015_CAPSULES = {
169
155
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Katowice%202015%20Legends%20%28Holo-Foil%29",
170
156
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Katowice%202015%20Challengers%20%28Holo-Foil%29",
171
157
  ],
172
- "names": ["Katowice Legends", "Katowice Challengers"],
158
+ "names": ["Katowice 2015 Legends", "Katowice 2015 Challengers"],
173
159
  }
174
160
 
175
161
  COLOGNE_2015_CAPSULES = {
@@ -178,7 +164,7 @@ COLOGNE_2015_CAPSULES = {
178
164
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202015%20Legends%20%28Foil%29",
179
165
  "https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202015%20Challengers%20%28Foil%29",
180
166
  ],
181
- "names": ["Cologne Legends", "Cologne Challengers"],
167
+ "names": ["Cologne 2015 Legends", "Cologne 2015 Challengers"],
182
168
  }
183
169
 
184
170
  CLUJ_NAPOCA_2015_CAPSULES = {
@@ -190,10 +176,10 @@ CLUJ_NAPOCA_2015_CAPSULES = {
190
176
  "https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Cluj-Napoca%202015",
191
177
  ],
192
178
  "names": [
193
- "Cluj Napoca Legends",
194
- "Cluj Napoca Challengers",
195
- "Cluj Napoca Legends Autographs",
196
- "Cluj Napoca Challengers Autographs",
179
+ "Cluj Napoca 2015 Legends",
180
+ "Cluj Napoca 2015 Challengers",
181
+ "Cluj Napoca 2015 Legends Autographs",
182
+ "Cluj Napoca 2015 Challengers Autographs",
197
183
  ],
198
184
  }
199
185
 
@@ -206,10 +192,10 @@ COLUMBUS_2016_CAPSULES = {
206
192
  "https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20MLG%20Columbus%202016",
207
193
  ],
208
194
  "names": [
209
- "Columbus Legends",
210
- "Columbus Challengers",
211
- "Columbus Legends Autographs",
212
- "Columbus Challengers Autographs",
195
+ "Columbus 2016 Legends",
196
+ "Columbus 2016 Challengers",
197
+ "Columbus 2016 Legends Autographs",
198
+ "Columbus 2016 Challengers Autographs",
213
199
  ],
214
200
  }
215
201
 
@@ -222,10 +208,10 @@ COLOGNE_2016_CAPSULES = {
222
208
  "https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Cologne%202016",
223
209
  ],
224
210
  "names": [
225
- "Cologne Legends",
226
- "Cologne Challengers",
227
- "Cologne Legends Autographs",
228
- "Cologne Challengers Autographs",
211
+ "Cologne 2016 Legends",
212
+ "Cologne 2016 Challengers",
213
+ "Cologne 2016 Legends Autographs",
214
+ "Cologne 2016 Challengers Autographs",
229
215
  ],
230
216
  }
231
217
 
@@ -238,10 +224,10 @@ ATLANTA_2017_CAPSULES = {
238
224
  "https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Atlanta%202017",
239
225
  ],
240
226
  "names": [
241
- "Atlanta Legends",
242
- "Atlanta Challengers",
243
- "Atlanta Legends Autographs",
244
- "Atlanta Challengers Autographs",
227
+ "Atlanta 2017 Legends",
228
+ "Atlanta 2017 Challengers",
229
+ "Atlanta 2017 Legends Autographs",
230
+ "Atlanta 2017 Challengers Autographs",
245
231
  ],
246
232
  }
247
233
 
@@ -254,10 +240,10 @@ KRAKOW_2017_CAPSULES = {
254
240
  "https://steamcommunity.com/market/listings/730/Krakow%202017%20Challengers%20Autograph%20Capsule",
255
241
  ],
256
242
  "names": [
257
- "Krakow Legends",
258
- "Krakow Challengers",
259
- "Krakow Legends Autographs",
260
- "Krakow Challengers Autographs",
243
+ "Krakow 2017 Legends",
244
+ "Krakow 2017 Challengers",
245
+ "Krakow 2017 Legends Autographs",
246
+ "Krakow 2017 Challengers Autographs",
261
247
  ],
262
248
  }
263
249
 
@@ -276,16 +262,16 @@ BOSTON_2018_CAPSULES = {
276
262
  "https://steamcommunity.com/market/listings/730/Boston%202018%20Minor%20Challengers%20with%20Flash%20Gaming%20Autograph%20Capsule",
277
263
  ],
278
264
  "names": [
279
- "Boston Legends",
280
- "Boston Minor Challengers",
281
- "Boston Returning Challengers",
282
- "Boston Attending Legends",
283
- "Boston Minor Challengers with Flash Gaming",
284
- "Boston Legends Autographs",
285
- "Boston Minor Challengers Autographs",
286
- "Boston Returning Challengers Autographs",
287
- "Boston Attending Legends Autographs",
288
- "Boston Minor Challengers with Flash Gaming Autographs",
265
+ "Boston 2018 Legends",
266
+ "Boston 2018 Minor Challengers",
267
+ "Boston 2018 Returning Challengers",
268
+ "Boston 2018 Attending Legends",
269
+ "Boston 2018 Minor Challengers with Flash Gaming",
270
+ "Boston 2018 Legends Autographs",
271
+ "Boston 2018 Minor Challengers Autographs",
272
+ "Boston 2018 Returning Challengers Autographs",
273
+ "Boston 2018 Attending Legends Autographs",
274
+ "Boston 2018 Minor Challengers with Flash Gaming Autographs",
289
275
  ],
290
276
  }
291
277
 
@@ -300,12 +286,12 @@ LONDON_2018_CAPSULES = {
300
286
  "https://steamcommunity.com/market/listings/730/London%202018%20Returning%20Challengers%20Autograph%20Capsule",
301
287
  ],
302
288
  "names": [
303
- "London Legends",
304
- "London Minor Challengers",
305
- "London Returning Challengers",
306
- "London Legends Autographs",
307
- "London Minor Challengers Autographs",
308
- "London Returning Challengers Autographs",
289
+ "London 2018 Legends",
290
+ "London 2018 Minor Challengers",
291
+ "London 2018 Returning Challengers",
292
+ "London 2018 Legends Autographs",
293
+ "London 2018 Minor Challengers Autographs",
294
+ "London 2018 Returning Challengers Autographs",
309
295
  ],
310
296
  }
311
297
 
@@ -320,12 +306,12 @@ KATOWICE_2019_CAPSULES = {
320
306
  "https://steamcommunity.com/market/listings/730/Katowice%202019%20Returning%20Challengers%20Autograph%20Capsule",
321
307
  ],
322
308
  "names": [
323
- "Katowice Legends",
324
- "Katowice Minor Challengers",
325
- "Katowice Returning Challengers",
326
- "Katowice Legends Autographs",
327
- "Katowice Minor Challengers Autographs",
328
- "Katowice Returning Challengers Autographs",
309
+ "Katowice 2019 Legends",
310
+ "Katowice 2019 Minor Challengers",
311
+ "Katowice 2019 Returning Challengers",
312
+ "Katowice 2019 Legends Autographs",
313
+ "Katowice 2019 Minor Challengers Autographs",
314
+ "Katowice 2019 Returning Challengers Autographs",
329
315
  ],
330
316
  }
331
317
 
@@ -340,12 +326,12 @@ BERLIN_2019_CAPSULES = {
340
326
  "https://steamcommunity.com/market/listings/730/Berlin%202019%20Returning%20Challengers%20Autograph%20Capsule",
341
327
  ],
342
328
  "names": [
343
- "Berlin Legends",
344
- "Berlin Minor Challengers",
345
- "Berlin Returning Challengers",
346
- "Berlin Legends Autographs",
347
- "Berlin Minor Challengers Autographs",
348
- "Berlin Returning Challengers Autographs",
329
+ "Berlin 2019 Legends",
330
+ "Berlin 2019 Minor Challengers",
331
+ "Berlin 2019 Returning Challengers",
332
+ "Berlin 2019 Legends Autographs",
333
+ "Berlin 2019 Minor Challengers Autographs",
334
+ "Berlin 2019 Returning Challengers Autographs",
349
335
  ],
350
336
  }
351
337
 
@@ -356,7 +342,7 @@ RMR_2020_CAPSULES = {
356
342
  "https://steamcommunity.com/market/listings/730/2020%20RMR%20Challengers",
357
343
  "https://steamcommunity.com/market/listings/730/2020%20RMR%20Contenders",
358
344
  ],
359
- "names": ["RMR Legends", "RMR Challengers", "RMR Contenders"],
345
+ "names": ["RMR 2020 Legends", "RMR 2020 Challengers", "RMR 2020 Contenders"],
360
346
  }
361
347
 
362
348
  STOCKHOLM_2021_CAPSULES = {
@@ -369,11 +355,11 @@ STOCKHOLM_2021_CAPSULES = {
369
355
  "https://steamcommunity.com/market/listings/730/Stockholm%202021%20Finalists%20Autograph%20Capsule",
370
356
  ],
371
357
  "names": [
372
- "Stockholm Legends",
373
- "Stockholm Challengers",
374
- "Stockholm Contenders",
375
- "Stockholm Champions Autographs",
376
- "Stockholm Finalists Autographs",
358
+ "Stockholm 2021 Legends",
359
+ "Stockholm 2021 Challengers",
360
+ "Stockholm 2021 Contenders",
361
+ "Stockholm 2021 Champions Autographs",
362
+ "Stockholm 2021 Finalists Autographs",
377
363
  ],
378
364
  }
379
365
 
@@ -389,13 +375,13 @@ ANTWERP_2022_CAPSULES = {
389
375
  "https://steamcommunity.com/market/listings/730/Antwerp%202022%20Contenders%20Autograph%20Capsule",
390
376
  ],
391
377
  "names": [
392
- "Antwerp Legends",
393
- "Antwerp Challengers",
394
- "Antwerp Contenders",
395
- "Antwerp Champions Autographs",
396
- "Antwerp Challengers Autographs",
397
- "Antwerp Legends Autographs",
398
- "Antwerp Contenders Autographs",
378
+ "Antwerp 2022 Legends",
379
+ "Antwerp 2022 Challengers",
380
+ "Antwerp 2022 Contenders",
381
+ "Antwerp 2022 Champions Autographs",
382
+ "Antwerp 2022 Challengers Autographs",
383
+ "Antwerp 2022 Legends Autographs",
384
+ "Antwerp 2022 Contenders Autographs",
399
385
  ],
400
386
  }
401
387
 
@@ -411,13 +397,13 @@ RIO_2022_CAPSULES = {
411
397
  "https://steamcommunity.com/market/listings/730/Rio%202022%20Contenders%20Autograph%20Capsule",
412
398
  ],
413
399
  "names": [
414
- "Rio Legends",
415
- "Rio Challengers",
416
- "Rio Contenders",
417
- "Rio Champions Autographs",
418
- "Rio Challengers Autographs",
419
- "Rio Legends Autographs",
420
- "Rio Contenders Autographs",
400
+ "Rio 2022 Legends",
401
+ "Rio 2022 Challengers",
402
+ "Rio 2022 Contenders",
403
+ "Rio 2022 Champions Autographs",
404
+ "Rio 2022 Challengers Autographs",
405
+ "Rio 2022 Legends Autographs",
406
+ "Rio 2022 Contenders Autographs",
421
407
  ],
422
408
  }
423
409
 
@@ -433,13 +419,13 @@ PARIS_2023_CAPSULES = {
433
419
  "https://steamcommunity.com/market/listings/730/Paris%202023%20Contenders%20Autograph%20Capsule",
434
420
  ],
435
421
  "names": [
436
- "Paris Legends",
437
- "Paris Challengers",
438
- "Paris Contenders",
439
- "Paris Champions Autographs",
440
- "Paris Challengers Autographs",
441
- "Paris Legends Autographs",
442
- "Paris Contenders Autographs",
422
+ "Paris 2023 Legends",
423
+ "Paris 2023 Challengers",
424
+ "Paris 2023 Contenders",
425
+ "Paris 2023 Champions Autographs",
426
+ "Paris 2023 Challengers Autographs",
427
+ "Paris 2023 Legends Autographs",
428
+ "Paris 2023 Contenders Autographs",
443
429
  ],
444
430
  }
445
431
 
@@ -455,13 +441,13 @@ COPENHAGEN_2024_CAPSULES = {
455
441
  "https://steamcommunity.com/market/listings/730/Copenhagen%202024%20Contenders%20Autograph%20Capsule",
456
442
  ],
457
443
  "names": [
458
- "Copenhagen Legends",
459
- "Copenhagen Challengers",
460
- "Copenhagen Contenders",
461
- "Copenhagen Champions Autographs",
462
- "Copenhagen Challengers Autographs",
463
- "Copenhagen Legends Autographs",
464
- "Copenhagen Contenders Autographs",
444
+ "Copenhagen 2024 Legends",
445
+ "Copenhagen 2024 Challengers",
446
+ "Copenhagen 2024 Contenders",
447
+ "Copenhagen 2024 Champions Autographs",
448
+ "Copenhagen 2024 Challengers Autographs",
449
+ "Copenhagen 2024 Legends Autographs",
450
+ "Copenhagen 2024 Contenders Autographs",
465
451
  ],
466
452
  }
467
453
 
@@ -477,13 +463,13 @@ SHANGHAI_2024_CAPSULES = {
477
463
  "https://steamcommunity.com/market/listings/730/Shanghai%202024%20Contenders%20Autograph%20Capsule",
478
464
  ],
479
465
  "names": [
480
- "Shanghai Legends",
481
- "Shanghai Challengers",
482
- "Shanghai Contenders",
483
- "Shanghai Champions Autographs",
484
- "Shanghai Challengers Autographs",
485
- "Shanghai Legends Autographs",
486
- "Shanghai Contenders Autographs",
466
+ "Shanghai 2024 Legends",
467
+ "Shanghai 2024 Challengers",
468
+ "Shanghai 2024 Contenders",
469
+ "Shanghai 2024 Champions Autographs",
470
+ "Shanghai 2024 Challengers Autographs",
471
+ "Shanghai 2024 Legends Autographs",
472
+ "Shanghai 2024 Contenders Autographs",
487
473
  ],
488
474
  }
489
475
 
@@ -499,13 +485,13 @@ AUSTIN_2025_CAPSULES = {
499
485
  "https://steamcommunity.com/market/listings/730/Austin%202025%20Contenders%20Autograph%20Capsule",
500
486
  ],
501
487
  "names": [
502
- "Austin Legends",
503
- "Austin Challengers",
504
- "Austin Contenders",
505
- "Austin Champions Autographs",
506
- "Austin Challengers Autographs",
507
- "Austin Legends Autographs",
508
- "Austin Contenders Autographs",
488
+ "Austin 2025 Legends",
489
+ "Austin 2025 Challengers",
490
+ "Austin 2025 Contenders",
491
+ "Austin 2025 Champions Autographs",
492
+ "Austin 2025 Challengers Autographs",
493
+ "Austin 2025 Legends Autographs",
494
+ "Austin 2025 Contenders Autographs",
509
495
  ],
510
496
  }
511
497