Skip to content

Commit e6332a0

Browse files
committed
Refactoring code and improving configuration
1 parent 90cf1be commit e6332a0

File tree

11 files changed

+688
-410
lines changed

11 files changed

+688
-410
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python Debugger: Current File with Arguments",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"program": "${file}",
12+
"console": "integratedTerminal",
13+
"args": ["-h"]
14+
}
15+
]
16+
}

ReadMe-Generic.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,24 @@ Make sure to check the option to add Python to PATH during the installation proc
1717

1818
Open Terminal (Mac)/ Command Prompt (Windows) and run the following command to install the additional required libraries:
1919

20-
pip install requests beautifulsoup4
20+
cd CPAP-data-from-EZShare-SD
21+
pip install -r requirements.txt
2122

2223
### Alternate MacOS instructions using HomeBrew (run commands in Terminal):
2324
Skip first line of HomeBrew is already installed.
2425

2526
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2627
brew install python
27-
pip install requests beautifulsoup4
28+
cd CPAP-data-from-EZShare-SD
29+
pip install -r requirements.txt
2830

2931
#################################################################################################
3032
Data Location:
3133
#################################################################################################
3234

3335
The default code (os.path.join etc) will place the file in the path below.
3436
Windows: C:\Users\MY_USERNAME\Documents\CPAP_Data
35-
MacOS: /home/MY_USERNAME/Documents/CPAP_Data
37+
MacOS: /Users/MY_USERNAME/Documents/CPAP_Data
3638
Linux et al: /home/MY_USERNAME/Documents/CPAP_Data
3739

3840
You may need to create a directory named CPAP_Data in your Documents folder.

ReadMe.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,26 @@ Make sure to check the option to add Python to PATH during the installation proc
1515

1616
Open Terminal (Mac)/ Command Prompt (Windows) and run the following command to install the additional required libraries:
1717

18-
pip install requests beautifulsoup4
18+
cd CPAP-data-from-EZShare-SD
19+
python3 -m venv .venv
20+
source .venv/bin/activate
21+
pip install -r requirements.txt
1922

2023
### Alternate MacOS instructions using HomeBrew (run commands in Terminal):
2124
Skip first line of HomeBrew is already installed.
2225

2326
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2427
brew install python
25-
pip install requests beautifulsoup4
28+
cd CPAP-data-from-EZShare-SD
29+
pip install -r requirements.txt
2630

2731
#################################################################################################
2832
Data Location:
2933
#################################################################################################
3034

3135
The default code (os.path.join etc) will place the file in the path below.
3236
Windows: C:\Users\MY_USERNAME\Documents\CPAP_Data
33-
MacOS: /home/MY_USERNAME/Documents/CPAP_Data
37+
MacOS: /Users/MY_USERNAME/Documents/CPAP_Data
3438
Linux et al: /home/MY_USERNAME/Documents/CPAP_Data
3539

3640
You may need to create a directory named CPAP_Data in your Documents folder.

ezshare_resmed.ini

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
[ezshare_resmed]
2-
start_from = 5
3-
show_progress = Verbose
4-
path = /some/path
5-
sid = ezshare
6-
psk = 88888888
7-
overwrite = False
8-
create_missing = False
2+
verbose = True
3+
overwrite = True
4+
ssid = ezshare
5+
psk = 88888888

0 commit comments

Comments
 (0)