-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.txt
83 lines (60 loc) · 2.63 KB
/
requirements.txt
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# requirements.txt - list all the packages the project needs
# Ingnore hashes - they are just used to create comments in the file
# They will be ignored when we install packages using this file.
# ======================================================
# STEP A - CREATE A LOCAL PROJECT VIRTUAL ENV (.venv)
# ======================================================
# Create your local project virtual environment
# This step ensures you have an isolated Python environment for your project.
# This is typically just done once at the beginning of a project.
# If it gets messed up, we can delete .venv and recreate it at any time.
# Run the following command to create a virtual environment in the project root.
### On Windows, Use PowerShell (not cmd) - don't include the #:
### On Mac/Linux, Use zsh or bash (or PowerShell) - don't include the #:
# python -m venv .venv
# ======================================================
# STEP B - ALWAYS ACTIVATE THE (.venv) WHEN WORKING ON YOUR PROJECT
# ======================================================
# ALWAYS activate the .venv before working on the project.
# Activate whenever you open a new terminal.
### Windows Command (don't include the #):
# .venv\Scripts\activate
### Mac/Linux Command (don't include the #):
# source .venv/bin/activate
# Verify: When active, you can usually see (.venv) in the terminal.
# If using a Jupyter notebook, select the kernel associated with your project (.venv).
# ======================================================
# STEP C - INSTALL PACKAGES INTO (.venv) AS NEEDED
# ======================================================
# Install necessary packages listed below with this command:
# Keep packages updated with the most recent versions.
# When you identify a new package you want to use,
# Just update the list below and re-run this command.
### Windows Command (don't include the #):
# py -m pip install --upgrade -r requirements.txt
### Mac/Linux Command (don't include the #):
# python3 -m pip install --upgrade -r requirements.txt
# When you identify a new package you want to use,
# Just update the list below and re-run this command.
# ======================================================
# LIST EXTERNAL PACKAGES TO BE INSTALLED
# ======================================================
# Keep pip upgraded (manages the installation of packages)
pip
# Include wheel to ensure modern package installation support
wheel
# Easy logging to keep track of code execution
loguru
# Jupyter and related tools
ipykernel
jupyterlab
# Data analysis
numpy
pandas
# Data visualization
matplotlib
seaborn
plotly
# Work with Apache Spark for big data
pyspark==3.5.3
pyspark[sql]