From 95829b0993183b5505a9058be0550afc275b7e24 Mon Sep 17 00:00:00 2001 From: Piotr Szkudlarek Date: Fri, 15 Mar 2024 00:14:09 +0100 Subject: [PATCH] vercel --- PlanktonDetector/requirements.txt | 131 ++++++++++++++++++++++++++++++ PlanktonDetector/vercel.json | 13 +++ 2 files changed, 144 insertions(+) create mode 100644 PlanktonDetector/requirements.txt create mode 100644 PlanktonDetector/vercel.json diff --git a/PlanktonDetector/requirements.txt b/PlanktonDetector/requirements.txt new file mode 100644 index 0000000..28b09d7 --- /dev/null +++ b/PlanktonDetector/requirements.txt @@ -0,0 +1,131 @@ +anyio==4.1.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asgiref==3.7.2 +asttokens==2.4.0 +async-lru==2.0.4 +attrs==23.1.0 +Babel==2.13.1 +backcall==0.2.0 +beautifulsoup4==4.12.2 +black==23.10.1 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +charset-normalizer==3.3.2 +click==8.1.7 +comm==0.1.4 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +Django==4.2.7 +django-ckeditor==6.7.0 +django-environ==0.11.2 +django-js-asset==2.2.0 +environ==1.0 +exceptiongroup==1.1.3 +executing==2.0.0 +fastjsonschema==2.19.0 +fqdn==1.5.1 +grpc-google-iam-v1==0.13.0 +grpcio==1.60.0 +grpcio-status==1.60.0 +gunicorn==21.2.0 +idna==2.10 +ipykernel==6.25.2 +ipython==8.16.1 +ipywidgets==8.1.1 +isoduration==20.11.0 +jedi==0.19.1 +Jinja2==3.1.2 +joblib==1.3.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +jupyter==1.0.0 +jupyter-console==6.6.3 +jupyter-events==0.9.0 +jupyter-lsp==2.2.1 +jupyter_client==8.6.0 +jupyter_core==5.5.0 +jupyter_server==2.11.1 +jupyter_server_terminals==0.4.4 +jupyterlab==4.0.9 +jupyterlab-widgets==3.0.9 +jupyterlab_pygments==0.3.0 +jupyterlab_server==2.25.2 +MarkupSafe==2.1.3 +matplotlib-inline==0.1.6 +mistune==3.0.2 +mypy-extensions==1.0.0 +nbclient==0.9.0 +nbconvert==7.11.0 +nbformat==5.9.2 +nest-asyncio==1.5.8 +notebook==7.0.6 +notebook_shim==0.2.3 +numpy==1.26.0 +opencv-python==4.9.0.80 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pickleshare==0.7.5 +pillow==10.2.0 +pip-autoremove==0.10.0 +platformdirs==3.11.0 +prometheus-client==0.19.0 +prompt-toolkit==3.0.39 +proto-plus==1.23.0 +protobuf==4.25.2 +psutil==5.9.5 +psycopg2-binary==2.9.9 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pyasn1==0.5.1 +pyasn1-modules==0.3.0 +pycparser==2.21 +Pygments==2.16.1 +pyparsing==3.1.1 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +PyYAML==6.0.1 +pyzmq==25.1.1 +qtconsole==5.5.1 +QtPy==2.4.1 +referencing==0.31.1 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rpds-py==0.13.2 +rsa==4.9 +scikit-learn==1.3.1 +scipy==1.11.3 +Send2Trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +soupsieve==2.5 +split-folders==0.5.1 +sqlparse==0.4.4 +stack-data==0.6.3 +terminado==0.18.0 +threadpoolctl==3.2.0 +tinycss2==1.2.1 +tomli==2.0.1 +tornado==6.3.3 +traitlets==5.11.2 +types-python-dateutil==2.8.19.14 +typing_extensions==4.8.0 +uri-template==1.3.0 +urllib3==2.1.0 +wcwidth==0.2.8 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +whitenoise==6.6.0 +widgetsnbextension==4.0.9 diff --git a/PlanktonDetector/vercel.json b/PlanktonDetector/vercel.json new file mode 100644 index 0000000..df80a88 --- /dev/null +++ b/PlanktonDetector/vercel.json @@ -0,0 +1,13 @@ +{ + "builds": [{ + "src": "PlanktonDetector/wsgi.py", + "use": "@vercel/python", + "config": { "maxLambdaSize": "15mb" } + }], + "routes": [ + { + "src": "/(.*)", + "dest": "PlanktonDetector/wsgi.py" + } + ] +}