Skip to content

jessopjj/unemployment-inclass-summer-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unemployment-inclass-summer-2023

tests

Setup

Obtain an AlphaVantage API Key. A normal key should be fine, but alternatively you can use one of the prof's "premium" keys. Then create a file called ".env" and place it inside (like the following example):

# this is the ".env" file (in the root directory of the repo)

ALPHAVANTAGE_API_KEY="____________"

Create a virtual environment:

conda create -n unemployment-env python=3.10
conda activate unemployment-env

Install third-party packages:

pip install -r requirements.txt

Usage

Run the unemployment report:

python -m app.unemployment

Run the stocks report:

python -m app.stocks

Run the web app:

# Mac OS:
FLASK_APP=web_app flask run

# Windows OS:
# ... if `export` doesn't work for you, try `set` instead
# ... or try a ".env" file approach
export FLASK_APP=web_app
flask run

Testing

pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published