Skip to content

Simple API to get a polygon and retrieve satellite images from sentinel 2

License

Notifications You must be signed in to change notification settings

rupestre-campos/satellite-image-viewer-api

Repository files navigation

Python application

Satellite image viewer API

Simple API to get a polygon and retrieve satellite images from sentinel 2

Instalation

How to run in debian based linux distros Recomended Python version: Python 3.10 or above

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
cd src/
uvicorn main:app --reload

Development

How to run tests

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt

# run tests
pytest tests/

Docker build

docker build -t sat-img-view-api .
docker run -d --name sat-img-view-api-container -p 8000:8000 sat-img-view-api
docker start sat-img-view-api-container

About

Simple API to get a polygon and retrieve satellite images from sentinel 2

Resources

License

Stars

Watchers

Forks

Languages