feat: first working local docker container depending on samgis_core and samgis_web
Browse files- README.md +1 -0
- Dockerfile → dockerfiles/Dockerfile +12 -14
- dockerfiles/dockerfile-samgis-base +5 -3
- poetry.lock +150 -1
- pyproject.toml +3 -2
README.md
CHANGED
@@ -56,6 +56,7 @@ Run the container (keep it on background) and show logs
|
|
56 |
docker run -d --name samgis-huggingface -p 7860:7860 \
|
57 |
-e VITE__STATIC_INDEX_URL=${VITE__STATIC_INDEX_URL} \
|
58 |
-e VITE__INDEX_URL=${VITE__INDEX_URL} \
|
|
|
59 |
registry.gitlab.com/aletrn/samgis-huggingface; docker logs -f samgis-huggingface
|
60 |
```
|
61 |
|
|
|
56 |
docker run -d --name samgis-huggingface -p 7860:7860 \
|
57 |
-e VITE__STATIC_INDEX_URL=${VITE__STATIC_INDEX_URL} \
|
58 |
-e VITE__INDEX_URL=${VITE__INDEX_URL} \
|
59 |
+
-e MOUNT_GRADIO_APP="" \
|
60 |
registry.gitlab.com/aletrn/samgis-huggingface; docker logs -f samgis-huggingface
|
61 |
```
|
62 |
|
Dockerfile → dockerfiles/Dockerfile
RENAMED
@@ -1,22 +1,23 @@
|
|
1 |
-
FROM registry.gitlab.com/aletrn/gis-prediction:1.
|
2 |
|
3 |
# Include global arg in this stage of the build
|
4 |
ARG WORKDIR_ROOT="/var/task"
|
5 |
-
|
6 |
ENV VIRTUAL_ENV=${WORKDIR_ROOT}/.venv \
|
7 |
PATH="${WORKDIR_ROOT}/.venv/bin:$PATH"
|
8 |
-
ENV
|
9 |
-
ENV
|
|
|
|
|
10 |
|
11 |
# Set working directory to function root directory
|
12 |
WORKDIR ${WORKDIR_ROOT}
|
13 |
|
14 |
-
COPY
|
15 |
-
COPY wrappers ${WORKDIR_ROOT}/wrappers
|
16 |
COPY pyproject.toml poetry.lock README.md ${WORKDIR_ROOT}
|
17 |
-
RUN . ${WORKDIR_ROOT}/.venv && which python && echo "# install samgis #" && pip install .
|
18 |
-
RUN mkdir {WRITE_TMP_ON_DISK}
|
19 |
-
RUN ls -l {WRITE_TMP_ON_DISK}
|
20 |
|
21 |
RUN ls -l /usr/bin/which
|
22 |
RUN /usr/bin/which python
|
@@ -31,17 +32,14 @@ RUN ls -l ${WORKDIR_ROOT}/machine_learning_models
|
|
31 |
RUN python -c "import sys; print(sys.path)"
|
32 |
RUN python -c "import fastapi"
|
33 |
RUN python -c "import geopandas"
|
34 |
-
RUN python -c "import loguru"
|
35 |
RUN python -c "import onnxruntime"
|
36 |
RUN python -c "import rasterio"
|
37 |
RUN python -c "import uvicorn"
|
38 |
RUN python -c "import jinja2"
|
39 |
RUN df -h
|
40 |
-
RUN ls -l ${WORKDIR_ROOT}/
|
41 |
-
RUN ls -l ${WORKDIR_ROOT}/wrappers/
|
42 |
RUN ls -l ${WORKDIR_ROOT}/static/
|
43 |
RUN ls -l ${WORKDIR_ROOT}/static/dist
|
44 |
RUN ls -l ${WORKDIR_ROOT}/static/node_modules
|
45 |
-
RUN ls -l {WRITE_TMP_ON_DISK}
|
46 |
|
47 |
-
CMD ["uvicorn", "
|
|
|
1 |
+
FROM registry.gitlab.com/aletrn/gis-prediction:1.6.0
|
2 |
|
3 |
# Include global arg in this stage of the build
|
4 |
ARG WORKDIR_ROOT="/var/task"
|
5 |
+
ENV PYTHONPATH="${WORKDIR_ROOT}:${PYTHONPATH}:/usr/local/lib/python3/dist-packages"
|
6 |
ENV VIRTUAL_ENV=${WORKDIR_ROOT}/.venv \
|
7 |
PATH="${WORKDIR_ROOT}/.venv/bin:$PATH"
|
8 |
+
ENV WRITE_TMP_ON_DISK=""
|
9 |
+
ENV MOUNT_GRADIO_APP=""
|
10 |
+
ENV VITE__STATIC_INDEX_URL="/static"
|
11 |
+
ENV VITE__INDEX_URL="/"
|
12 |
|
13 |
# Set working directory to function root directory
|
14 |
WORKDIR ${WORKDIR_ROOT}
|
15 |
|
16 |
+
COPY app.py ${WORKDIR_ROOT}/
|
|
|
17 |
COPY pyproject.toml poetry.lock README.md ${WORKDIR_ROOT}
|
18 |
+
# RUN . ${WORKDIR_ROOT}/.venv && which python && echo "# install samgis #" && pip install .
|
19 |
+
RUN if [ "${WRITE_TMP_ON_DISK}" != "" ]; then mkdir {WRITE_TMP_ON_DISK}; fi
|
20 |
+
RUN if [ "${WRITE_TMP_ON_DISK}" != "" ]; then ls -l {WRITE_TMP_ON_DISK}; fi
|
21 |
|
22 |
RUN ls -l /usr/bin/which
|
23 |
RUN /usr/bin/which python
|
|
|
32 |
RUN python -c "import sys; print(sys.path)"
|
33 |
RUN python -c "import fastapi"
|
34 |
RUN python -c "import geopandas"
|
|
|
35 |
RUN python -c "import onnxruntime"
|
36 |
RUN python -c "import rasterio"
|
37 |
RUN python -c "import uvicorn"
|
38 |
RUN python -c "import jinja2"
|
39 |
RUN df -h
|
40 |
+
RUN ls -l ${WORKDIR_ROOT}/app.py
|
|
|
41 |
RUN ls -l ${WORKDIR_ROOT}/static/
|
42 |
RUN ls -l ${WORKDIR_ROOT}/static/dist
|
43 |
RUN ls -l ${WORKDIR_ROOT}/static/node_modules
|
|
|
44 |
|
45 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
dockerfiles/dockerfile-samgis-base
CHANGED
@@ -9,7 +9,7 @@ ARG POETRY_VIRTUALENVS_CREATE=1
|
|
9 |
ARG POETRY_CACHE_DIR=/tmp/poetry_cache
|
10 |
|
11 |
|
12 |
-
FROM python:3.11-bookworm
|
13 |
|
14 |
ARG ARCH
|
15 |
ARG WORKDIR_ROOT
|
@@ -52,7 +52,7 @@ RUN echo "# poetry config --list #" && poetry config --list
|
|
52 |
RUN poetry install --with ${DEPENDENCY_GROUP} --no-root
|
53 |
|
54 |
|
55 |
-
FROM python:3.11-slim-bookworm
|
56 |
|
57 |
ARG ARCH
|
58 |
ARG WORKDIR_ROOT
|
@@ -102,8 +102,10 @@ FROM node_fastapi AS node_build
|
|
102 |
ARG DEPENDENCY_GROUP
|
103 |
ARG VITE__MAP_DESCRIPTION
|
104 |
ARG VITE__SAMGIS_SPACE
|
|
|
105 |
RUN echo "VITE__MAP_DESCRIPTION:" ${VITE__MAP_DESCRIPTION}
|
106 |
RUN echo "VITE__SAMGIS_SPACE:" ${VITE__SAMGIS_SPACE}
|
|
|
107 |
|
108 |
RUN --mount=type=cache,id=pnpm,target=/pnpm/store if [ "${DEPENDENCY_GROUP}" = "fastapi" ]; then \
|
109 |
pnpm install --frozen-lockfile; else \
|
@@ -118,7 +120,7 @@ FROM runtime
|
|
118 |
ARG FASTAPI_STATIC
|
119 |
RUN mkdir ${FASTAPI_STATIC}
|
120 |
|
121 |
-
COPY ./machine_learning_models ${WORKDIR_ROOT}/machine_learning_models
|
122 |
COPY --from=node_prod_deps /appnode/node_modules* ${FASTAPI_STATIC}/node_modules
|
123 |
COPY --from=node_build /appnode/dist* ${FASTAPI_STATIC}/dist
|
124 |
COPY static/list_files.html ${FASTAPI_STATIC}/
|
|
|
9 |
ARG POETRY_CACHE_DIR=/tmp/poetry_cache
|
10 |
|
11 |
|
12 |
+
FROM python:3.11-bookworm AS builder_global
|
13 |
|
14 |
ARG ARCH
|
15 |
ARG WORKDIR_ROOT
|
|
|
52 |
RUN poetry install --with ${DEPENDENCY_GROUP} --no-root
|
53 |
|
54 |
|
55 |
+
FROM python:3.11-slim-bookworm AS runtime
|
56 |
|
57 |
ARG ARCH
|
58 |
ARG WORKDIR_ROOT
|
|
|
102 |
ARG DEPENDENCY_GROUP
|
103 |
ARG VITE__MAP_DESCRIPTION
|
104 |
ARG VITE__SAMGIS_SPACE
|
105 |
+
ENV VITE__INDEX_URL="/"
|
106 |
RUN echo "VITE__MAP_DESCRIPTION:" ${VITE__MAP_DESCRIPTION}
|
107 |
RUN echo "VITE__SAMGIS_SPACE:" ${VITE__SAMGIS_SPACE}
|
108 |
+
RUN echo "VITE__INDEX_URL:" ${VITE__INDEX_URL}
|
109 |
|
110 |
RUN --mount=type=cache,id=pnpm,target=/pnpm/store if [ "${DEPENDENCY_GROUP}" = "fastapi" ]; then \
|
111 |
pnpm install --frozen-lockfile; else \
|
|
|
120 |
ARG FASTAPI_STATIC
|
121 |
RUN mkdir ${FASTAPI_STATIC}
|
122 |
|
123 |
+
COPY ./sam-quantized/machine_learning_models ${WORKDIR_ROOT}/machine_learning_models
|
124 |
COPY --from=node_prod_deps /appnode/node_modules* ${FASTAPI_STATIC}/node_modules
|
125 |
COPY --from=node_build /appnode/dist* ${FASTAPI_STATIC}/dist
|
126 |
COPY static/list_files.html ${FASTAPI_STATIC}/
|
poetry.lock
CHANGED
@@ -303,6 +303,23 @@ files = [
|
|
303 |
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
304 |
]
|
305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
[[package]]
|
307 |
name = "contextily"
|
308 |
version = "1.6.0"
|
@@ -608,6 +625,17 @@ docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1
|
|
608 |
testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8.0.1)", "pytest (>=7.4.3)", "pytest-asyncio (>=0.21)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)", "virtualenv (>=20.26.2)"]
|
609 |
typing = ["typing-extensions (>=4.8)"]
|
610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
[[package]]
|
612 |
name = "fonttools"
|
613 |
version = "4.53.1"
|
@@ -969,6 +997,20 @@ testing = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "fastapi", "gr
|
|
969 |
torch = ["safetensors[torch]", "torch"]
|
970 |
typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)"]
|
971 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
[[package]]
|
973 |
name = "idna"
|
974 |
version = "3.7"
|
@@ -1397,6 +1439,23 @@ files = [
|
|
1397 |
{file = "mistune-3.0.2.tar.gz", hash = "sha256:fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8"},
|
1398 |
]
|
1399 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1400 |
[[package]]
|
1401 |
name = "myst-parser"
|
1402 |
version = "3.0.1"
|
@@ -1502,6 +1561,48 @@ files = [
|
|
1502 |
{file = "numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"},
|
1503 |
]
|
1504 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1505 |
[[package]]
|
1506 |
name = "orjson"
|
1507 |
version = "3.10.6"
|
@@ -1768,6 +1869,26 @@ files = [
|
|
1768 |
dev = ["pre-commit", "tox"]
|
1769 |
testing = ["pytest", "pytest-benchmark"]
|
1770 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1771 |
[[package]]
|
1772 |
name = "pydantic"
|
1773 |
version = "2.8.2"
|
@@ -2012,6 +2133,17 @@ files = [
|
|
2012 |
[package.dependencies]
|
2013 |
certifi = "*"
|
2014 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015 |
[[package]]
|
2016 |
name = "pytest"
|
2017 |
version = "8.3.2"
|
@@ -2851,6 +2983,23 @@ docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphi
|
|
2851 |
tests = ["freezegun (>=0.2.8)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "simplejson"]
|
2852 |
typing = ["mypy (>=1.4)", "rich", "twisted"]
|
2853 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2854 |
[[package]]
|
2855 |
name = "tomli"
|
2856 |
version = "2.0.1"
|
@@ -3199,4 +3348,4 @@ files = [
|
|
3199 |
[metadata]
|
3200 |
lock-version = "2.0"
|
3201 |
python-versions = ">=3.10, <3.12"
|
3202 |
-
content-hash = "
|
|
|
303 |
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
304 |
]
|
305 |
|
306 |
+
[[package]]
|
307 |
+
name = "coloredlogs"
|
308 |
+
version = "15.0.1"
|
309 |
+
description = "Colored terminal output for Python's logging module"
|
310 |
+
optional = false
|
311 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
312 |
+
files = [
|
313 |
+
{file = "coloredlogs-15.0.1-py2.py3-none-any.whl", hash = "sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934"},
|
314 |
+
{file = "coloredlogs-15.0.1.tar.gz", hash = "sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0"},
|
315 |
+
]
|
316 |
+
|
317 |
+
[package.dependencies]
|
318 |
+
humanfriendly = ">=9.1"
|
319 |
+
|
320 |
+
[package.extras]
|
321 |
+
cron = ["capturer (>=2.4)"]
|
322 |
+
|
323 |
[[package]]
|
324 |
name = "contextily"
|
325 |
version = "1.6.0"
|
|
|
625 |
testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8.0.1)", "pytest (>=7.4.3)", "pytest-asyncio (>=0.21)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)", "virtualenv (>=20.26.2)"]
|
626 |
typing = ["typing-extensions (>=4.8)"]
|
627 |
|
628 |
+
[[package]]
|
629 |
+
name = "flatbuffers"
|
630 |
+
version = "24.3.25"
|
631 |
+
description = "The FlatBuffers serialization format for Python"
|
632 |
+
optional = false
|
633 |
+
python-versions = "*"
|
634 |
+
files = [
|
635 |
+
{file = "flatbuffers-24.3.25-py2.py3-none-any.whl", hash = "sha256:8dbdec58f935f3765e4f7f3cf635ac3a77f83568138d6a2311f524ec96364812"},
|
636 |
+
{file = "flatbuffers-24.3.25.tar.gz", hash = "sha256:de2ec5b203f21441716617f38443e0a8ebf3d25bf0d9c0bb0ce68fa00ad546a4"},
|
637 |
+
]
|
638 |
+
|
639 |
[[package]]
|
640 |
name = "fonttools"
|
641 |
version = "4.53.1"
|
|
|
997 |
torch = ["safetensors[torch]", "torch"]
|
998 |
typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)"]
|
999 |
|
1000 |
+
[[package]]
|
1001 |
+
name = "humanfriendly"
|
1002 |
+
version = "10.0"
|
1003 |
+
description = "Human friendly output for text interfaces using Python"
|
1004 |
+
optional = false
|
1005 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
1006 |
+
files = [
|
1007 |
+
{file = "humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477"},
|
1008 |
+
{file = "humanfriendly-10.0.tar.gz", hash = "sha256:6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc"},
|
1009 |
+
]
|
1010 |
+
|
1011 |
+
[package.dependencies]
|
1012 |
+
pyreadline3 = {version = "*", markers = "sys_platform == \"win32\" and python_version >= \"3.8\""}
|
1013 |
+
|
1014 |
[[package]]
|
1015 |
name = "idna"
|
1016 |
version = "3.7"
|
|
|
1439 |
{file = "mistune-3.0.2.tar.gz", hash = "sha256:fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8"},
|
1440 |
]
|
1441 |
|
1442 |
+
[[package]]
|
1443 |
+
name = "mpmath"
|
1444 |
+
version = "1.3.0"
|
1445 |
+
description = "Python library for arbitrary-precision floating-point arithmetic"
|
1446 |
+
optional = false
|
1447 |
+
python-versions = "*"
|
1448 |
+
files = [
|
1449 |
+
{file = "mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c"},
|
1450 |
+
{file = "mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f"},
|
1451 |
+
]
|
1452 |
+
|
1453 |
+
[package.extras]
|
1454 |
+
develop = ["codecov", "pycodestyle", "pytest (>=4.6)", "pytest-cov", "wheel"]
|
1455 |
+
docs = ["sphinx"]
|
1456 |
+
gmpy = ["gmpy2 (>=2.1.0a4)"]
|
1457 |
+
tests = ["pytest (>=4.6)"]
|
1458 |
+
|
1459 |
[[package]]
|
1460 |
name = "myst-parser"
|
1461 |
version = "3.0.1"
|
|
|
1561 |
{file = "numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"},
|
1562 |
]
|
1563 |
|
1564 |
+
[[package]]
|
1565 |
+
name = "onnxruntime"
|
1566 |
+
version = "1.18.1"
|
1567 |
+
description = "ONNX Runtime is a runtime accelerator for Machine Learning models"
|
1568 |
+
optional = false
|
1569 |
+
python-versions = "*"
|
1570 |
+
files = [
|
1571 |
+
{file = "onnxruntime-1.18.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:29ef7683312393d4ba04252f1b287d964bd67d5e6048b94d2da3643986c74d80"},
|
1572 |
+
{file = "onnxruntime-1.18.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fc706eb1df06ddf55776e15a30519fb15dda7697f987a2bbda4962845e3cec05"},
|
1573 |
+
{file = "onnxruntime-1.18.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7de69f5ced2a263531923fa68bbec52a56e793b802fcd81a03487b5e292bc3a"},
|
1574 |
+
{file = "onnxruntime-1.18.1-cp310-cp310-win32.whl", hash = "sha256:221e5b16173926e6c7de2cd437764492aa12b6811f45abd37024e7cf2ae5d7e3"},
|
1575 |
+
{file = "onnxruntime-1.18.1-cp310-cp310-win_amd64.whl", hash = "sha256:75211b619275199c861ee94d317243b8a0fcde6032e5a80e1aa9ded8ab4c6060"},
|
1576 |
+
{file = "onnxruntime-1.18.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:f26582882f2dc581b809cfa41a125ba71ad9e715738ec6402418df356969774a"},
|
1577 |
+
{file = "onnxruntime-1.18.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef36f3a8b768506d02be349ac303fd95d92813ba3ba70304d40c3cd5c25d6a4c"},
|
1578 |
+
{file = "onnxruntime-1.18.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:170e711393e0618efa8ed27b59b9de0ee2383bd2a1f93622a97006a5ad48e434"},
|
1579 |
+
{file = "onnxruntime-1.18.1-cp311-cp311-win32.whl", hash = "sha256:9b6a33419b6949ea34e0dc009bc4470e550155b6da644571ecace4b198b0d88f"},
|
1580 |
+
{file = "onnxruntime-1.18.1-cp311-cp311-win_amd64.whl", hash = "sha256:5c1380a9f1b7788da742c759b6a02ba771fe1ce620519b2b07309decbd1a2fe1"},
|
1581 |
+
{file = "onnxruntime-1.18.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:31bd57a55e3f983b598675dfc7e5d6f0877b70ec9864b3cc3c3e1923d0a01919"},
|
1582 |
+
{file = "onnxruntime-1.18.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b9e03c4ba9f734500691a4d7d5b381cd71ee2f3ce80a1154ac8f7aed99d1ecaa"},
|
1583 |
+
{file = "onnxruntime-1.18.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:781aa9873640f5df24524f96f6070b8c550c66cb6af35710fd9f92a20b4bfbf6"},
|
1584 |
+
{file = "onnxruntime-1.18.1-cp312-cp312-win32.whl", hash = "sha256:3a2d9ab6254ca62adbb448222e630dc6883210f718065063518c8f93a32432be"},
|
1585 |
+
{file = "onnxruntime-1.18.1-cp312-cp312-win_amd64.whl", hash = "sha256:ad93c560b1c38c27c0275ffd15cd7f45b3ad3fc96653c09ce2931179982ff204"},
|
1586 |
+
{file = "onnxruntime-1.18.1-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:3b55dc9d3c67626388958a3eb7ad87eb7c70f75cb0f7ff4908d27b8b42f2475c"},
|
1587 |
+
{file = "onnxruntime-1.18.1-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f80dbcfb6763cc0177a31168b29b4bd7662545b99a19e211de8c734b657e0669"},
|
1588 |
+
{file = "onnxruntime-1.18.1-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f1ff2c61a16d6c8631796c54139bafea41ee7736077a0fc64ee8ae59432f5c58"},
|
1589 |
+
{file = "onnxruntime-1.18.1-cp38-cp38-win32.whl", hash = "sha256:219855bd272fe0c667b850bf1a1a5a02499269a70d59c48e6f27f9c8bcb25d02"},
|
1590 |
+
{file = "onnxruntime-1.18.1-cp38-cp38-win_amd64.whl", hash = "sha256:afdf16aa607eb9a2c60d5ca2d5abf9f448e90c345b6b94c3ed14f4fb7e6a2d07"},
|
1591 |
+
{file = "onnxruntime-1.18.1-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:128df253ade673e60cea0955ec9d0e89617443a6d9ce47c2d79eb3f72a3be3de"},
|
1592 |
+
{file = "onnxruntime-1.18.1-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9839491e77e5c5a175cab3621e184d5a88925ee297ff4c311b68897197f4cde9"},
|
1593 |
+
{file = "onnxruntime-1.18.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ad3187c1faff3ac15f7f0e7373ef4788c582cafa655a80fdbb33eaec88976c66"},
|
1594 |
+
{file = "onnxruntime-1.18.1-cp39-cp39-win32.whl", hash = "sha256:34657c78aa4e0b5145f9188b550ded3af626651b15017bf43d280d7e23dbf195"},
|
1595 |
+
{file = "onnxruntime-1.18.1-cp39-cp39-win_amd64.whl", hash = "sha256:9c14fd97c3ddfa97da5feef595e2c73f14c2d0ec1d4ecbea99c8d96603c89589"},
|
1596 |
+
]
|
1597 |
+
|
1598 |
+
[package.dependencies]
|
1599 |
+
coloredlogs = "*"
|
1600 |
+
flatbuffers = "*"
|
1601 |
+
numpy = ">=1.21.6,<2.0"
|
1602 |
+
packaging = "*"
|
1603 |
+
protobuf = "*"
|
1604 |
+
sympy = "*"
|
1605 |
+
|
1606 |
[[package]]
|
1607 |
name = "orjson"
|
1608 |
version = "3.10.6"
|
|
|
1869 |
dev = ["pre-commit", "tox"]
|
1870 |
testing = ["pytest", "pytest-benchmark"]
|
1871 |
|
1872 |
+
[[package]]
|
1873 |
+
name = "protobuf"
|
1874 |
+
version = "5.27.2"
|
1875 |
+
description = ""
|
1876 |
+
optional = false
|
1877 |
+
python-versions = ">=3.8"
|
1878 |
+
files = [
|
1879 |
+
{file = "protobuf-5.27.2-cp310-abi3-win32.whl", hash = "sha256:354d84fac2b0d76062e9b3221f4abbbacdfd2a4d8af36bab0474f3a0bb30ab38"},
|
1880 |
+
{file = "protobuf-5.27.2-cp310-abi3-win_amd64.whl", hash = "sha256:0e341109c609749d501986b835f667c6e1e24531096cff9d34ae411595e26505"},
|
1881 |
+
{file = "protobuf-5.27.2-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:a109916aaac42bff84702fb5187f3edadbc7c97fc2c99c5ff81dd15dcce0d1e5"},
|
1882 |
+
{file = "protobuf-5.27.2-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:176c12b1f1c880bf7a76d9f7c75822b6a2bc3db2d28baa4d300e8ce4cde7409b"},
|
1883 |
+
{file = "protobuf-5.27.2-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:b848dbe1d57ed7c191dfc4ea64b8b004a3f9ece4bf4d0d80a367b76df20bf36e"},
|
1884 |
+
{file = "protobuf-5.27.2-cp38-cp38-win32.whl", hash = "sha256:4fadd8d83e1992eed0248bc50a4a6361dc31bcccc84388c54c86e530b7f58863"},
|
1885 |
+
{file = "protobuf-5.27.2-cp38-cp38-win_amd64.whl", hash = "sha256:610e700f02469c4a997e58e328cac6f305f649826853813177e6290416e846c6"},
|
1886 |
+
{file = "protobuf-5.27.2-cp39-cp39-win32.whl", hash = "sha256:9e8f199bf7f97bd7ecebffcae45ebf9527603549b2b562df0fbc6d4d688f14ca"},
|
1887 |
+
{file = "protobuf-5.27.2-cp39-cp39-win_amd64.whl", hash = "sha256:7fc3add9e6003e026da5fc9e59b131b8f22b428b991ccd53e2af8071687b4fce"},
|
1888 |
+
{file = "protobuf-5.27.2-py3-none-any.whl", hash = "sha256:54330f07e4949d09614707c48b06d1a22f8ffb5763c159efd5c0928326a91470"},
|
1889 |
+
{file = "protobuf-5.27.2.tar.gz", hash = "sha256:f3ecdef226b9af856075f28227ff2c90ce3a594d092c39bee5513573f25e2714"},
|
1890 |
+
]
|
1891 |
+
|
1892 |
[[package]]
|
1893 |
name = "pydantic"
|
1894 |
version = "2.8.2"
|
|
|
2133 |
[package.dependencies]
|
2134 |
certifi = "*"
|
2135 |
|
2136 |
+
[[package]]
|
2137 |
+
name = "pyreadline3"
|
2138 |
+
version = "3.4.1"
|
2139 |
+
description = "A python implementation of GNU readline."
|
2140 |
+
optional = false
|
2141 |
+
python-versions = "*"
|
2142 |
+
files = [
|
2143 |
+
{file = "pyreadline3-3.4.1-py3-none-any.whl", hash = "sha256:b0efb6516fd4fb07b45949053826a62fa4cb353db5be2bbb4a7aa1fdd1e345fb"},
|
2144 |
+
{file = "pyreadline3-3.4.1.tar.gz", hash = "sha256:6f3d1f7b8a31ba32b73917cefc1f28cc660562f39aea8646d30bd6eff21f7bae"},
|
2145 |
+
]
|
2146 |
+
|
2147 |
[[package]]
|
2148 |
name = "pytest"
|
2149 |
version = "8.3.2"
|
|
|
2983 |
tests = ["freezegun (>=0.2.8)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "simplejson"]
|
2984 |
typing = ["mypy (>=1.4)", "rich", "twisted"]
|
2985 |
|
2986 |
+
[[package]]
|
2987 |
+
name = "sympy"
|
2988 |
+
version = "1.13.1"
|
2989 |
+
description = "Computer algebra system (CAS) in Python"
|
2990 |
+
optional = false
|
2991 |
+
python-versions = ">=3.8"
|
2992 |
+
files = [
|
2993 |
+
{file = "sympy-1.13.1-py3-none-any.whl", hash = "sha256:db36cdc64bf61b9b24578b6f7bab1ecdd2452cf008f34faa33776680c26d66f8"},
|
2994 |
+
{file = "sympy-1.13.1.tar.gz", hash = "sha256:9cebf7e04ff162015ce31c9c6c9144daa34a93bd082f54fd8f12deca4f47515f"},
|
2995 |
+
]
|
2996 |
+
|
2997 |
+
[package.dependencies]
|
2998 |
+
mpmath = ">=1.1.0,<1.4"
|
2999 |
+
|
3000 |
+
[package.extras]
|
3001 |
+
dev = ["hypothesis (>=6.70.0)", "pytest (>=7.1.0)"]
|
3002 |
+
|
3003 |
[[package]]
|
3004 |
name = "tomli"
|
3005 |
version = "2.0.1"
|
|
|
3348 |
[metadata]
|
3349 |
lock-version = "2.0"
|
3350 |
python-versions = ">=3.10, <3.12"
|
3351 |
+
content-hash = "2d88b63780b3461a14d30e93ce891a461404f2b79c323d8623bdccd289709ec5"
|
pyproject.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[tool.poetry]
|
2 |
name = "samgis"
|
3 |
-
version = "1.
|
4 |
description = "A backend for machine learning instance segmentation on geospatial data even without dedicated graphics cards."
|
5 |
authors = ["alessandro trinca tornidor <[email protected]>"]
|
6 |
license = "MIT license"
|
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
8 |
|
9 |
[metadata]
|
10 |
name = "samgis"
|
11 |
-
version = "1.
|
12 |
|
13 |
[tool.poetry.urls]
|
14 |
Source = "https://github.com/trincadev/samgis-be"
|
@@ -25,6 +25,7 @@ numpy = [
|
|
25 |
pillow = "^10.4.0"
|
26 |
python = ">=3.10, <3.12"
|
27 |
python-dotenv = "^1.0.1"
|
|
|
28 |
rasterio = "^1.3.10"
|
29 |
requests = "^2.32.3"
|
30 |
samgis-core = "^3.0.2"
|
|
|
1 |
[tool.poetry]
|
2 |
name = "samgis"
|
3 |
+
version = "1.6.0"
|
4 |
description = "A backend for machine learning instance segmentation on geospatial data even without dedicated graphics cards."
|
5 |
authors = ["alessandro trinca tornidor <[email protected]>"]
|
6 |
license = "MIT license"
|
|
|
8 |
|
9 |
[metadata]
|
10 |
name = "samgis"
|
11 |
+
version = "1.6.0"
|
12 |
|
13 |
[tool.poetry.urls]
|
14 |
Source = "https://github.com/trincadev/samgis-be"
|
|
|
25 |
pillow = "^10.4.0"
|
26 |
python = ">=3.10, <3.12"
|
27 |
python-dotenv = "^1.0.1"
|
28 |
+
onnxruntime = "^1.18.1"
|
29 |
rasterio = "^1.3.10"
|
30 |
requests = "^2.32.3"
|
31 |
samgis-core = "^3.0.2"
|