Skip to content

PySecNinja/api-dump-json-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set your env variable

export WEATHER_API_KEY=<TOKENID>
echo $WEATHER_API_KEY

See the Usage Section in each .py file to see what the code does

1. Create virtual python env

python -m venv venv && source venv/bin/activate #Linux
python -m venv venv && \venv\Scripts\activate #Windows

Creates virtual python environment

python -m venv venv 

Steps into virtual environment

source .venv/bin/activate

See the terminal now has the name of your virtual environment

(venv) drew@Andrews-MacBook-Pro% 

To Step out of the virtual environment

deactivate

2. Install dependencies (Inside of Virtual environment)

pip install -r requirements.txt

3 Run the Code

python main.py

TROUBLESHOOTING

pip list
python --version 
pip --version 
If trying to do this with VS CODE ensure you have your files open on the left side aka the workspace 

Command+shift+p select interpreter and chose .venv/bin python

Releases

No releases published

Packages

No packages published

Languages