MorganBergen / clarity

Advanced ML for Nutritional Analysis and Healthcare Management
1 stars 0 forks source link

python microservice #62

Closed MorganBergen closed 1 week ago

MorganBergen commented 1 week ago

create a Python Flask microservice that can be started alongside the Node.js server

MorganBergen commented 1 week ago
~/Documents/03-GitHub/clarity/server/services/aiy 62-python-microservice* ⇡                                                               02:08:28 PM
❯ pip install -r requirements.txt 
Requirement already satisfied: flask==2.0.1 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: werkzeug==2.0.3 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (2.0.3)
Collecting flask-cors==3.0.10 (from -r requirements.txt (line 3))
  Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: python-dotenv==1.0.0 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: Jinja2>=3.0 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from flask==2.0.1->-r requirements.txt (line 1)) (3.1.4)
Requirement already satisfied: itsdangerous>=2.0 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from flask==2.0.1->-r requirements.txt (line 1)) (2.2.0)
Requirement already satisfied: click>=7.1.2 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from flask==2.0.1->-r requirements.txt (line 1)) (8.1.7)
Requirement already satisfied: Six in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from flask-cors==3.0.10->-r requirements.txt (line 3)) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.0 in /Users/owner/.pyenv/versions/3.10.11/lib/python3.10/site-packages (from Jinja2>=3.0->flask==2.0.1->-r requirements.txt (line 1)) (2.1.5)
Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Installing collected packages: flask-cors
Successfully installed flask-cors-3.0.10