-
Notifications
You must be signed in to change notification settings - Fork 6
/
requirements.txt
139 lines (122 loc) · 7.07 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Django.
# ------------------------------------------------------------------------------
django~=4.2
django-contrib-comments==2.2.0 # https://github.com/django/django-contrib-comments/tags
django-cte==1.3.2 # https://github.com/dimagi/django-cte/tags
django-filter==24.2 # https://github.com/carltongibson/django-filter/tags
django-json-widget==1.1.1 # https://github.com/jmrivas86/django-json-widget/tags
django-lazy-services==0.0.3 # https://pypi.org/project/django-lazy-services/
django-sql-dashboard==1.2 # https://github.com/simonw/django-sql-dashboard/tags
django-storages==1.14.2 # https://github.com/jschneier/django-storages/tags
django-translated-fields==0.12.0 # https://github.com/matthiask/django-translated-fields/tags
django-phonenumber-field[phonenumberslite]==7.3.0 # https://django-phonenumber-field.readthedocs.io/en/latest/
django-qr-code==4.0.1 # https://django-qr-code.readthedocs.io/en/latest/
# Django REST Framework.
# ------------------------------------------------------------------------------
django-cors-headers==4.3.1 # https://github.com/adamchainz/django-cors-headers/tags
djangorestframework-csv==3.0.2 # https://github.com/mjumbewu/django-rest-framework-csv/tags
djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework/tags
djangorestframework_simplejwt==5.3.1 # https://github.com/jazzband/djangorestframework-simplejwt/tags
drf-yasg==1.21.7 # https://github.com/axnsan12/drf-yasg/tags
pyjwt==1.7.1 # https://github.com/jpadilla/pyjwt/tags
nested-multipart-parser==1.5.0 # https://github.com/remigermain/nested-multipart-parser
# Redis.
# ------------------------------------------------------------------------------
redis==4.6.0 # https://github.com/redis/redis/tags
django-redis==4.12.1 # https://github.com/jazzband/django-redis/tags
# Pandas.
# ------------------------------------------------------------------------------
pandas==2.0.3 # https://github.com/pandas-dev/pandas/tags
geopandas==0.14.2 # https://github.com/geopandas/geopandas/tags
numpy==1.26.2 # https://github.com/numpy/numpy/tags
Shapely==2.0.2 # https://github.com/shapely/shapely/tags
# Geo.
# ------------------------------------------------------------------------------
Fiona==1.9.5 # https://github.com/Toblerity/Fiona/tags
geopy==2.4.1 # https://github.com/geopy/geopy/tags
# PostgreSQL and SQL.
# ------------------------------------------------------------------------------
django-ltree==0.5.3 # https://github.com/mariocesar/django-ltree/tags
psycopg2-binary==2.9.9 # https://github.com/psycopg/psycopg2/tags
# Tools.
# ------------------------------------------------------------------------------
Pillow==10.1.0 # https://github.com/python-pillow/Pillow/tags
boto3==1.34.7 # https://github.com/boto/boto3/tags
pycryptodome==3.20.0 # https://github.com/Legrandin/pycryptodome/
dateparser==1.2.0 # https://github.com/scrapinghub/dateparser/tags
requests==2.31.0 # https://github.com/psf/requests/tags
gql[requests]==3.4.1 # https://github.com/graphql-python/gql/tags
gspread-formatting==1.1.2 # https://github.com/robin900/gspread-formatting/tags
gspread==5.12.3 # https://github.com/burnash/gspread/tags
unidecode==1.3.7 # https://github.com/avian2/unidecode/tags
python-dateutil==2.9.0 # https://github.com/dateutil/dateutil
# Exporting tools.
# ------------------------------------------------------------------------------
xlsxwriter==3.1.9 # https://github.com/jmcnamara/XlsxWriter/tags
beautifulsoup4==4.12.2 # https://pypi.org/project/beautifulsoup4/
lxml==4.9.4 # https://github.com/lxml/lxml/tags
# Importing tools.
# ------------------------------------------------------------------------------
jsonschema==4.20.0 # https://github.com/python-jsonschema/jsonschema/tags
# Web server and auth.
# ------------------------------------------------------------------------------
oauth2client==4.1.3 # https://github.com/googleapis/oauth2client/tags
# DHIS2 API wrapper.
# ------------------------------------------------------------------------------
dhis2.py==2.3.0 # https://github.com/davidhuser/dhis2.py/tags
# Monitoring.
# ------------------------------------------------------------------------------
sentry-sdk[django]==1.38.0 # https://github.com/getsentry/sentry-python/tags
# Only used for WFP plugin.
# ------------------------------------------------------------------------------
SQLAlchemy==2.0.23 # https://github.com/sqlalchemy/sqlalchemy/tags
celery==5.3.6 # https://github.com/celery/celery/tags
django-allauth==0.54.0 # https://github.com/pennersr/django-allauth/tags
django-celery-beat==2.5.0 # https://github.com/celery/django-celery-beat/tags
django-celery-results==2.5.1 # https://github.com/celery/django-celery-results/tags
# Webpack loader.
# ------------------------------------------------------------------------------
# This is our custom version of webpack loader to handle S3 better.
# Use the following line if you want a locally editable version, and comment the other
# -e git+https://github.com/BLSQ/django-webpack-loader@e94f76d0f8372193f0b662e2a1aba01a9deffb20#egg=django_webpack_loader
# Use the tar.gz version to install faster
# ------------------------------------------------------------------------------
https://github.com/BLSQ/django-webpack-loader/archive/5fa2b6897b27dc6ff5bb51162e1375fd0aa8afea.tar.gz#egg=django_webpack_loader
# ODK-specific libraries.
# ------------------------------------------------------------------------------
# pyxform depends on:
#
# 1. xlrd==2.0.1 https://github.com/XLSForm/pyxform/blob/f71955/setup.py#L23
# - xlrd supports Python up to 3.9
# - https://github.com/python-excel/xlrd/blob/c6d642/CHANGELOG.rst?plain=1#L18
# - we are stuck with Python 3.9
#
# 2. openpyxl==3.0.9 https://github.com/XLSForm/pyxform/blob/f71955/setup.py#L24
# - pandas ≥ 2.1 require openpyxl > 3.0.9
# - we are stuck with Pandas < 2.1
#
# Since pyxform is used 2 times in Iaso for `create_survey_from_xls`, we should
# get rid of it to upgrade to newer versions of Python and Pandas.
# ------------------------------------------------------------------------------
pyxform==2.0.0 # https://github.com/XLSForm/pyxform/tags
# Bug fix for: "App Engine" was removed from `requests_toolbelt`.
# ------------------------------------------------------------------------------
# Google App Engine was removed from requests-toolbelt in 1.0.0:
# https://github.com/requests/toolbelt/blob/c62d97/HISTORY.rst#100----2023-05-01
# Stick to a previous version, otherwise this wouldn't work:
# https://github.com/BLSQ/iaso/blob/a52af7/plugins/polio/tasks/api/refresh_lqas_data.py#L3
# gql > requests_toolbelt > appengine
# ------------------------------------------------------------------------------
urllib3<2
requests-toolbelt==0.9.1
# Tools.
# ------------------------------------------------------------------------------
ipython==8.18.1 # https://github.com/ipython/ipython/tags
django-extensions==3.2.3 # https://github.com/django-extensions/django-extensions/tags
# Trypelim plugin.
# ------------------------------------------------------------------------------
django-pg-utils==0.1.5
django-ses==2.6.1
gpxpy==1.4.0
snaql==0.4.2
tsp-solver2==0.4.1