{"id":499620,"date":"2026-10-21T15:33:56","date_gmt":"2026-10-21T12:33:56","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=499620"},"modified":"2026-10-21T15:33:56","modified_gmt":"2026-10-21T12:33:56","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=499620","title":{"rendered":"\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u0442\u0430 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438: \u043a\u0430\u043a \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c FastAPI, \u041d\u0421\u041f\u0414, OSM \u0438 \u043d\u0435 \u0441\u043b\u043e\u0432\u0438\u0442\u044c 403 \u043d\u0430 \u0433\u043e\u0441\u0441\u0430\u0439\u0442\u0430\u0445"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u043e\u043b\u0433\u043e\u0434\u0430 \u044f \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e \u043f\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u00a0\u041d\u0435\u0434\u0432\u0438\u0436\u0421\u043a\u0430\u043d\u00a0\u2014 \u0441\u0435\u0440\u0432\u0438\u0441 \u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0434 \u0441\u0434\u0435\u043b\u043a\u043e\u0439.<\/p>\n<p>\u0418\u0434\u0435\u044f \u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0439: \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u0430\u0434\u0440\u0435\u0441 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0438\u043b\u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0437\u0435\u043c\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0430, \u0431\u044d\u043a\u0435\u043d\u0434 \u043d\u0430 Python \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434 \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0435\u0441\u0442\u0440\u044b, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0440\u0438\u0441\u043a\u043e\u0432 (\u043e\u0445\u0440\u0430\u043d\u043d\u044b\u0435 \u0437\u043e\u043d\u044b \u0417\u041e\u0423\u0418\u0422, \u041b\u042d\u041f, \u0437\u0430\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f, \u0432\u043e\u0434\u043e\u043e\u0445\u0440\u0430\u043d\u043a\u0443, \u043f\u0440\u0438\u0434\u043e\u0440\u043e\u0436\u043d\u044b\u0435 \u043f\u043e\u043b\u043e\u0441\u044b, \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u044b\u0435 \u0421\u0417\u0417, \u0440\u0435\u043b\u044c\u0435\u0444, \u044d\u043a\u043e\u043b\u043e\u0433\u0438\u044e) \u0438 \u043e\u0442\u0434\u0430\u0435\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 9-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 PDF.<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/a6\/c2\/da\/a6c2dae77c00cd2c701e9ee81df6dff8.PNG\" alt=\"\u043f\u0440\u0438\u043c\u0435\u0440\" title=\"\u043f\u0440\u0438\u043c\u0435\u0440\" width=\"648\" height=\"835\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/a6\/c2\/da\/a6c2dae77c00cd2c701e9ee81df6dff8.PNG 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/a6\/c2\/da\/a6c2dae77c00cd2c701e9ee81df6dff8.PNG 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u043f\u0440\u0438\u043c\u0435\u0440<\/figcaption><\/div>\n<\/figure>\n<div class=\"floating-image\">\n<p>\u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0435\u0448\u044c\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u0432\u044b\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u00ab\u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435\u00bb \u0436\u0438\u0432\u0443\u0442 \u043f\u043e \u0437\u0430\u043a\u043e\u043d\u0430\u043c \u0434\u0436\u0443\u043d\u0433\u043b\u0435\u0439: \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0432\u0440\u0435\u0442, \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u044e\u0442\u0441\u044f, \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u0435\u0448\u0430\u044e\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u0430 WAF \u0440\u0443\u0431\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u0430\u0436\u0435 \u0441 \u0431\u0435\u043b\u044b\u0445 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 IP.<\/p>\n<\/div>\n<p>\u041d\u0438\u0436\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430\u0448 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043d\u0430 FastAPI, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u0437\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0433\u0435\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0435\u0437 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u043a\u0438.<\/p>\n<pre><code>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\u2502                        \u041f\u0410\u0419\u041f\u041b\u0410\u0419\u041d \u0410\u0423\u0414\u0418\u0422\u0410 \u041e\u0411\u042a\u0415\u041a\u0422\u0410                         \u2502\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                                    \u2502                                    \u25bc                      [ \u041d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u0434\u0440\u0435\u0441\u0430 ]                                    \u2502                      \u041a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u0430\u0439\u0434\u0435\u043d?                                   \/ \\                            \u0414\u0410    \/   \\   \u041d\u0415\u0422                                 \/     \\                                \u25bc       \u25bc                    [ \u041f\u0440\u044f\u043c\u043e\u0439 \u043f\u043e\u0438\u0441\u043a ]   [ \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043c\u0430\u0441\u043a\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 ]                    [ \u0432 \u041d\u0421\u041f\u0414 find  ]   [   \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 \u041e\u041a\u0421 \u041d\u0421\u041f\u0414  ]                                \\       \/                                 \\     \/                                  \u25bc   \u25bc                      [ \u0424\u0438\u043a\u0441\u0430\u0446\u0438\u044f \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0443\u0440\u0430 ]                                    \u2502               \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510               \u25bc                    \u25bc                    \u25bc     [ \u0417\u043e\u043d\u044b \u0417\u041e\u0423\u0418\u0422 \u041d\u0421\u041f\u0414 ]   [ \u0413\u0440\u0430\u0444 Overpass OSM ]   [ \u0420\u0435\u043b\u044c\u0435\u0444 Copernicus ]     (search_in_contour)   (\u0442\u0440\u0430\u0441\u0441\u044b, \u0416\u0414, \u0441\u0432\u0430\u043b\u043a\u0438)     (\u0443\u043a\u043b\u043e\u043d, \u0437\u0430\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435)               \u2502                    \u2502                    \u2502               \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                                    \u2502                                    \u25bc                         [ \u0421\u043a\u043e\u0440\u0438\u043d\u0433 Risk Engine ]                                    \u2502                                    \u25bc                      [ LLM-\u0441\u0438\u043d\u0442\u0435\u0437 (DeepSeek v4) ]                                    \u2502                                    \u25bc                        [ \u0410\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u0439 WeasyPrint PDF ]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 1. WAF, pynspd \u0438 \u0438\u043b\u043b\u044e\u0437\u0438\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/h3>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u043b\u043e\u044f\u043c\u0438 \u041d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 (\u041d\u0421\u041f\u0414) \u0438 \u041f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438\u00a0<code>pynspd<\/code>.<\/p>\n<p>\u041a\u0430\u0436\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c: \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c\u00a0<code>asyncio.gather()<\/code>, \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443 \u0437\u0434\u0430\u043d\u0438\u044f, \u0432\u044b\u043f\u0438\u0441\u043a\u0443 \u043f\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0443 \u0438 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u043b\u043e\u0438 \u0417\u041e\u0423\u0418\u0422. \u041d\u043e \u0442\u0443\u0442 \u043d\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u0441\u0443\u0440\u043e\u0432\u0430\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/p>\n<ol>\n<li>\n<p><strong>WMS GetFeatureInfo \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0440\u0435\u0436\u0435\u0442\u0441\u044f \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e.<\/strong>\u00a0\u0415\u0441\u043b\u0438 \u0441\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a\u00a0<code>\/api\/aeggis\/v3\/...\/wms<\/code>\u00a0\u043f\u043e \u0442\u043e\u0447\u043a\u0435  (<code>search_at_coords<\/code>), \u0433\u043e\u0441\u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 HTTP 403\u00a0<code>BlockedIP<\/code>\u00a0\u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c\u0430.<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432\u0435\u0448\u0430\u044e\u0442 \u0441\u043e\u043a\u0435\u0442.<\/strong>\u00a0\u0422\u0440\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0430 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043a \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u0430\u043c \u041d\u0421\u041f\u0414 \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442 \u043a \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430\u043c \u0438 \u0441\u0431\u0440\u043e\u0441\u0443 TCP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ol>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430:<\/p>\n<pre><code># app\/pipeline\/nspd_engine.pyasync def fetch_cadastral_data(cadastral_number: str, coords: tuple[float, float]):    async with AsyncNspd() as client:        # 1. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u0442\u043e\u0447\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430        obj = await client.find(cadastral_number)        if not obj or not obj.geometry:            # Fallback: \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u043c \u0441 500, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441            return {\"status\": \"unavailable\", \"layers\": []}        # 2. \u041f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u0437\u043e\u043d \u0438\u0449\u0435\u043c \u0441\u0442\u0440\u043e\u0433\u043e \u0447\u0435\u0440\u0435\u0437 search_in_contour \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430,        # \u0430 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0439 identify \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c        contour_geojson = obj.geometry        zones = await client.search_in_contour(            geom=contour_geojson,            layers=[\"zouit_layer\", \"flood_layer\", \"forestry_layer\"]        )        return {\"status\": \"available\", \"data\": zones}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0437\u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f\u00a0<strong>\u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0443\u0440\u0430<\/strong>, \u0430 \u043d\u0435 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0442\u043e\u0447\u043a\u0438. \u042d\u0442\u043e \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u043b\u043e\u0436\u043d\u044b\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0438 \u043e\u0431\u0445\u043e\u0434\u0438\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 WAF.<\/p>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 2. \u041b\u043e\u0432\u0443\u0448\u043a\u0430 \u0433\u0435\u043e\u043a\u043e\u0434\u0438\u043d\u0433\u0430: \u043a\u043e\u0433\u0434\u0430 \u0434\u043e\u043c \u0443\u043b\u0435\u0442\u0430\u0435\u0442 \u043d\u0430 100 \u043c\u0435\u0442\u0440\u043e\u0432 \u0432 \u043a\u0430\u043d\u0430\u0432\u0443<\/h3>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0434\u0432\u043e\u0445 \u043f\u043e\u0434\u0436\u0438\u0434\u0430\u043b \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u043a\u043e\u0434\u0435\u0440\u0430 \u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u0430.<\/p>\n<p>\u041a\u043e\u0434\u0435\u0440 Suggestions \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u0430\u0440\u0441\u0438\u0442 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0438 \u0432 \u0430\u0434\u0440\u0435\u0441\u0430\u0445, \u043d\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u043c \u0441\u0435\u043a\u0442\u043e\u0440\u0435 (\u0421\u041d\u0422, \u0434\u0435\u0440\u0435\u0432\u043d\u0438, \u0418\u0416\u0421) \u0438\u043c\u0435\u044e\u0442 \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c \u0434\u043e 50\u2013100 \u043c\u0435\u0442\u0440\u043e\u0432.<\/p>\n<p>\u041d\u0430 \u0436\u0438\u0432\u043e\u043c \u0442\u0435\u0441\u0442\u0435 \u0432 \u0422\u0432\u0435\u0440\u0438 \u043a\u043e\u0434\u0435\u0440 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043c\u0430\u0440\u043a\u0435\u0440 \u0434\u043e\u043c\u0430 \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0439 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043f\u043e\u043b\u043e\u0442\u043d\u043e \u0430\u0432\u0442\u043e\u0434\u043e\u0440\u043e\u0433\u0438. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0430\u0448\u0435\u043b \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u0440\u043e\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u043e\u0442\u043d\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043e\u043c\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432:<\/p>\n<ol>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u0435\u043b \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u2014 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u0438 \u0446\u0435\u043d\u0442\u0440\u043e\u0438\u0434 \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e \u0438\u0437 \u0415\u0413\u0420\u041d\/\u041d\u0421\u041f\u0414.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d \u0442\u0435\u043a\u0441\u0442 \u2014 \u043a\u043e\u0434\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0443\u043b\u0438\u0446\u044b \u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u0434\u043e\u043c\u0430. \u041f\u043e\u0438\u0441\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u041e\u041a\u0421 \u041d\u0421\u041f\u0414:\u00a0<code>\u0433. {city}, \u0443\u043b. {street}, \u0434. {house}<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0430\u043a \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0439 fallback.<\/p>\n<\/li>\n<\/ol>\n<pre><code># \u041d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u043e\u0442\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u043c\u0443\u0441\u043e\u0440\u0430def clean_egrn_address(raw_address: str) -&gt; str:    # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u044b \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430    garbage_patterns = [        r\"\u041c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0430.*?,\",        r\"\u0443\u0447\u0430\u0441\u0442\u043e\u043a \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0433\u0440\u0430\u043d\u0438\u0446\u0430\u0445.*?,\",        r\"\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \\d+ \u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e.*\"    ]    cleaned = raw_address    for pattern in garbage_patterns:        cleaned = re.sub(pattern, \"\", cleaned, flags=re.IGNORECASE)    return cleaned.strip().strip(\",\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 3. \u041f\u043e\u043b\u0435-\u043f\u0440\u0438\u0437\u0440\u0430\u043a\u00a0year_commisioning<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0430\u0440\u0441\u0438\u043b\u0438 \u043f\u0430\u0441\u043f\u043e\u0440\u0442 \u043c\u043d\u043e\u0433\u043e\u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0438\u0437 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0437\u0434\u0430\u043d\u0438\u044f, \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438, \u0447\u0442\u043e \u043f\u043e\u043b\u0435\u00a0<code>year_built<\/code>\u00a0\u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u0430\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043f\u0443\u0441\u0442\u044b\u043c (<code>\"\"<\/code>\u00a0\u0438\u043b\u0438\u00a0<code>null<\/code>).<\/p>\n<p>\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 API \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u0433\u043e\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 \u043f\u043e\u043b\u0435 \u0441 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0439:\u00a0<code>year_commisioning<\/code>\u00a0(\u0441 \u043e\u0434\u043d\u043e\u0439\u00a0<code>s<\/code>).<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 Pydantic \u0431\u0435\u0437 \u0430\u043b\u0438\u0430\u0441\u043e\u0432, \u0441\u0435\u0440\u0432\u0438\u0441 \u0440\u0435\u0448\u0430\u0435\u0442, \u0447\u0442\u043e \u0433\u043e\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d. \u0420\u0435\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440\u043e\u043c:<\/p>\n<pre><code>from pydantic import BaseModel, Fieldclass BuildingPassport(BaseModel):    cadastral_number: str    floors_total: int | None = None    wall_material: str | None = None    # \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0438 \u0432 \u0433\u043e\u0441\u0430\u043f\u0438    year_built: int | None = Field(        default=None,         validation_alias=\"year_commisioning\"    )    @classmethod    def from_api(cls, raw: dict):        year = raw.get(\"year_built\") or raw.get(\"year_commisioning\")        return cls(            cadastral_number=raw.get(\"cad_num\", \"\"),            floors_total=raw.get(\"floors\"),            wall_material=raw.get(\"walls\"),            year_built=int(year) if str(year).isdigit() else None        )<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 4. \u041c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u0447\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 LLM<\/h3>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u043a\u043e\u0440\u0438\u043d\u0433\u0430 \u2014\u00a0<strong>\u043f\u043e\u043b\u043d\u044b\u0439 \u043e\u0442\u043a\u0430\u0437 \u043e\u0442 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u043a\u0438<\/strong>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0413\u0418\u0421 \u0416\u041a\u0425 \u0437\u0430\u043a\u0440\u044b\u043b \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 REST API (\u0430 \u043e\u043d \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 404, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 SOAP \u0441 \u042d\u0426\u041f), \u043c\u044b \u043d\u0435 \u043f\u0438\u0448\u0435\u043c \u0432 \u043e\u0442\u0447\u0435\u0442\u0435 \u00ab\u041f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043a\u0430\u043f\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u043c \u043d\u0435\u0442\u00bb. \u041c\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441\u00a0<code>unavailable<\/code>.<\/p>\n<p>\u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u0438 DeepSeek. \u041d\u043e \u0447\u0442\u043e\u0431\u044b \u044f\u0437\u044b\u043a\u043e\u0432\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0433\u0430\u043b\u043b\u044e\u0446\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0438 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0430 \u00ab\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0447\u0438\u0441\u0442\u043e\u0442\u0443\u00bb, \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0439 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 JSON-\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442:<\/p>\n<pre><code>{  \"object_type\": \"land_plot\",  \"verified_layers\": {    \"zouit\": {\"status\": \"available\", \"objects_found\": 1, \"type\": \"\u041b\u042d\u041f 110 \u043a\u0412\"},    \"flood_risk\": {\"status\": \"available\", \"objects_found\": 0},    \"gis_zhkh\": {\"status\": \"unavailable\", \"reason\": \"REST API deprecated\"}  }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442 \u0436\u0435\u0441\u0442\u043a\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043b\u043e\u0433\u0438\u043a\u0443:<\/p>\n<ul>\n<li>\n<p>\u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0431\u0449\u0438\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 \u00ab\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u044e\u0440\u0438\u0441\u0442\u0443\u00bb.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u0440\u0435\u0435\u0441\u0442\u0440\u0430\u00a0<code>unavailable<\/code>\u00a0\u2014 \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0438 \u0433\u0434\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u044e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/h3>\n<ul>\n<li>\n<p><strong>\u0411\u044d\u043a\u0435\u043d\u0434:<\/strong>\u00a0Python 3.12, FastAPI, Pydantic v2,\u00a0<code>asyncio<\/code>.<\/p>\n<\/li>\n<li>\n<p><strong>\u0413\u0435\u043e\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437:<\/strong>\u00a0<code>shapely<\/code>,\u00a0<code>pyproj<\/code>, Overpass API (OpenStreetMap) \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0448\u0443\u043c\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u0433\u0440\u044f\u0437\u043d\u0435\u043d\u0438\u044f \u0438 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0430\u0440\u0442\u0435\u0440\u0438\u0439, Copernicus GLO-90 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0443\u043a\u043b\u043e\u043d\u043e\u0432 \u0438 \u0432\u044b\u0441\u043e\u0442.<\/p>\n<\/li>\n<li>\n<p><strong>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432:<\/strong>\u00a0HTML-\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f Jinja2 + WeasyPrint \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 9-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0433\u043e PDF \u0432 \u0442\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0441\u043a\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430:<\/strong>\u00a0Docker Compose, \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 Caddy \u0441 \u0430\u0432\u0442\u043e\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c Let&#8217;s Encrypt \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043d\u0430 Beget VPS.<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443\u00a0<a href=\"http:\/\/nedvizhscan.ru\" rel=\"noopener nofollow\"><strong>nedvizhscan.ru<\/strong><\/a>.<\/p>\n<p>\u041a\u043e\u043b\u043b\u0435\u0433\u0438, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0433\u0435\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u043c \u0432 \u0420\u0424 \u2014 \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c\u0438 \u0433\u0440\u0430\u0431\u043b\u044f\u043c\u0438 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0430\u0445 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u044b? \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0435\u0432.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1097324\/\">https:\/\/habr.com\/ru\/articles\/1097324\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u043e\u043b\u0433\u043e\u0434\u0430 \u044f \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e \u043f\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u00a0\u041d\u0435\u0434\u0432\u0438\u0436\u0421\u043a\u0430\u043d\u00a0\u2014 \u0441\u0435\u0440\u0432\u0438\u0441 \u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0434 \u0441\u0434\u0435\u043b\u043a\u043e\u0439.\u0418\u0434\u0435\u044f \u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0439: \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u0430\u0434\u0440\u0435\u0441 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0438\u043b\u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0437\u0435\u043c\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0430, \u0431\u044d\u043a\u0435\u043d\u0434 \u043d\u0430 Python \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434 \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0435\u0441\u0442\u0440\u044b, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0440\u0438\u0441\u043a\u043e\u0432 (\u043e\u0445\u0440\u0430\u043d\u043d\u044b\u0435 \u0437\u043e\u043d\u044b \u0417\u041e\u0423\u0418\u0422, \u041b\u042d\u041f, \u0437\u0430\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f, \u0432\u043e\u0434\u043e\u043e\u0445\u0440\u0430\u043d\u043a\u0443, \u043f\u0440\u0438\u0434\u043e\u0440\u043e\u0436\u043d\u044b\u0435 \u043f\u043e\u043b\u043e\u0441\u044b, \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u044b\u0435 \u0421\u0417\u0417, \u0440\u0435\u043b\u044c\u0435\u0444, \u044d\u043a\u043e\u043b\u043e\u0433\u0438\u044e) \u0438 \u043e\u0442\u0434\u0430\u0435\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 9-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 PDF.\u043f\u0440\u0438\u043c\u0435\u0440\u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0435\u0448\u044c\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u0432\u044b\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u00ab\u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435\u00bb \u0436\u0438\u0432\u0443\u0442 \u043f\u043e \u0437\u0430\u043a\u043e\u043d\u0430\u043c \u0434\u0436\u0443\u043d\u0433\u043b\u0435\u0439: \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0432\u0440\u0435\u0442, \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u044e\u0442\u0441\u044f, \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u0435\u0448\u0430\u044e\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u0430 WAF \u0440\u0443\u0431\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u0430\u0436\u0435 \u0441 \u0431\u0435\u043b\u044b\u0445 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 IP.\u041d\u0438\u0436\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430\u0448 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043d\u0430 FastAPI, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u0437\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0433\u0435\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0435\u0437 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u043a\u0438.\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\u2502                        \u041f\u0410\u0419\u041f\u041b\u0410\u0419\u041d \u0410\u0423\u0414\u0418\u0422\u0410 \u041e\u0411\u042a\u0415\u041a\u0422\u0410                         \u2502\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                                    \u2502                                    \u25bc                      [ \u041d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u0434\u0440\u0435\u0441\u0430 ]                                    \u2502                      \u041a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u0430\u0439\u0434\u0435\u043d?                                   \/ \\                            \u0414\u0410    \/   \\   \u041d\u0415\u0422                                 \/     \\                                \u25bc       \u25bc                    [ \u041f\u0440\u044f\u043c\u043e\u0439 \u043f\u043e\u0438\u0441\u043a ]   [ \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043c\u0430\u0441\u043a\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 ]                    [ \u0432 \u041d\u0421\u041f\u0414 find  ]   [   \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 \u041e\u041a\u0421 \u041d\u0421\u041f\u0414  ]                                \\       \/                                 \\     \/                                  \u25bc   \u25bc                      [ \u0424\u0438\u043a\u0441\u0430\u0446\u0438\u044f \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0443\u0440\u0430 ]                                    \u2502               \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510               \u25bc                    \u25bc                    \u25bc     [ \u0417\u043e\u043d\u044b \u0417\u041e\u0423\u0418\u0422 \u041d\u0421\u041f\u0414 ]   [ \u0413\u0440\u0430\u0444 Overpass OSM ]   [ \u0420\u0435\u043b\u044c\u0435\u0444 Copernicus ]     (search_in_contour)   (\u0442\u0440\u0430\u0441\u0441\u044b, \u0416\u0414, \u0441\u0432\u0430\u043b\u043a\u0438)     (\u0443\u043a\u043b\u043e\u043d, \u0437\u0430\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435)               \u2502                    \u2502                    \u2502               \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                                    \u2502                                    \u25bc                         [ \u0421\u043a\u043e\u0440\u0438\u043d\u0433 Risk Engine ]                                    \u2502                                    \u25bc                      [ LLM-\u0441\u0438\u043d\u0442\u0435\u0437 (DeepSeek v4) ]                                    \u2502                                    \u25bc                        [ \u0410\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u0439 WeasyPrint PDF ]\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 1. WAF, pynspd \u0438 \u0438\u043b\u043b\u044e\u0437\u0438\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u043b\u043e\u044f\u043c\u0438 \u041d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 (\u041d\u0421\u041f\u0414) \u0438 \u041f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438\u00a0pynspd.\u041a\u0430\u0436\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c: \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c\u00a0asyncio.gather(), \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443 \u0437\u0434\u0430\u043d\u0438\u044f, \u0432\u044b\u043f\u0438\u0441\u043a\u0443 \u043f\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0443 \u0438 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u043b\u043e\u0438 \u0417\u041e\u0423\u0418\u0422. \u041d\u043e \u0442\u0443\u0442 \u043d\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u0441\u0443\u0440\u043e\u0432\u0430\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c.WMS GetFeatureInfo \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0440\u0435\u0436\u0435\u0442\u0441\u044f \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e.\u00a0\u0415\u0441\u043b\u0438 \u0441\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a\u00a0\/api\/aeggis\/v3\/&#8230;\/wms\u00a0\u043f\u043e \u0442\u043e\u0447\u043a\u0435  (search_at_coords), \u0433\u043e\u0441\u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 HTTP 403\u00a0BlockedIP\u00a0\u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c\u0430.\u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432\u0435\u0448\u0430\u044e\u0442 \u0441\u043e\u043a\u0435\u0442.\u00a0\u0422\u0440\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0430 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043a \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u0430\u043c \u041d\u0421\u041f\u0414 \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442 \u043a \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430\u043c \u0438 \u0441\u0431\u0440\u043e\u0441\u0443 TCP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430:# app\/pipeline\/nspd_engine.pyasync def fetch_cadastral_data(cadastral_number: str, coords: tuple[float, float]):    async with AsyncNspd() as client:        # 1. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u0442\u043e\u0447\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430        obj = await client.find(cadastral_number)        if not obj or not obj.geometry:            # Fallback: \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u043c \u0441 500, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441            return {&#171;status&#187;: &#171;unavailable&#187;, &#171;layers&#187;: []}        # 2. \u041f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u0437\u043e\u043d \u0438\u0449\u0435\u043c \u0441\u0442\u0440\u043e\u0433\u043e \u0447\u0435\u0440\u0435\u0437 search_in_contour \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430,        # \u0430 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0439 identify \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c        contour_geojson = obj.geometry        zones = await client.search_in_contour(            geom=contour_geojson,            layers=[&#171;zouit_layer&#187;, &#171;flood_layer&#187;, &#171;forestry_layer&#187;]        )        return {&#171;status&#187;: &#171;available&#187;, &#171;data&#187;: zones}\u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0437\u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f\u00a0\u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0443\u0440\u0430, \u0430 \u043d\u0435 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0442\u043e\u0447\u043a\u0438. \u042d\u0442\u043e \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u043b\u043e\u0436\u043d\u044b\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0438 \u043e\u0431\u0445\u043e\u0434\u0438\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 WAF.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 2. \u041b\u043e\u0432\u0443\u0448\u043a\u0430 \u0433\u0435\u043e\u043a\u043e\u0434\u0438\u043d\u0433\u0430: \u043a\u043e\u0433\u0434\u0430 \u0434\u043e\u043c \u0443\u043b\u0435\u0442\u0430\u0435\u0442 \u043d\u0430 100 \u043c\u0435\u0442\u0440\u043e\u0432 \u0432 \u043a\u0430\u043d\u0430\u0432\u0443\u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0434\u0432\u043e\u0445 \u043f\u043e\u0434\u0436\u0438\u0434\u0430\u043b \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u043a\u043e\u0434\u0435\u0440\u0430 \u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u0430.\u041a\u043e\u0434\u0435\u0440 Suggestions \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u0430\u0440\u0441\u0438\u0442 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0438 \u0432 \u0430\u0434\u0440\u0435\u0441\u0430\u0445, \u043d\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u043c \u0441\u0435\u043a\u0442\u043e\u0440\u0435 (\u0421\u041d\u0422, \u0434\u0435\u0440\u0435\u0432\u043d\u0438, \u0418\u0416\u0421) \u0438\u043c\u0435\u044e\u0442 \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c \u0434\u043e 50\u2013100 \u043c\u0435\u0442\u0440\u043e\u0432.\u041d\u0430 \u0436\u0438\u0432\u043e\u043c \u0442\u0435\u0441\u0442\u0435 \u0432 \u0422\u0432\u0435\u0440\u0438 \u043a\u043e\u0434\u0435\u0440 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043c\u0430\u0440\u043a\u0435\u0440 \u0434\u043e\u043c\u0430 \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0439 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043f\u043e\u043b\u043e\u0442\u043d\u043e \u0430\u0432\u0442\u043e\u0434\u043e\u0440\u043e\u0433\u0438. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0430\u0448\u0435\u043b \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u0440\u043e\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u043e\u0442\u043d\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043e\u043c\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432:\u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u0435\u043b \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u2014 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u0438 \u0446\u0435\u043d\u0442\u0440\u043e\u0438\u0434 \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e \u0438\u0437 \u0415\u0413\u0420\u041d\/\u041d\u0421\u041f\u0414.\u0415\u0441\u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d \u0442\u0435\u043a\u0441\u0442 \u2014 \u043a\u043e\u0434\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0443\u043b\u0438\u0446\u044b \u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u0434\u043e\u043c\u0430. \u041f\u043e\u0438\u0441\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u041e\u041a\u0421 \u041d\u0421\u041f\u0414:\u00a0\u0433. {city}, \u0443\u043b. {street}, \u0434. {house}.\u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0430\u043a \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0439 fallback.# \u041d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u043e\u0442\u0441\u0435\u0447\u0435\u043d\u0438\u0435 \u043c\u0443\u0441\u043e\u0440\u0430def clean_egrn_address(raw_address: str) -&gt; str:    # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u044b \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430    garbage_patterns = [        r&#187;\u041c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0430.*?,&#187;,        r&#187;\u0443\u0447\u0430\u0441\u0442\u043e\u043a \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0433\u0440\u0430\u043d\u0438\u0446\u0430\u0445.*?,&#187;,        r&#187;\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \\d+ \u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e.*&#187;    ]    cleaned = raw_address    for pattern in garbage_patterns:        cleaned = re.sub(pattern, &#171;&#187;, cleaned, flags=re.IGNORECASE)    return cleaned.strip().strip(&#171;,&#187;)\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 3. \u041f\u043e\u043b\u0435-\u043f\u0440\u0438\u0437\u0440\u0430\u043a\u00a0year_commisioning\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0430\u0440\u0441\u0438\u043b\u0438 \u043f\u0430\u0441\u043f\u043e\u0440\u0442 \u043c\u043d\u043e\u0433\u043e\u043a\u0432\u0430\u0440\u0442\u0438\u0440\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0438\u0437 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0437\u0434\u0430\u043d\u0438\u044f, \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438, \u0447\u0442\u043e \u043f\u043e\u043b\u0435\u00a0year_built\u00a0\u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u0430\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043f\u0443\u0441\u0442\u044b\u043c (&#171;&#187;\u00a0\u0438\u043b\u0438\u00a0null).\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 API \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u0433\u043e\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 \u043f\u043e\u043b\u0435 \u0441 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0439:\u00a0year_commisioning\u00a0(\u0441 \u043e\u0434\u043d\u043e\u0439\u00a0s).\u0415\u0441\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 Pydantic \u0431\u0435\u0437 \u0430\u043b\u0438\u0430\u0441\u043e\u0432, \u0441\u0435\u0440\u0432\u0438\u0441 \u0440\u0435\u0448\u0430\u0435\u0442, \u0447\u0442\u043e \u0433\u043e\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d. \u0420\u0435\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440\u043e\u043c:from pydantic import BaseModel, Fieldclass BuildingPassport(BaseModel):    cadastral_number: str    floors_total: int | None = None    wall_material: str | None = None    # \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0438 \u0432 \u0433\u043e\u0441\u0430\u043f\u0438    year_built: int | None = Field(        default=None,         validation_alias=&#187;year_commisioning&#187;    )    @classmethod    def from_api(cls, raw: dict):        year = raw.get(&#171;year_built&#187;) or raw.get(&#171;year_commisioning&#187;)        return cls(            cadastral_number=raw.get(&#171;cad_num&#187;, &#171;&#187;),            floors_total=raw.get(&#171;floors&#187;),            wall_material=raw.get(&#171;walls&#187;),            year_built=int(year) if str(year).isdigit() else None        )\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 4. \u041c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u0447\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 LLM\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u043a\u043e\u0440\u0438\u043d\u0433\u0430 \u2014\u00a0\u043f\u043e\u043b\u043d\u044b\u0439 \u043e\u0442\u043a\u0430\u0437 \u043e\u0442 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u043a\u0438.\u0415\u0441\u043b\u0438 \u0413\u0418\u0421 \u0416\u041a\u0425 \u0437\u0430\u043a\u0440\u044b\u043b \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 REST API (\u0430 \u043e\u043d \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 404, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 SOAP \u0441 \u042d\u0426\u041f), \u043c\u044b \u043d\u0435 \u043f\u0438\u0448\u0435\u043c \u0432 \u043e\u0442\u0447\u0435\u0442\u0435 \u00ab\u041f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043a\u0430\u043f\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u043c \u043d\u0435\u0442\u00bb. \u041c\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441\u00a0unavailable.\u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u0438 DeepSeek. \u041d\u043e \u0447\u0442\u043e\u0431\u044b \u044f\u0437\u044b\u043a\u043e\u0432\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0433\u0430\u043b\u043b\u044e\u0446\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0438 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0430 \u00ab\u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0447\u0438\u0441\u0442\u043e\u0442\u0443\u00bb, \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0439 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 JSON-\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442:{  &#171;object_type&#187;: &#171;land_plot&#187;,  &#171;verified_layers&#187;: {    &#171;zouit&#187;: {&#171;status&#187;: &#171;available&#187;, &#171;objects_found&#187;: 1, &#171;type&#187;: &#171;\u041b\u042d\u041f 110 \u043a\u0412&#187;},    &#171;flood_risk&#187;: {&#171;status&#187;: &#171;available&#187;, &#171;objects_found&#187;: 0},    &#171;gis_zhkh&#187;: {&#171;status&#187;: &#171;unavailable&#187;, &#171;reason&#187;: &#171;REST API deprecated&#187;}  }}\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442 \u0436\u0435\u0441\u0442\u043a\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043b\u043e\u0433\u0438\u043a\u0443:\u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0431\u0449\u0438\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 \u00ab\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u044e\u0440\u0438\u0441\u0442\u0443\u00bb.\u041e\u043f\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u044b.\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u0440\u0435\u0435\u0441\u0442\u0440\u0430\u00a0unavailable\u00a0\u2014 \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0438 \u0433\u0434\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u044e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438.\u0427\u0442\u043e \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0411\u044d\u043a\u0435\u043d\u0434:\u00a0Python 3.12, FastAPI, Pydantic v2,\u00a0asyncio.\u0413\u0435\u043e\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437:\u00a0shapely,\u00a0pyproj, Overpass API (OpenStreetMap) \u0434\u043b\u044f \u043e\u0446\u0435\u043d\u043a\u0438 \u0448\u0443\u043c\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u0433\u0440\u044f\u0437\u043d\u0435\u043d\u0438\u044f \u0438 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0430\u0440\u0442\u0435\u0440\u0438\u0439, Copernicus GLO-90 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0443\u043a\u043b\u043e\u043d\u043e\u0432 \u0438 \u0432\u044b\u0441\u043e\u0442.\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432:\u00a0HTML-\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f Jinja2 + WeasyPrint \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 9-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0433\u043e PDF \u0432 \u0442\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0441\u043a\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435.\u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430:\u00a0Docker Compose, \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 Caddy \u0441 \u0430\u0432\u0442\u043e\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c Let&#8217;s Encrypt \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043d\u0430 Beget VPS.\u041f\u0440\u043e\u0435\u043a\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443\u00a0nedvizhscan.ru.\u041a\u043e\u043b\u043b\u0435\u0433\u0438, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0433\u0435\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u0438 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u043c \u0432 \u0420\u0424 \u2014 \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c\u0438 \u0433\u0440\u0430\u0431\u043b\u044f\u043c\u0438 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0430\u0445 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u044b? \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0435\u0432.\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1097324\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-499620","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499620"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499620\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}