-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript_3.py
More file actions
35 lines (26 loc) · 762 Bytes
/
Copy pathscript_3.py
File metadata and controls
35 lines (26 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Membuat requirements.txt
requirements = '''# Dashboard Universitas - Python Dependencies
# Web Framework
streamlit==1.28.1
# Data Processing & Analysis
pandas==2.0.3
numpy==1.24.3
# Data Visualization
plotly==5.16.1
plotly-express==0.4.1
# Utilities
python-dateutil==2.8.2
pytz==2023.3
# Optional: untuk production deployment
gunicorn==21.2.0
python-dotenv==1.0.0
'''
with open('requirements.txt', 'w') as f:
f.write(requirements)
print("✓ requirements.txt berhasil dibuat")
print("\nDependencies yang diinstal:")
print(" • streamlit (Web framework)")
print(" • pandas (Data manipulation)")
print(" • numpy (Numerical computing)")
print(" • plotly (Interactive visualization)")
print(" • python-dateutil & pytz (Date utilities)")