diff --git a/app/main.py b/app/main.py index 53913fb..4c86786 100644 --- a/app/main.py +++ b/app/main.py @@ -1,5 +1,6 @@ from typing import Annotated, List, Union +from astropy.time import Time from fastapi import FastAPI, Query from fastapi.middleware.cors import CORSMiddleware from pydantic import Field @@ -153,4 +154,5 @@ def health_check(): normalize_hpc(515, -342, "2012-07-05 13:01:46", "2012-07-05 13:01:46") hgs2hpc(9, 9, "2024-01-01", "2024-01-02") gse_frame(0, 0, 0, "2024-01-02") + jsonify_skycoord(get_position("SDO", Time("2025-01-01"), Time("2025-01-01"))) return "success" diff --git a/app/requirements-dev.txt b/app/requirements-dev.txt index e6c64cf..6c774b3 100644 --- a/app/requirements-dev.txt +++ b/app/requirements-dev.txt @@ -1,75 +1,3 @@ -aioftp==0.24.1 -aiohappyeyeballs==2.4.6 -aiohttp==3.11.12 -aiosignal==1.3.2 -annotated-types==0.7.0 -anyio==4.8.0 -astropy==7.0.1 -astropy-iers-data==0.2025.2.10.0.33.26 -attrs==25.1.0 -black==25.1.0 -certifi==2025.1.31 -charset-normalizer==3.4.1 -click==8.1.8 -contourpy==1.3.1 -cycler==0.12.1 -dnspython==2.7.0 -email_validator==2.2.0 -fastapi==0.115.8 -fastapi-cli==0.0.7 -flake8==7.1.1 -fonttools==4.56.0 -frozenlist==1.5.0 -h11==0.14.0 -httpcore==1.0.7 -httptools==0.6.4 +pytest==9.0.2 httpx==0.28.1 -idna==3.10 -iniconfig==2.0.0 -Jinja2==3.1.5 -kiwisolver==1.4.8 -markdown-it-py==3.0.0 -MarkupSafe==3.0.2 -matplotlib==3.10.0 -mccabe==0.7.0 -mdurl==0.1.2 -multidict==6.1.0 -mypy-extensions==1.0.0 -numpy==2.2.2 -packaging==24.2 -parfive==2.1.0 -pathspec==0.12.1 -pillow==11.1.0 -platformdirs==4.3.6 -pluggy==1.5.0 -propcache==0.2.1 -pycodestyle==2.12.1 -pydantic==2.10.6 -pydantic_core==2.27.2 -pyerfa==2.0.1.5 -pyflakes==3.2.0 -Pygments==2.19.1 -pyparsing==3.2.1 -pytest==8.3.4 -python-dateutil==2.9.0.post0 -python-dotenv==1.0.1 -python-multipart==0.0.20 -PyYAML==6.0.2 -requests==2.32.3 -rich==13.9.4 -rich-toolkit==0.13.2 -scipy==1.15.1 -shellingham==1.5.4 -six==1.17.0 -sniffio==1.3.1 -starlette==0.45.3 -sunpy==6.0.4 -tqdm==4.67.1 -typer==0.15.1 -typing_extensions==4.12.2 -urllib3==2.3.0 -uvicorn==0.34.0 -uvloop==0.21.0 -watchfiles==1.0.4 -websockets==14.2 -yarl==1.18.3 +black==25.12.0 diff --git a/app/requirements.txt b/app/requirements.txt index 8b6b2ba..bfc5c71 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -1,64 +1,6 @@ -aioftp==0.24.1 -aiohappyeyeballs==2.4.6 -aiohttp==3.11.12 -aiosignal==1.3.2 -annotated-types==0.7.0 -anyio==4.8.0 -astropy==7.0.1 -astropy-iers-data==0.2025.2.10.0.33.26 -attrs==25.1.0 -certifi==2025.1.31 -charset-normalizer==3.4.1 -click==8.1.8 -contourpy==1.3.1 -cycler==0.12.1 -dnspython==2.7.0 -email_validator==2.2.0 -fastapi==0.115.8 -fastapi-cli==0.0.7 -fonttools==4.56.0 -frozenlist==1.5.0 -h11==0.14.0 -httpcore==1.0.7 -httptools==0.6.4 -httpx==0.28.1 -idna==3.10 -Jinja2==3.1.5 -kiwisolver==1.4.8 -markdown-it-py==3.0.0 -MarkupSafe==3.0.2 -matplotlib==3.10.0 -mdurl==0.1.2 -multidict==6.1.0 -numpy==2.2.2 -packaging==24.2 -parfive==2.1.0 -pillow==11.1.0 -propcache==0.2.1 -pydantic==2.10.6 -pydantic_core==2.27.2 -pyerfa==2.0.1.5 -Pygments==2.19.1 -pyparsing==3.2.1 -python-dateutil==2.9.0.post0 -python-dotenv==1.0.1 -python-multipart==0.0.20 -PyYAML==6.0.2 -requests==2.32.3 -rich==13.9.4 -rich-toolkit==0.13.2 -scipy==1.15.1 -shellingham==1.5.4 -six==1.17.0 -sniffio==1.3.1 -starlette==0.45.3 -sunpy==6.0.4 -tqdm==4.67.1 -typer==0.15.1 -typing_extensions==4.12.2 -urllib3==2.3.0 -uvicorn==0.34.0 -uvloop==0.21.0 -watchfiles==1.0.4 -websockets==14.2 -yarl==1.18.3 +astropy==7.2.0 +sunpy==7.1.0 +matplotlib==3.10.8 +reproject==0.19.0 +mpl_animators==1.2.4 +fastapi[standard]==0.128.0