A sample python microservice.
On macOS, you can use Homebrew to install packages, including Python and Flask. Here are the commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python@3
pip3 install Flask