added requirements.txt
This commit is contained in:
parent
7a18b1b2ff
commit
89eec0ab8a
28
requirements.txt
Normal file
28
requirements.txt
Normal file
@ -0,0 +1,28 @@
|
||||
asgiref==3.8.1
|
||||
astropy==6.1.3
|
||||
astropy-iers-data==0.2024.9.12.13.29.57
|
||||
astropy_healpix==1.0.3
|
||||
attrs==24.2.0
|
||||
Django==5.1.1
|
||||
djangorestframework==3.15.2
|
||||
drf-spectacular==0.27.2
|
||||
healpy==1.17.3
|
||||
inflection==0.5.1
|
||||
jsonschema==4.23.0
|
||||
jsonschema-specifications==2023.12.1
|
||||
numpy==2.1.1
|
||||
packaging==24.1
|
||||
pandas==2.2.2
|
||||
psycopg2-binary==2.9.9
|
||||
pyarrow==17.0.0
|
||||
pyerfa==2.0.1.4
|
||||
python-dateutil==2.9.0.post0
|
||||
pytz==2024.2
|
||||
PyYAML==6.0.2
|
||||
referencing==0.35.1
|
||||
rpds-py==0.20.0
|
||||
six==1.16.0
|
||||
sqlparse==0.5.1
|
||||
typing_extensions==4.12.2
|
||||
tzdata==2024.1
|
||||
uritemplate==4.1.1
|
9
views.py
9
views.py
@ -4,4 +4,11 @@ from rest_framework import status
|
||||
from .models import GaiaSource
|
||||
from .serializers import GaiaSourceSerializer
|
||||
|
||||
|
||||
class ConeSearchView(APIView):
|
||||
def get(self, request, ra, dec, radius):
|
||||
radius = float(radius)
|
||||
ra = radians(float(ra))
|
||||
dec = radians(float(dec))
|
||||
objects = GaiaSource.objects.all()
|
||||
result = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user