{"id":115442,"date":"2026-10-12T07:17:00","date_gmt":"2026-10-11T23:17:00","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115442.html"},"modified":"2026-10-12T07:17:00","modified_gmt":"2026-10-11T23:17:00","slug":"%e4%bd%bf%e7%94%a8-railway-%e9%83%a8%e7%bd%b2-marimo%ef%bc%9a%e5%8d%95%e5%ae%9e%e4%be%8b%e7%bc%96%e8%be%91%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8e%e6%8c%81%e4%b9%85%e5%8c%96%e5%ad%98%e5%82%a8%e5%ae%9e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115442.html","title":{"rendered":"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357"},"content":{"rendered":"<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u6570\u636e\u79d1\u5b66<\/span><\/li>\n<li><span class=\"gcb-tag\">\u524d\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">\u540e\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">AI \u5e94\u7528<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011marimo<\/h3>\n<p class=\"gcb-project-desc\">A reactive notebook for Python \u2014 run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/GitHub_Trending\/ma\/marimo<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<p>marimo \u5b98\u65b9\u4e3a Railway \u5e73\u53f0\u63d0\u4f9b\u4e86\u4e00\u952e\u90e8\u7f72\u6a21\u677f&#xff1a;\u65e0\u9700\u624b\u5de5\u7f16\u5199 Dockerfile \u4e0e\u7f16\u6392\u914d\u7f6e&#xff0c;\u5373\u53ef\u5728 Railway \u4e0a\u4ee5\u5bb9\u5668\u65b9\u5f0f\u62c9\u8d77\u4e00\u4e2a\u5355\u5b9e\u4f8b marimo \u7f16\u8f91\u670d\u52a1\u5668&#xff08;edit server&#xff09;&#xff0c;\u5e76\u914d\u5408\u6301\u4e45\u5316\u5b58\u50a8\u4fdd\u5b58\u7b14\u8bb0\u672c\u6587\u4ef6\u3002\u9605\u8bfb\u672c\u6587\u540e&#xff0c;\u4f60\u5c06\u638c\u63e1\u57fa\u4e8e\u8be5\u6a21\u677f\u5728 Railway \u4e0a\u5b8c\u6210\u90e8\u7f72\u3001\u7406\u89e3\u6a21\u677f\u5e95\u5c42\u5bb9\u5668\u542f\u52a8\u53c2\u6570\u3001\u914d\u7f6e\u5065\u5eb7\u68c0\u67e5\u4e0e\u8bbf\u95ee\u4ee4\u724c&#xff0c;\u4ee5\u53ca\u6309\u9700\u6269\u5c55&#xff08;\u5b50\u8def\u5f84\u6302\u8f7d\u3001SSE \u4f20\u8f93\u3001\u624b\u52a8\u6784\u5efa\u955c\u50cf&#xff09;\u7684\u5b8c\u6574\u5b9e\u6218\u65b9\u6848\u3002<\/p>\n<h3>Railway \u90e8\u7f72\u65b9\u5f0f\u6982\u8ff0<\/h3>\n<p>Railway \u662f\u4e00\u4e2a\u9762\u5411\u5f00\u53d1\u8005\u7684\u5bb9\u5668\u90e8\u7f72\u5e73\u53f0&#xff0c;\u6838\u5fc3\u80fd\u529b\u662f&#034;\u628a Docker \u5316&#xff08;Dockerized&#xff09;\u7684\u5bb9\u5668\u8f7b\u677e\u90e8\u7f72\u4e0a\u7ebf&#034;\u3002marimo \u5b98\u65b9\u9488\u5bf9 Railway \u63d0\u4f9b\u4e86\u9884\u7f6e\u6a21\u677f&#xff08;pre-built template&#xff09;&#xff0c;\u5176\u76ee\u6807\u975e\u5e38\u660e\u786e&#xff08;\u89c1 deploying_railway.md&#xff09;&#xff1a;<\/p>\n<p>\u4f7f\u7528\u8be5\u6a21\u677f\u540e&#xff0c;Railway \u4f1a\u5728\u51e0\u6b21\u70b9\u51fb\u4e4b\u5185&#xff0c;\u90e8\u7f72\u4e00\u4e2a\u5e26\u6709\u6301\u4e45\u5316\u5b58\u50a8\u7684\u5355\u5b9e\u4f8b marimo \u7f16\u8f91\u670d\u52a1\u5668\u3002<\/p>\n<p>\u7406\u89e3\u8fd9\u53e5\u8bdd\u7684\u8fb9\u754c\u5f88\u91cd\u8981&#xff1a;<\/p>\n<ul>\n<li>\u5355\u5b9e\u4f8b&#xff1a;\u6a21\u677f\u62c9\u8d77\u7684\u662f\u4e00\u4e2a\u5b9e\u4f8b&#xff08;replica&#xff09;&#xff0c;\u9002\u5408\u4e2a\u4eba\u5f00\u53d1\u3001\u5c0f\u56e2\u961f\u5171\u4eab\u6216\u539f\u578b\u6f14\u793a&#xff0c;\u800c\u975e\u591a\u526f\u672c\u9ad8\u53ef\u7528\u96c6\u7fa4\u3002\u9700\u8981\u6a2a\u5411\u6269\u5c55\u65f6&#xff0c;\u5e94\u53c2\u8003 Kubernetes \u90e8\u7f72\u6307\u5357 \u6216 SkyPilot \u6307\u5357\u3002<\/li>\n<li>\u7f16\u8f91\u670d\u52a1\u5668&#xff08;edit server&#xff09;&#xff1a;\u542f\u52a8\u7684\u662f marimo edit \u6a21\u5f0f&#xff0c;\u7528\u6237\u53ef\u4ee5\u5728\u8fdc\u7a0b\u6d4f\u89c8\u5668\u4e2d\u521b\u5efa\u3001\u7f16\u8f91\u3001\u8fd0\u884c\u7b14\u8bb0\u672c\u3002\u4e0e\u4e4b\u76f8\u5bf9\u7684\u662f\u53ea\u8bfb\u7684 app server&#xff08;marimo run&#xff09;&#xff0c;\u4e24\u8005\u7684\u5dee\u5f02\u5728 \u90e8\u7f72\u603b\u89c8 \u4e2d\u6709\u660e\u786e\u8bf4\u660e\u3002<\/li>\n<li>\u6301\u4e45\u5316\u5b58\u50a8&#xff1a;marimo \u7b14\u8bb0\u672c\u672c\u8d28\u4e0a\u662f\u7eaf Python \u6587\u4ef6&#xff08;.py&#xff09;&#xff0c;\u628a\u5de5\u4f5c\u76ee\u5f55\u6302\u8f7d\u5230 Railway \u7684\u6301\u4e45\u5316\u5377\u4e0a&#xff0c;\u5c31\u80fd\u8ba9\u521b\u5efa\u3001\u4fee\u6539\u7684\u7b14\u8bb0\u672c\u5728\u5bb9\u5668\u91cd\u5efa\u540e\u4f9d\u7136\u4fdd\u7559\u3002<\/li>\n<\/ul>\n<h3>\u4e00\u952e\u90e8\u7f72&#xff1a;\u4f7f\u7528\u5b98\u65b9\u6a21\u677f<\/h3>\n<p>\u5b98\u65b9\u6587\u6863\u5728 Deploy \u4e00\u8282\u76f4\u63a5\u7ed9\u51fa\u4e86\u90e8\u7f72\u5165\u53e3\u2014\u2014\u4e00\u4e2a &#034;Deploy on Railway&#034; \u6309\u94ae&#xff08;\u89c1 deploying_railway.md&#xff09;\u3002\u70b9\u51fb\u6309\u94ae\u540e&#xff0c;\u6d41\u7a0b\u5927\u81f4\u5982\u4e0b&#xff1a;<\/p>\n<li>\u8fdb\u5165\u6a21\u677f\u90e8\u7f72\u9875&#xff1a;\u70b9\u51fb\u6309\u94ae\u540e&#xff0c;Railway \u4f1a\u6253\u5f00\u5bf9\u5e94\u7684\u6a21\u677f\u9875\u9762&#xff0c;\u81ea\u52a8\u5e26\u5165\u9884\u7f6e\u7684\u5bb9\u5668\u914d\u7f6e\u3002<\/li>\n<li>\u521b\u5efa\u9879\u76ee&#xff08;Create Project&#xff09;&#xff1a;\u5982\u5c1a\u672a\u767b\u5f55&#xff0c;\u5148\u767b\u5f55\/\u6ce8\u518c Railway \u8d26\u53f7&#xff0c;\u7136\u540e\u786e\u8ba4\u521b\u5efa\u9879\u76ee\u3002<\/li>\n<li>\u7b49\u5f85\u6784\u5efa\u4e0e\u542f\u52a8&#xff1a;Railway \u4f1a\u81ea\u52a8\u62c9\u53d6 marimo \u5bb9\u5668\u955c\u50cf\u3001\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u5e76\u542f\u52a8\u670d\u52a1&#xff1b;\u671f\u95f4\u53ef\u5728 Railway \u63a7\u5236\u53f0\u7684 Deployments \u9875\u9762\u89c2\u5bdf\u6784\u5efa\u65e5\u5fd7\u3002<\/li>\n<li>\u6253\u5f00\u670d\u52a1\u5730\u5740&#xff1a;\u542f\u52a8\u5b8c\u6210\u540e&#xff0c;\u901a\u8fc7 Railway \u5206\u914d\u7684\u516c\u5f00\u57df\u540d\u8bbf\u95ee marimo \u7f16\u8f91\u754c\u9762&#xff0c;\u5373\u53ef\u5f00\u59cb\u65b0\u5efa\u6216\u7f16\u8f91\u7b14\u8bb0\u672c\u3002<\/li>\n<p>\u8bf4\u660e&#xff1a;\u672c\u6587\u4e0d\u76f4\u63a5\u7c98\u8d34\u6a21\u677f\u5916\u94fe&#xff0c;\u4f60\u53ef\u4ee5\u5728\u4ed3\u5e93\u7684 deploying_railway.md \u6587\u6863\u9875\u9762\u4e2d\u627e\u5230\u8be5\u4e00\u952e\u90e8\u7f72\u6309\u94ae\u3002\u5982\u679c\u4f60\u5e0c\u671b\u5b8c\u5168\u638c\u63a7\u6784\u5efa\u8fc7\u7a0b&#xff0c;\u4e5f\u53ef\u4ee5\u8df3\u8fc7\u6a21\u677f&#xff0c;\u7528\u4ed3\u5e93\u81ea\u5e26\u7684 docker\/Dockerfile \u624b\u52a8\u6784\u5efa\u955c\u50cf\u540e\u90e8\u7f72&#xff08;\u4e0b\u6587&#034;\u624b\u52a8\u6784\u5efa\u66ff\u4ee3\u65b9\u6848&#034;\u4f1a\u7ed9\u51fa\u5b8c\u6574\u547d\u4ee4&#xff09;\u3002<\/p>\n<h3>\u6a21\u677f\u5e95\u5c42&#xff1a;\u5bb9\u5668\u662f\u5982\u4f55\u542f\u52a8\u7684<\/h3>\n<p>\u6a21\u677f&#034;\u4e00\u952e\u90e8\u7f72&#034;\u7684\u672c\u8d28&#xff0c;\u662f Railway \u7528\u9884\u7f6e\u914d\u7f6e\u542f\u52a8 marimo \u5b98\u65b9\u5bb9\u5668\u3002\u4ed3\u5e93\u4e2d\u7684 docker\/Dockerfile \u63ed\u793a\u4e86\u8fd9\u5957\u5bb9\u5668\u7684\u771f\u5b9e\u542f\u52a8\u65b9\u5f0f&#xff0c;\u7406\u89e3\u5b83\u6709\u52a9\u4e8e\u4f60\u5728 Railway \u4e0a\u6392\u67e5\u95ee\u9898\u6216\u81ea\u884c\u5b9a\u5236\u3002<\/p>\n<h4>\u7aef\u53e3\u4e0e\u4e3b\u673a\u7ed1\u5b9a<\/h4>\n<p>Dockerfile \u4e2d\u5b9a\u4e49\u4e86\u5bb9\u5668\u7684\u8fd0\u884c\u5165\u53e3\u4e0e\u7aef\u53e3\u7ea6\u5b9a&#xff1a;<\/p>\n<p>ENV PORT&#061;8080<br \/>\nEXPOSE $PORT<\/p>\n<p>ENV HOST&#061;0.0.0.0<br \/>\n&#8230;<br \/>\nCMD [&#034;sh&#034;, &#034;-c&#034;, &#034;exec marimo edit &#8211;no-token -p $PORT &#8211;host $HOST&#034;]<\/p>\n<ul>\n<li>PORT \u9ed8\u8ba4 8080&#xff0c;\u5e76\u901a\u8fc7 EXPOSE \u5bf9\u5916\u58f0\u660e\u3002Railway \u5e73\u53f0\u4f1a\u81ea\u52a8\u6ce8\u5165 PORT \u73af\u5883\u53d8\u91cf&#xff0c;\u56e0\u6b64\u5bb9\u5668\u4f1a\u76d1\u542c Railway \u5206\u914d\u7684\u7aef\u53e3\u3002<\/li>\n<li>HOST \u9ed8\u8ba4\u4e3a 0.0.0.0&#xff0c;\u4fdd\u8bc1\u5bb9\u5668\u5185\u6240\u6709\u7f51\u5361\u5747\u53ef\u8bbf\u95ee&#xff0c;\u8fd9\u662f\u5bb9\u5668\u5316\u90e8\u7f72\u7684\u5fc5\u8981\u6761\u4ef6&#xff08;\u9ed8\u8ba4\u60c5\u51b5\u4e0b marimo edit \u53ea\u7ed1\u5b9a 127.0.0.1&#xff0c;\u89c1 cli.py&#xff09;\u3002<\/li>\n<li>\u542f\u52a8\u547d\u4ee4\u4f7f\u7528 &#8211;no-token \u5173\u95ed\u4ee4\u724c\u8ba4\u8bc1\u2014\u2014\u7531\u4e8e Railway \u6a21\u677f\u9762\u5411&#034;\u51e0\u70b9\u51fb\u90e8\u7f72&#034;\u7684\u4f53\u9a8c&#xff0c;\u8ba4\u8bc1\u5f00\u5173\u4ea4\u7531\u90e8\u7f72\u8005\u81ea\u884c\u51b3\u5b9a&#xff08;\u4e0b\u6587&#034;\u5b89\u5168\u4e0e\u8bbf\u95ee\u63a7\u5236&#034;\u4f1a\u8bf4\u660e\u5982\u4f55\u91cd\u65b0\u5f00\u542f&#xff09;\u3002<\/li>\n<\/ul>\n<h4>\u5bb9\u5668\u955c\u50cf\u53d8\u4f53<\/h4>\n<p>Dockerfile \u63d0\u4f9b\u4e86\u4e09\u4e2a\u955c\u50cf\u9636\u6bb5&#xff0c;\u5b98\u65b9\u5bb9\u5668\u4ed3\u5e93\u5bf9\u5e94\u4e09\u7c7b tag&#xff08;\u8be6\u89c1 prebuilt_containers.md&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u955c\u50cf tag\u5305\u542b\u5185\u5bb9\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>marimo:latest&#xff08;slim&#xff09;<\/td>\n<td>\u4ec5 marimo \u672c\u4f53<\/td>\n<td>\u6700\u5c0f\u5316\u90e8\u7f72\u3001\u81ea\u88c5\u4f9d\u8d56<\/td>\n<\/tr>\n<tr>\n<td>marimo:latest-data<\/td>\n<td>marimo[recommended,lsp] &#043; altair\u3001pandas\u3001numpy<\/td>\n<td>\u6570\u636e\u5206\u6790\u4e0e\u53ef\u89c6\u5316\u7b14\u8bb0\u672c<\/td>\n<\/tr>\n<tr>\n<td>marimo:latest-sql<\/td>\n<td>\u5728\u4e0a\u8ff0\u57fa\u7840\u4e0a\u8ffd\u52a0 marimo[recommended,lsp,sql]<\/td>\n<td>\u9700\u8981 SQL \u5355\u5143\u683c\u7684\u7b14\u8bb0\u672c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9009\u62e9\u5efa\u8bae&#xff1a;\u5982\u679c\u7b14\u8bb0\u672c\u91cc\u7528\u5230\u4e86 pandas\/altair \u6216 SQL&#xff0c;\u76f4\u63a5\u9009\u7528 -sql \u6216 -data \u53d8\u4f53&#xff0c;\u907f\u514d\u5728\u5bb9\u5668\u91cc\u989d\u5916\u5b89\u88c5\u5927\u4f53\u79ef\u4f9d\u8d56\u3001\u62d6\u6162\u542f\u52a8\u3002\u4e5f\u53ef\u6307\u5b9a\u5177\u4f53\u7248\u672c&#xff0c;\u5982 marimo:0.8.3-sql\u3002\u5728 Railway \u6a21\u677f\u7684\u81ea\u5b9a\u4e49\u955c\u50cf\u5b57\u6bb5\u6216\u81ea\u5df1\u7f16\u5199 Dockerfile \u65f6&#xff0c;\u5c06\u57fa\u7840\u955c\u50cf\u66ff\u6362\u4e3a\u8fd9\u4e9b tag \u5373\u53ef\u3002<\/p>\n<h3>\u6301\u4e45\u5316\u5b58\u50a8&#xff1a;\u7b14\u8bb0\u672c\u4e0d\u4f1a\u56e0\u91cd\u5efa\u800c\u4e22\u5931<\/h3>\n<p>\u6a21\u677f\u7684\u6838\u5fc3\u5356\u70b9\u4e4b\u4e00\u662f&#034;persistent storage&#034;&#xff08;\u6301\u4e45\u5316\u5b58\u50a8&#xff09;\u3002marimo \u7b14\u8bb0\u672c\u4ee5\u7eaf Python \u6587\u4ef6\u5f62\u5f0f\u4fdd\u5b58&#xff08;\u6bcf\u4e2a\u7b14\u8bb0\u672c\u5c31\u662f\u4e00\u4e2a .py \u6587\u4ef6&#xff0c;\u53ef\u7eb3\u5165 Git \u7248\u672c\u7ba1\u7406&#xff09;&#xff0c;\u56e0\u6b64\u6301\u4e45\u5316\u7b56\u7565\u975e\u5e38\u7b80\u5355&#xff1a;\u628a\u5de5\u4f5c\u76ee\u5f55\u6302\u8f7d\u5230 Railway \u7684 Volume\u3002<\/p>\n<p>\u5728 Railway \u63a7\u5236\u53f0\u4e3a\u670d\u52a1\u6dfb\u52a0 Volume \u65f6&#xff0c;\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\u6302\u8f7d\u8def\u5f84&#xff1a;\u6307\u5411\u5bb9\u5668\u7684\u542f\u52a8\u5de5\u4f5c\u76ee\u5f55\u3002\u4ed3\u5e93 Dockerfile \u4e2d WORKDIR \/app&#xff08;\u89c1 docker\/Dockerfile&#xff09;&#xff0c;\u56e0\u6b64\u6302\u8f7d\u5230 \/app \u5373\u53ef\u8986\u76d6\u6240\u6709\u7b14\u8bb0\u672c\u6240\u5728\u4f4d\u7f6e\u3002<\/li>\n<li>\u6302\u8f7d\u5927\u5c0f&#xff1a;\u6309\u7b14\u8bb0\u672c\u6587\u4ef6\u89c4\u6a21\u9009\u62e9&#xff08;\u6587\u672c\u6587\u4ef6\u901a\u5e38\u5f88\u5c0f&#xff0c;\u9ed8\u8ba4\u914d\u989d\u4e00\u822c\u591f\u7528&#xff1b;\u5982\u9700\u4fdd\u5b58\u5927\u4f53\u79ef\u6570\u636e\u6587\u4ef6&#xff0c;\u518d\u76f8\u5e94\u6269\u5bb9&#xff09;\u3002<\/li>\n<li>\u6302\u8f7d\u8303\u56f4&#xff1a;\u4ec5\u5bf9\u9700\u8981\u6301\u4e45\u5316\u7684\u670d\u52a1\u5b9e\u4f8b\u6302\u8f7d\u3002\u5982\u679c\u67d0\u4e2a\u5b9e\u4f8b\u53ea\u505a\u4e34\u65f6\u6f14\u793a&#xff0c;\u53ef\u4e0d\u6302\u8f7d\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u6837&#xff0c;\u65e0\u8bba Railway \u4f55\u65f6\u91cd\u5efa\u5bb9\u5668\u3001\u6eda\u52a8\u66f4\u65b0\u955c\u50cf&#xff0c;\u5df2\u521b\u5efa\u7684 .py \u7b14\u8bb0\u672c\u90fd\u4f1a\u4fdd\u7559\u5728\u5377\u4e2d&#xff0c;\u4e0b\u6b21\u8bbf\u95ee\u65f6\u4f9d\u7136\u5b58\u5728\u3002\u5982\u679c\u4f60\u5728\u7b14\u8bb0\u672c\u4e2d\u4f7f\u7528\u4e86 mo.persistent_cache \u8fd9\u7c7b\u78c1\u76d8\u7f13\u5b58&#xff08;\u9ed8\u8ba4\u5b58\u4e8e __marimo__\/cache\/&#xff0c;\u89c1 caching.md&#xff09;&#xff0c;\u6302\u8f7d\u5de5\u4f5c\u76ee\u5f55\u540c\u6837\u80fd\u8ba9\u7f13\u5b58\u8de8\u91cd\u542f\u751f\u6548\u3002<\/p>\n<h3>\u5b89\u5168\u4e0e\u8bbf\u95ee\u63a7\u5236<\/h3>\n<p>\u6a21\u677f\u9ed8\u8ba4\u4ee5 &#8211;no-token \u542f\u52a8&#xff0c;\u610f\u5473\u7740\u4efb\u4f55\u62ff\u5230\u670d\u52a1 URL \u7684\u4eba\u90fd\u53ef\u4ee5\u76f4\u63a5\u8fdb\u5165\u7f16\u8f91\u754c\u9762\u3002\u516c\u7f51\u90e8\u7f72\u65f6\u5f3a\u70c8\u5efa\u8bae\u91cd\u65b0\u5f00\u542f\u8ba4\u8bc1&#xff1a;<\/p>\n<h4>\u65b9\u5f0f\u4e00&#xff1a;\u5728 Railway \u4e2d\u8986\u76d6\u542f\u52a8\u547d\u4ee4<\/h4>\n<p>\u5728 Railway \u670d\u52a1\u7684 Settings \u4e2d\u4fee\u6539\u542f\u52a8\u547d\u4ee4&#xff0c;\u4f8b\u5982\u4f7f\u7528\u81ea\u5b9a\u4e49\u4ee4\u724c\u5bc6\u7801&#xff1a;<\/p>\n<p>marimo edit -p $PORT &#8211;host $HOST &#8211;token &#8211;token-password&#061;&#034;sup3rs3cr3t&#034;<\/p>\n<p>\u5176\u4e2d &#8211;token\/&#8211;no-token \u4e0e &#8211;token-password \u7684\u53c2\u6570\u8bed\u4e49\u5b9a\u4e49\u5728 cli.py\u3002\u5f00\u542f\u540e&#xff0c;\u6d4f\u89c8\u5668\u8bbf\u95ee\u4f1a\u88ab\u91cd\u5b9a\u5411\u5230\u767b\u5f55\u9875&#xff0c;\u8f93\u5165\u4ee4\u724c\u624d\u80fd\u8fdb\u5165&#xff1b;\u4e5f\u53ef\u901a\u8fc7 URL \u67e5\u8be2\u53c2\u6570 ?access_token&#061;&#8230; \u6216 HTTP Basic Authorization \u5934\u5b8c\u6210\u8ba4\u8bc1&#xff08;\u8be6\u89c1 authentication.md&#xff09;\u3002<\/p>\n<h4>\u65b9\u5f0f\u4e8c&#xff1a;\u81ea\u5b9a\u4e49\u8ba4\u8bc1&#xff08;\u8fdb\u9636&#xff09;<\/h4>\n<p>\u5982\u679c\u5e0c\u671b\u63a5\u5165 OAuth\u3001\u7ec4\u7ec7\u8d26\u53f7\u6216\u66f4\u590d\u6742\u7684\u6388\u6743\u903b\u8f91&#xff0c;\u53ef\u4ee5\u5728 FastAPI \u7b49 ASGI \u5e94\u7528\u4e2d\u901a\u8fc7 marimo.create_asgi_app() \u6302\u8f7d marimo&#xff0c;\u518d\u53e0\u52a0\u81ea\u5b9a\u4e49\u4e2d\u95f4\u4ef6\u4e0e\u767b\u5f55\u8def\u7531\u3002\u5b8c\u6574\u793a\u4f8b\u89c1 authentication.md \u4e2d\u7684 FastAPI \u5199\u6cd5&#xff0c;\u90e8\u7f72\u65f6\u5c06\u8be5 ASGI \u5e94\u7528\u6253\u5305\u8fdb\u5bb9\u5668\u5373\u53ef\u3002<\/p>\n<h4>\u5065\u5eb7\u68c0\u67e5\u7aef\u70b9<\/h4>\n<p>Railway \u7b49\u5e73\u53f0\u901a\u5e38\u9700\u8981\u5065\u5eb7\u68c0\u67e5\u6765\u5224\u5b9a\u5b9e\u4f8b\u662f\u5426\u5c31\u7eea\u3002marimo \u670d\u52a1\u5668\u5185\u7f6e\u4e86\u4ee5\u4e0b\u7aef\u70b9&#xff08;\u5b9e\u73b0\u89c1 health.py&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\/health\u3001\/healthz&#xff1a;GET \u8fd4\u56de 200 \u4e0e JSON {&#034;status&#034;: &#034;healthy&#034;}&#xff0c;\u4e24\u4e2a\u522b\u540d\u4fbf\u4e8e\u5bf9\u63a5\u4e0d\u540c\u5e73\u53f0\u7684\u4e60\u60ef&#xff1b;<\/li>\n<li>\/api\/status&#xff1a;\u8fd4\u56de\u66f4\u4e30\u5bcc\u7684\u72b6\u6001 JSON&#xff0c;\u5305\u542b version\u3001mode\u3001sessions\u3001requirements\u3001lsp_running \u7b49\u5b57\u6bb5&#xff08;\u9700\u8981\u8ba4\u8bc1&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u5728 Railway \u7684 Health Check \u914d\u7f6e\u4e2d&#xff0c;\u5c06\u68c0\u67e5\u8def\u5f84\u8bbe\u4e3a \/health \u5373\u53ef&#xff1b;\u8fd9\u4e9b\u7aef\u70b9\u540c\u6837\u9002\u7528\u4e8e\u5176\u4ed6\u5bb9\u5668\u5e73\u53f0&#xff0c;\u76f8\u5173\u8bf4\u660e\u4e5f\u51fa\u73b0\u5728 deploying_docker.md \u4e2d\u3002<\/p>\n<h3>\u90e8\u7f72\u540e\u7684\u8fdb\u9636\u914d\u7f6e<\/h3>\n<h4>\u5b50\u8def\u5f84\u90e8\u7f72&#xff08;&#8211;base-url&#xff09;<\/h4>\n<p>\u5982\u679c\u5e0c\u671b\u628a marimo \u6302\u8f7d\u5728\u57df\u540d\u5b50\u8def\u5f84\u4e0b&#xff08;\u5982 https:\/\/example.com\/marimo&#xff09;&#xff0c;\u542f\u52a8\u547d\u4ee4\u52a0\u4e0a &#8211;base-url&#xff1a;<\/p>\n<p>marimo edit -p $PORT &#8211;host $HOST &#8211;no-token &#8211;base-url \/marimo<\/p>\n<p>&#8211;base-url \u7684\u6821\u9a8c\u89c4\u5219\u4e0e&#034;\u5fc5\u987b\u4ee5 \/ \u5f00\u5934&#034;\u7684\u8981\u6c42\u89c1 cli.py&#xff1b;\u8be5\u53c2\u6570\u540c\u6837\u9002\u7528\u4e8e marimo run&#xff08;\u89c1 \u90e8\u7f72\u603b\u89c8&#xff09;\u3002<\/p>\n<h4>\u65e0 WebSocket \u73af\u5883&#xff1a;\u5207\u6362 SSE \u4f20\u8f93<\/h4>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;marimo \u901a\u8fc7 WebSocket&#xff08;\/ws&#xff09;\u5411\u6d4f\u89c8\u5668\u63a8\u9001\u5185\u6838\u6d88\u606f\u3002\u5982\u679c Railway \u7684\u4ee3\u7406\u6216\u7f51\u7edc\u73af\u5883\u5bf9 WebSocket \u652f\u6301\u4e0d\u4f73&#xff08;\u5b9e\u9a8c\u6027\u529f\u80fd&#xff09;&#xff0c;\u53ef\u4ee5\u6539\u7528 SSE&#xff08;Server-Sent Events&#xff09;\u7eaf HTTP \u4f20\u8f93&#xff1a;<\/p>\n<p>MARIMO_SERVER_TRANSPORT&#061;sse marimo edit -p $PORT &#8211;host $HOST<\/p>\n<p>\u5173\u4e8e\u8be5\u53d8\u91cf\u7684\u8bed\u4e49\u4e0e\u9650\u5236&#xff0c;\u6e90\u7801\u4e2d\u6709\u660e\u786e\u6ce8\u91ca&#xff08;\u89c1 config.py&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u7ec8\u7aef\u4e0e\u8bed\u8a00\u670d\u52a1\u5668&#xff08;LSP&#xff09;\u4ecd\u4f9d\u8d56 WebSocket&#xff0c;\u4e0d\u53d7\u6b64\u8bbe\u7f6e\u5f71\u54cd&#xff1b;<\/li>\n<li>\u5b9e\u65f6\u534f\u4f5c&#xff08;rtc_v2&#xff09;\u9700\u8981 WebSocket&#xff0c;\u4f7f\u7528 SSE \u65f6\u4f1a\u88ab\u7981\u7528&#xff1b;<\/li>\n<li>\u786e\u4fdd\u4ee3\u7406\u4e0d\u8981\u7f13\u51b2 \/sse \u7684 text\/event-stream \u54cd\u5e94\u3002<\/li>\n<\/ul>\n<p>\u4ed3\u5e93\u8fd8\u63d0\u4f9b\u4e86\u5bf9\u5e94\u7684\u5192\u70df\u6d4b\u8bd5\u7b14\u8bb0\u672c inline_sse_transport.py \u7528\u4e8e\u672c\u5730\u9a8c\u8bc1\u8be5\u6a21\u5f0f\u3002<\/p>\n<h4>\u624b\u52a8\u6784\u5efa\u955c\u50cf\u7684\u66ff\u4ee3\u65b9\u6848<\/h4>\n<p>\u4e0d\u4f9d\u8d56\u6a21\u677f\u65f6&#xff0c;\u53ef\u7528\u4ed3\u5e93\u81ea\u5e26 Dockerfile \u6784\u5efa\u5e76\u63a8\u9001\u955c\u50cf&#xff0c;\u518d\u5728 Railway \u4e2d\u5f15\u7528&#xff1a;<\/p>\n<p># \u5728\u4ed3\u5e93\u6839\u76ee\u5f55\u6784\u5efa&#xff08;\u9ed8\u8ba4\u6784\u5efa slim \u53d8\u4f53&#xff09;<br \/>\ndocker build -t my_marimo . -f docker\/Dockerfile<\/p>\n<p># \u672c\u5730\u5148\u9a8c\u8bc1<br \/>\ndocker run -p 8080:8080 -it my_marimo<\/p>\n<p># \u8bbf\u95ee http:\/\/localhost:8080<\/p>\n<p>\u5982\u9700 -sql \u53d8\u4f53&#xff0c;\u53ef\u5c06 &#8211;target sql \u4f20\u5165\u6784\u5efa\u547d\u4ee4&#xff1b;\u955c\u50cf\u4e0e tag \u7684\u5b8c\u6574\u8bf4\u660e\u89c1 docker\/README.md \u4e0e prebuilt_containers.md\u3002\u6784\u5efa\u5e76\u63a8\u9001\u540e&#xff0c;\u5728 Railway \u65b0\u5efa\u9879\u76ee\u65f6\u9009\u62e9\u8be5\u955c\u50cf&#xff0c;\u518d\u6309\u4e0a\u6587\u914d\u7f6e PORT\/HOST\/Volume \u5373\u53ef\u3002<\/p>\n<h3>\u90e8\u7f72\u81ea\u68c0\u6e05\u5355<\/h3>\n<p>\u5b8c\u6210 Railway \u90e8\u7f72\u540e&#xff0c;\u5efa\u8bae\u6309\u4ee5\u4e0b\u6e05\u5355\u9010\u9879\u786e\u8ba4&#xff1a;<\/p>\n<li>\u8bbf\u95ee&#xff1a;\u6d4f\u89c8\u5668\u6253\u5f00 Railway \u5206\u914d\u7684\u57df\u540d&#xff0c;\u80fd\u6b63\u5e38\u8fdb\u5165 marimo \u7f16\u8f91\u754c\u9762&#xff1b;<\/li>\n<li>\u6301\u4e45\u5316&#xff1a;\u65b0\u5efa\u4e00\u4e2a\u7b14\u8bb0\u672c\u5e76\u7f16\u8f91\u4fdd\u5b58&#xff0c;\u624b\u52a8\u89e6\u53d1\u4e00\u6b21\u5bb9\u5668\u91cd\u5efa&#xff08;Restart&#xff09;&#xff0c;\u786e\u8ba4\u7b14\u8bb0\u672c\u4ecd\u7136\u5b58\u5728&#xff1b;<\/li>\n<li>\u5065\u5eb7\u68c0\u67e5&#xff1a;curl https:\/\/\u4f60\u7684\u57df\u540d\/health \u8fd4\u56de 200 \u4e0e {&#034;status&#034;: &#034;healthy&#034;}&#xff1b;<\/li>\n<li>\u8ba4\u8bc1&#xff1a;\u5982\u679c\u91cd\u5f00\u4e86 &#8211;token&#xff0c;\u786e\u8ba4\u672a\u767b\u5f55\u72b6\u6001\u4e0b\u65e0\u6cd5\u8bbf\u95ee\u7f16\u8f91\u754c\u9762&#xff1b;<\/li>\n<li>\u7aef\u53e3&#xff1a;\u786e\u8ba4\u542f\u52a8\u65e5\u5fd7\u4e2d\u6ca1\u6709\u7aef\u53e3\u51b2\u7a81&#xff0c;PORT \u73af\u5883\u53d8\u91cf\u6b63\u786e\u6ce8\u5165\u3002<\/li>\n<h3>\u76f8\u5173\u8d44\u6e90<\/h3>\n<ul>\n<li>\u90e8\u7f72\u5165\u53e3\u4e0e\u6a21\u677f\u8bf4\u660e&#xff1a;deploying_railway.md<\/li>\n<li>\u90e8\u7f72\u65b9\u5f0f\u603b\u89c8&#xff08;\u7f16\u8f91\u670d\u52a1\u5668 vs \u5e94\u7528\u670d\u52a1\u5668&#xff09;&#xff1a;index.md<\/li>\n<li>\u5bb9\u5668\u955c\u50cf\u53d8\u4f53\u4e0e\u672c\u5730\u8fd0\u884c&#xff1a;prebuilt_containers.md<\/li>\n<li>Docker \u624b\u52a8\u90e8\u7f72\u4e0e\u5065\u5eb7\u68c0\u67e5&#xff1a;deploying_docker.md<\/li>\n<li>\u4ee4\u724c\u4e0e\u81ea\u5b9a\u4e49\u8ba4\u8bc1&#xff1a;authentication.md<\/li>\n<li>\u5bb9\u5668\u5b9e\u73b0\u4e0e\u542f\u52a8\u547d\u4ee4&#xff1a;docker\/Dockerfile<\/li>\n<li>\u5065\u5eb7\/\u72b6\u6001\u7aef\u70b9\u5b9e\u73b0&#xff1a;marimo\/_server\/api\/endpoints\/health.py<\/li>\n<li>CLI \u53c2\u6570\u5b9a\u4e49&#xff08;\u7aef\u53e3\u3001\u4e3b\u673a\u3001\u4ee4\u724c\u3001base-url&#xff09;&#xff1a;marimo\/_cli\/cli.py<\/li>\n<\/ul>\n<p>  <img loading=\"lazy\" decoding=\"async\" class=\"gcb-icon-like\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261011231659-6acc18eb6171d.svg\" alt=\"\" width=\"16\" height=\"16\" \/> <span class=\"gcb-like-text\">\u8d5e<\/span>  <\/p>\n<p>   <span class=\"gcb-share-text\">\u5206\u4eab<\/span>  <\/p>\n<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u6570\u636e\u79d1\u5b66<\/span><\/li>\n<li><span class=\"gcb-tag\">\u524d\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">\u540e\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">AI \u5e94\u7528<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011marimo<\/h3>\n<p class=\"gcb-project-desc\">A reactive notebook for Python \u2014 run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/GitHub_Trending\/ma\/marimo<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<h4 class=\"gcb-related-title\">\u76f8\u5173\u63a8\u8350<\/h4>\n<ul class=\"gcb-related-list\">\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">vscode-loc\u652f\u6301\u768414\u79cd\u8bed\u8a00\u5bf9\u6bd4&#xff1a;\u5b89\u88c5\u4e0e\u914d\u7f6e\u6307\u5357<\/h5>\n<p class=\"gcb-related-item-desc\">vscode loc\u652f\u6301\u768414\u79cd\u8bed\u8a00\u5bf9\u6bd4&#xff1a;\u5b89\u88c5\u4e0e\u914d\u7f6e\u6307\u5357 vscode loc\u4f5c\u4e3aVS Code\u7684\u672c\u5730\u5316\u6269\u5c55\u9879\u76ee&#xff0c;\u63d0\u4f9b\u4e8614\u79cd\u8bed\u8a00\u7684\u652f\u6301&#xff0c;\u5e2e\u52a9\u5168\u7403\u7528\u6237\u8f7b\u677e\u5c06\u7f16\u8f91<\/p>\n<\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">WebExtension Toolbox\u5f00\u53d1\u5b9e\u6218&#xff1a;Firefox\u6269\u5c55\u4ece\u5f00\u53d1\u5230\u53d1\u5e03\u7684\u5b8c\u6574\u6307\u5357<\/h5>\n<p class=\"gcb-related-item-desc\">WebExtension Toolbox\u5f00\u53d1\u5b9e\u6218&#xff1a;Firefox\u6269\u5c55\u4ece\u5f00\u53d1\u5230\u53d1\u5e03\u7684\u5b8c\u6574\u6307\u5357 WebExtension Toolbox\u662f\u4e00\u4e2a\u4e13\u4e3a\u8de8\u6d4f\u89c8\u5668WebEx<\/p>\n<\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">KubeEdge CSI \u6301\u4e45\u5316\u5b58\u50a8\u652f\u6301\u65b9\u6848&#xff1a;\u67b6\u6784\u3001\u90e8\u7f72\u4e0e\u5b9e\u6218\u6307\u5357<\/h5>\n<p class=\"gcb-related-item-desc\">KubeEdge CSI \u6301\u4e45\u5316\u5b58\u50a8\u652f\u6301\u65b9\u6848&#xff1a;\u67b6\u6784\u3001\u90e8\u7f72\u4e0e\u5b9e\u6218\u6307\u5357 \u672c\u7bc7\u6280\u672f\u6307\u5357\u56f4\u7ed5 KubeEdge \u4ed3\u5e93\u4e2d\u7684\u5b98\u65b9\u8bbe\u8ba1\u63d0\u6848 docs\/proposals\/si<\/p>\n<p>     <span class=\"gcb-tag\">\u4e91\u539f\u751f<\/span><br \/>\n     <span class=\"gcb-tag\">\u8fb9\u7f18\u8ba1\u7b97<\/span><br \/>\n     <span class=\"gcb-tag\">\u7269\u8054\u7f51<\/span><br \/>\n     <span class=\"gcb-tag\">\u5bb9\u5668\u7f16\u6392<\/span><br \/>\n     <span class=\"gcb-tag\">\u8fb9\u7f18\u7f51\u5173<\/span>\n      <\/li>\n<\/ul>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0a\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  Windows\u6027\u80fd\u4f18\u5316\u7ec8\u6781\u6307\u5357&#xff1a;AtlasOS\u8ba9\u4f60\u7684\u7535\u8111\u98de\u8d77\u6765 <\/p>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0b\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  themlbook\u9ad8\u65af\u6df7\u5408\u6a21\u578b\u89e3\u6790&#xff1a;EM\u7b97\u6cd5\u7684\u53ef\u89c6\u5316\u5b66\u4e60\u8fc7\u7a0b <\/p>\n<p>\u521b\u4f5c\u58f0\u660e\uff1a\u672c\u6587\u90e8\u5206\u5185\u5bb9\u7531AI\u8f85\u52a9\u751f\u6210\uff08AIGC\uff09\uff0c\u4ec5\u4f9b\u53c2\u8003<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u79d1\u5b66\u524d\u7aef\u540e\u7aefAI \u5e94\u7528 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011marimo A reactive notebook for Python \u2014 run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor. \u9879\u76ee\u5730\u5740&#xff1a; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-115442","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/115442.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6570\u636e\u79d1\u5b66\u524d\u7aef\u540e\u7aefAI \u5e94\u7528 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011marimo A reactive notebook for Python \u2014 run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor. \u9879\u76ee\u5730\u5740&#xff1a;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115442.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-11T23:17:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261011231659-6acc18eb6171d.svg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115442.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115442.html\",\"name\":\"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-11T23:17:00+00:00\",\"dateModified\":\"2026-10-11T23:17:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115442.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115442.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115442.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/115442.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6570\u636e\u79d1\u5b66\u524d\u7aef\u540e\u7aefAI \u5e94\u7528 \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011marimo A reactive notebook for Python \u2014 run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor. \u9879\u76ee\u5730\u5740&#xff1a;","og_url":"https:\/\/www.wsisp.com\/helps\/115442.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-11T23:17:00+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261011231659-6acc18eb6171d.svg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/115442.html","url":"https:\/\/www.wsisp.com\/helps\/115442.html","name":"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-11T23:17:00+00:00","dateModified":"2026-10-11T23:17:00+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115442.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115442.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115442.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528 Railway \u90e8\u7f72 marimo\uff1a\u5355\u5b9e\u4f8b\u7f16\u8f91\u670d\u52a1\u5668\u4e0e\u6301\u4e45\u5316\u5b58\u50a8\u5b9e\u6218\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=115442"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115442\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115442"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}