Skip to content

Commit d3ce28c

Browse files
authored
Merge pull request #176 from itniuma2026/niuma/docs-requirements-172
docs: Add comments to requirements.txt (#172)
2 parents 54293c2 + d587b19 commit d3ce28c

File tree

1 file changed

+110
-49
lines changed

1 file changed

+110
-49
lines changed

requirements.txt

Lines changed: 110 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,116 @@
1-
attrs==23.2.0
2-
certifi==2024.2.2
3-
charset-normalizer==3.3.2
1+
# ============================================
2+
# Terminal Casino - Requirements
3+
# ============================================
4+
# Organized by purpose. See each section for
5+
# which part of the project uses the package.
6+
# ============================================
7+
8+
# ------------------------------------------
9+
# Core Framework (used by all games)
10+
# ------------------------------------------
11+
12+
# Terminal colors and styled output (casino/utils.py)
413
colorama==0.4.6
14+
15+
# Logging
516
coloredlogs==15.0.1
6-
EasyProcess==1.1
7-
entrypoint2==1.1
8-
flatbuffers==24.3.25
9-
humanfriendly==10.0
10-
idna==3.6
11-
imageio==2.34.0
12-
jsonschema==4.21.1
13-
jsonschema-specifications==2023.12.1
17+
humanfriendly==10.0 # coloredlogs dependency
18+
19+
# Keyboard input handling
1420
keyboard==0.13.5
15-
lazy_loader==0.3
16-
llvmlite==0.42.0
17-
MouseInfo==0.1.3
18-
mpmath==1.3.0
19-
mss==9.0.1
20-
networkx==3.2.1
21-
numba==0.59.1
22-
numpy==1.26.4
23-
onnxruntime==1.17.1
24-
opencv-python-headless==4.9.0.80
25-
packaging==24.0
26-
pandas==2.1.1
27-
Pillow==10.0.1
28-
platformdirs==4.2.0
29-
pooch==1.8.1
30-
protobuf==5.26.1
31-
PyAutoGUI==0.9.54
32-
pygame==2.6.1
33-
PyGetWindow==0.0.9
34-
PyMatting==1.1.12
35-
PyMsgBox==1.0.9
36-
pyperclip==1.8.2
21+
22+
# Windows readline support
3723
pyreadline3==3.4.1
38-
PyRect==0.2.0
39-
pyscreenshot==3.1
40-
PyScreeze==0.1.29
41-
python-dateutil==2.8.2
42-
pytweening==1.0.7
43-
pytz==2023.3.post1
44-
referencing==0.34.0
24+
25+
# ------------------------------------------
26+
# Audio & Game Display
27+
# ------------------------------------------
28+
29+
# Sound effects and audio (used across all games)
30+
pygame==2.6.1
31+
32+
# ------------------------------------------
33+
# Screen Automation (PyAutoGUI + dependencies)
34+
# ------------------------------------------
35+
36+
PyAutoGUI==0.9.54
37+
MouseInfo==0.1.3 # PyAutoGUI dependency
38+
PyGetWindow==0.0.9 # PyAutoGUI dependency
39+
PyMsgBox==1.0.9 # PyAutoGUI dependency
40+
PyRect==0.2.0 # PyAutoGUI dependency
41+
PyScreeze==0.1.29 # PyAutoGUI dependency
42+
pytweening==1.0.7 # PyAutoGUI dependency
43+
pyperclip==1.8.2 # PyAutoGUI dependency
44+
pyscreenshot==3.1 # PyAutoGUI dependency
45+
mss==9.0.1 # PyAutoGUI dependency
46+
EasyProcess==1.1 # pyscreenshot dependency
47+
entrypoint2==1.1 # pyscreenshot dependency
48+
49+
# ------------------------------------------
50+
# Card Image Processing (casino/card_assets.py)
51+
# Used by: Blackjack, Poker, UNO (card rendering)
52+
# ------------------------------------------
53+
54+
# Background removal for card assets
4555
rembg==2.0.56
46-
requests==2.31.0
47-
rpds-py==0.18.0
48-
scikit-image==0.22.0
56+
onnxruntime==1.17.1 # rembg dependency
57+
opencv-python-headless==4.9.0.80 # rembg dependency
58+
Pillow==10.0.1 # rembg dependency
59+
PyMatting==1.1.12 # rembg dependency
60+
scikit-image==0.22.0 # rembg dependency
61+
imageio==2.34.0 # scikit-image dependency
62+
lazy_loader==0.3 # scikit-image dependency
63+
tifffile==2024.2.12 # scikit-image dependency
64+
pooch==1.8.1 # scikit-image dependency
65+
66+
# Scientific computing (rembg/scikit-image dependencies)
67+
numpy==1.26.4
4968
scipy==1.12.0
50-
six==1.16.0
51-
sympy==1.12
52-
tifffile==2024.2.12
53-
tqdm==4.66.2
54-
tzdata==2023.3
55-
urllib3==2.2.1
69+
numba==0.59.1
70+
llvmlite==0.42.0 # numba dependency
71+
networkx==3.2.1 # scikit-image dependency
72+
73+
# Protobuf / ONNX model support
74+
protobuf==5.26.1 # onnxruntime dependency
75+
flatbuffers==24.3.25 # onnxruntime dependency
76+
sympy==1.12 # onnxruntime dependency
77+
mpmath==1.3.0 # sympy dependency
78+
79+
# ------------------------------------------
80+
# Data & Statistics
81+
# ------------------------------------------
82+
83+
# Data handling (casino/stats.py)
84+
pandas==2.1.1
85+
python-dateutil==2.8.2 # pandas dependency
86+
pytz==2023.3.post1 # pandas dependency
87+
tzdata==2023.3 # pandas dependency
88+
six==1.16.0 # python-dateutil dependency
89+
90+
# ------------------------------------------
91+
# Configuration & Validation
92+
# ------------------------------------------
93+
94+
jsonschema==4.21.1
95+
jsonschema-specifications==2023.12.1 # jsonschema dependency
96+
attrs==23.2.0 # jsonschema dependency
97+
referencing==0.34.0 # jsonschema dependency
98+
rpds-py==0.18.0 # jsonschema dependency
99+
100+
# ------------------------------------------
101+
# HTTP & Networking
102+
# ------------------------------------------
103+
104+
requests==2.31.0
105+
certifi==2024.2.2 # requests dependency
106+
charset-normalizer==3.3.2 # requests dependency
107+
idna==3.6 # requests dependency
108+
urllib3==2.2.1 # requests dependency
109+
110+
# ------------------------------------------
111+
# Miscellaneous
112+
# ------------------------------------------
113+
114+
packaging==24.0
115+
platformdirs==4.2.0
116+
tqdm==4.66.2 # Progress bars

0 commit comments

Comments
 (0)