Skip to content

Commit be394fd

Browse files
Merge pull request #8 from dgarciabriseno/update-deps
Update dependencies and add one more health check
2 parents 356e6c9 + a225d00 commit be394fd

File tree

3 files changed

+10
-138
lines changed

3 files changed

+10
-138
lines changed

app/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Annotated, List, Union
22

3+
from astropy.time import Time
34
from fastapi import FastAPI, Query
45
from fastapi.middleware.cors import CORSMiddleware
56
from pydantic import Field
@@ -153,4 +154,5 @@ def health_check():
153154
normalize_hpc(515, -342, "2012-07-05 13:01:46", "2012-07-05 13:01:46")
154155
hgs2hpc(9, 9, "2024-01-01", "2024-01-02")
155156
gse_frame(0, 0, 0, "2024-01-02")
157+
jsonify_skycoord(get_position("SDO", Time("2025-01-01"), Time("2025-01-01")))
156158
return "success"

app/requirements-dev.txt

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,3 @@
1-
aioftp==0.24.1
2-
aiohappyeyeballs==2.4.6
3-
aiohttp==3.11.12
4-
aiosignal==1.3.2
5-
annotated-types==0.7.0
6-
anyio==4.8.0
7-
astropy==7.0.1
8-
astropy-iers-data==0.2025.2.10.0.33.26
9-
attrs==25.1.0
10-
black==25.1.0
11-
certifi==2025.1.31
12-
charset-normalizer==3.4.1
13-
click==8.1.8
14-
contourpy==1.3.1
15-
cycler==0.12.1
16-
dnspython==2.7.0
17-
email_validator==2.2.0
18-
fastapi==0.115.8
19-
fastapi-cli==0.0.7
20-
flake8==7.1.1
21-
fonttools==4.56.0
22-
frozenlist==1.5.0
23-
h11==0.14.0
24-
httpcore==1.0.7
25-
httptools==0.6.4
1+
pytest==9.0.2
262
httpx==0.28.1
27-
idna==3.10
28-
iniconfig==2.0.0
29-
Jinja2==3.1.5
30-
kiwisolver==1.4.8
31-
markdown-it-py==3.0.0
32-
MarkupSafe==3.0.2
33-
matplotlib==3.10.0
34-
mccabe==0.7.0
35-
mdurl==0.1.2
36-
multidict==6.1.0
37-
mypy-extensions==1.0.0
38-
numpy==2.2.2
39-
packaging==24.2
40-
parfive==2.1.0
41-
pathspec==0.12.1
42-
pillow==11.1.0
43-
platformdirs==4.3.6
44-
pluggy==1.5.0
45-
propcache==0.2.1
46-
pycodestyle==2.12.1
47-
pydantic==2.10.6
48-
pydantic_core==2.27.2
49-
pyerfa==2.0.1.5
50-
pyflakes==3.2.0
51-
Pygments==2.19.1
52-
pyparsing==3.2.1
53-
pytest==8.3.4
54-
python-dateutil==2.9.0.post0
55-
python-dotenv==1.0.1
56-
python-multipart==0.0.20
57-
PyYAML==6.0.2
58-
requests==2.32.3
59-
rich==13.9.4
60-
rich-toolkit==0.13.2
61-
scipy==1.15.1
62-
shellingham==1.5.4
63-
six==1.17.0
64-
sniffio==1.3.1
65-
starlette==0.45.3
66-
sunpy==6.0.4
67-
tqdm==4.67.1
68-
typer==0.15.1
69-
typing_extensions==4.12.2
70-
urllib3==2.3.0
71-
uvicorn==0.34.0
72-
uvloop==0.21.0
73-
watchfiles==1.0.4
74-
websockets==14.2
75-
yarl==1.18.3
3+
black==25.12.0

app/requirements.txt

Lines changed: 6 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,6 @@
1-
aioftp==0.24.1
2-
aiohappyeyeballs==2.4.6
3-
aiohttp==3.11.12
4-
aiosignal==1.3.2
5-
annotated-types==0.7.0
6-
anyio==4.8.0
7-
astropy==7.0.1
8-
astropy-iers-data==0.2025.2.10.0.33.26
9-
attrs==25.1.0
10-
certifi==2025.1.31
11-
charset-normalizer==3.4.1
12-
click==8.1.8
13-
contourpy==1.3.1
14-
cycler==0.12.1
15-
dnspython==2.7.0
16-
email_validator==2.2.0
17-
fastapi==0.115.8
18-
fastapi-cli==0.0.7
19-
fonttools==4.56.0
20-
frozenlist==1.5.0
21-
h11==0.14.0
22-
httpcore==1.0.7
23-
httptools==0.6.4
24-
httpx==0.28.1
25-
idna==3.10
26-
Jinja2==3.1.5
27-
kiwisolver==1.4.8
28-
markdown-it-py==3.0.0
29-
MarkupSafe==3.0.2
30-
matplotlib==3.10.0
31-
mdurl==0.1.2
32-
multidict==6.1.0
33-
numpy==2.2.2
34-
packaging==24.2
35-
parfive==2.1.0
36-
pillow==11.1.0
37-
propcache==0.2.1
38-
pydantic==2.10.6
39-
pydantic_core==2.27.2
40-
pyerfa==2.0.1.5
41-
Pygments==2.19.1
42-
pyparsing==3.2.1
43-
python-dateutil==2.9.0.post0
44-
python-dotenv==1.0.1
45-
python-multipart==0.0.20
46-
PyYAML==6.0.2
47-
requests==2.32.3
48-
rich==13.9.4
49-
rich-toolkit==0.13.2
50-
scipy==1.15.1
51-
shellingham==1.5.4
52-
six==1.17.0
53-
sniffio==1.3.1
54-
starlette==0.45.3
55-
sunpy==6.0.4
56-
tqdm==4.67.1
57-
typer==0.15.1
58-
typing_extensions==4.12.2
59-
urllib3==2.3.0
60-
uvicorn==0.34.0
61-
uvloop==0.21.0
62-
watchfiles==1.0.4
63-
websockets==14.2
64-
yarl==1.18.3
1+
astropy==7.2.0
2+
sunpy==7.1.0
3+
matplotlib==3.10.8
4+
reproject==0.19.0
5+
mpl_animators==1.2.4
6+
fastapi[standard]==0.128.0

0 commit comments

Comments
 (0)