
{"id":10625,"date":"2026-07-03T20:52:02","date_gmt":"2026-07-03T11:52:02","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=10625"},"modified":"2026-07-03T20:52:04","modified_gmt":"2026-07-03T11:52:04","slug":"streamlit","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/streamlit\/","title":{"rendered":"Streamlit\u3068\u306f\uff1f\u7c21\u5358\u306bWeb\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u7279\u5fb4\u3084\u5c0e\u5165\u624b\u9806\u3092\u89e3\u8aac"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Python\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u5206\u6790\u3084\u6a5f\u68b0\u5b66\u7fd2\u3067\u306f\u3001\u5206\u6790\u7d50\u679c\u3092\u4ed6\u8005\u306b\u5171\u6709\u3057\u305f\u308a\u3001\u4f5c\u6210\u3057\u305fAI\u30e2\u30c7\u30eb\u3092Web\u30a2\u30d7\u30ea\u3068\u3057\u3066\u516c\u958b\u3057\u305f\u3044\u3068\u8003\u3048\u308b\u5834\u9762\u304c\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<br>\u3057\u304b\u3057\u3001\u901a\u5e38\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u306b\u306f HTML\u30fbCSS\u30fbJavaScript\u3084Web\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306a\u3069\u306e\u77e5\u8b58\u304c\u5fc5\u8981\u3068\u306a\u308a\u3001\u30c7\u30fc\u30bf\u5206\u6790\u304c\u5c02\u9580\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u306f\u5927\u304d\u306a\u30cf\u30fc\u30c9\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3046\u3057\u305f\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u767b\u5834\u3057\u305f\u306e\u304cStreamlit\u3067\u3059\u3002<br>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Streamlit\u306e\u6982\u8981\u3084\u7279\u5fb4\u3001\u5c0e\u5165\u65b9\u6cd5\u304b\u3089\u57fa\u672c\u7684\u306a\u753b\u9762\u4f5c\u6210\u307e\u3067\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Streamlit\u3068\u306f<\/h2>\n\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u958b\u767a\u30c4\u30fc\u30eb\u300cStreamlit\u300d\u306e\u6982\u8981<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306f\u3001Python\u3060\u3051\u3067\u624b\u8efd\u306bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u30fb\u516c\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<br>\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u3084\u6a5f\u68b0\u5b66\u7fd2\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u5206\u6790\u7d50\u679c\u3084AI\u30e2\u30c7\u30eb\u3092\u7c21\u5358\u306b\u5171\u6709\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u30012019\u5e74\u306b\u6b63\u5f0f\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<br>\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\u3084AI\u958b\u767a\u3068\u306e\u89aa\u548c\u6027\u304c\u975e\u5e38\u306b\u9ad8\u304f\u3001\u8fd1\u5e74\u3067\u306f\u30c7\u30fc\u30bf\u5206\u6790\u30c4\u30fc\u30eb\u3084\u696d\u52d9\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3001AI\u30c1\u30e3\u30c3\u30c8\u30a2\u30d7\u30ea\u3001\u793e\u5185\u5411\u3051\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306a\u3069\u5e45\u5e83\u3044\u5206\u91ce\u3067\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f93\u6765\u3001Python\u3067\u4f5c\u6210\u3057\u305f\u5206\u6790\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Web\u30a2\u30d7\u30ea\u3068\u3057\u3066\u516c\u958b\u3059\u308b\u306b\u306f\u3001Flask\u3084Django\u306a\u3069\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u52a0\u3048\u3001HTML\u30fbCSS\u30fbJavaScript\u3092\u7528\u3044\u305f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u3082\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br>\u3057\u304b\u3057\u3001Streamlit\u3067\u306f\u3053\u308c\u3089\u306eWeb\u6280\u8853\u3092\u307b\u3068\u3093\u3069\u610f\u8b58\u3059\u308b\u3053\u3068\u306a\u304f\u3001Python\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3051\u3067\u753b\u9762\u306e\u4f5c\u6210\u304b\u3089\u30c7\u30fc\u30bf\u8868\u793a\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53d7\u4ed8\u307e\u3067\u3092\u4e00\u8cab\u3057\u3066\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306f\u3001\u300cTurn data scripts into shareable web apps in minutes\uff08\u30c7\u30fc\u30bf\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6570\u5206\u3067\u5171\u6709\u53ef\u80fd\u306aWeb\u30a2\u30d7\u30ea\u3078\u5909\u63db\u3059\u308b\uff09\u300d\u3068\u3044\u3046\u30b3\u30f3\u30bb\u30d7\u30c8\u3092\u63b2\u3052\u3066\u304a\u308a\u3001\u305d\u306e\u30b3\u30f3\u30bb\u30d7\u30c8\u901a\u308a\u306b\u3001\u77ed\u6642\u9593\u3067\u5b9f\u7528\u7684\u306aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u3053\u3068\u304c\u5927\u304d\u306a\u7279\u5fb4\u3067\u3059\u3002<br>Python\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3067\u304d\u308b\u305f\u3081\u3001\u8907\u96d1\u306aWeb\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3084\u753b\u9762\u8a2d\u8a08\u3092\u884c\u308f\u305a\u306b\u958b\u767a\u3092\u59cb\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u7d99\u7d9a\u7684\u306b\u958b\u767a\u304c\u9032\u3081\u3089\u308c\u3066\u304a\u308a\u30012022\u5e74\u306bSnowflake\u306b\u8cb7\u53ce\u3055\u308c\u3066\u4ee5\u964d\u3001\u30c7\u30fc\u30bf\u30af\u30e9\u30a6\u30c9\u3068\u306e\u9023\u643a\u3084AI\u6a5f\u80fd\u306e\u5f37\u5316\u3082\u7a4d\u6975\u7684\u306b\u9032\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001\u5358\u306a\u308bPython\u5411\u3051GUI\u30c4\u30fc\u30eb\u3067\u306f\u306a\u304f\u3001\u30c7\u30fc\u30bf\u6d3b\u7528\u57fa\u76e4\u306e\u4e00\u90e8\u3068\u3057\u3066\u3082\u5229\u7528\u3067\u304d\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3078\u3068\u767a\u5c55\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_2\" class=\"wp-block-heading\">Streamlit\u306e\u4e3b\u306a\u7279\u5fb4<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u6700\u5927\u306e\u7279\u5fb4\u306f\u3001\u4e0a\u8ff0\u3057\u305f\u3088\u3046\u306b \u300cPython\u3060\u3051\u3067Web\u753b\u9762\u3092\u69cb\u7bc9\u3067\u304d\u308b\u300d \u3068\u3044\u3046\u30b7\u30f3\u30d7\u30eb\u306a\u958b\u767a\u30b9\u30bf\u30a4\u30eb\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u753b\u9762\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306bHTML\u3084CSS\u3001JavaScript\u3092\u8a18\u8ff0\u3057\u3001\u305d\u308c\u306b\u52a0\u3048\u3066Python\u3067\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u51e6\u7406\u3092\u9023\u643a\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4e00\u65b9\u3001Streamlit\u3067\u306f\u3001st.title()\u3084st.button()\u3001st.text_input()\u306a\u3069\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067\u753b\u9762\u4e0a\u306bUI\u304c\u751f\u6210\u3055\u308c\u308b\u305f\u3081\u3001Python\u3092\u66f8\u304f\u3060\u3051\u3067\u77ed\u6642\u9593\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u4ed6\u306b\u3082\u3001Streamlit\u306b\u306f\u958b\u767a\u52b9\u7387\u3092\u9ad8\u3081\u308b\u6a5f\u80fd\u304c\u8c4a\u5bcc\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u4fdd\u5b58\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u518d\u8aad\u307f\u8fbc\u307f\u3055\u308c\u308b\u30db\u30c3\u30c8\u30ea\u30ed\u30fc\u30c9\u6a5f\u80fd\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u63db\u3048\u308b\u305f\u3073\u306b\u624b\u52d5\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br>\u5909\u66f4\u5185\u5bb9\u3092\u3059\u3050\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u78ba\u8a8d\u3067\u304d\u308b\u305f\u3081\u3001\u8a66\u884c\u932f\u8aa4\u3092\u7e70\u308a\u8fd4\u3057\u306a\u304c\u3089UI\u3092\u8abf\u6574\u3057\u3084\u3059\u304f\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u306b\u3082\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u306b\u95a2\u3059\u308b\u6a5f\u80fd\u304c\u5145\u5b9f\u3057\u3066\u3044\u308b\u3053\u3068\u3082Streamlit\u306a\u3089\u3067\u306f\u306e\u5f37\u307f\u3067\u3059\u3002<br>DataFrame\u3092\u8868\u5f62\u5f0f\u3067\u8868\u793a\u3057\u305f\u308a\u3001\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3084\u68d2\u30b0\u30e9\u30d5\u3092\u8868\u793a\u3057\u305f\u308a\u306a\u3069\u3001\u5206\u6790\u3057\u305f\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u969b\u306b\u3082\u3001\u5bfe\u5fdc\u3059\u308b\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067\u7c21\u5358\u306b\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<br>\u3055\u3089\u306b\u3001Matplotlib\u3084Plotly\u3001Altair\u306a\u3069\u306e\u4ee3\u8868\u7684\u306a\u53ef\u8996\u5316\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3082\u7c21\u5358\u306b\u9023\u643a\u3067\u304d\u308b\u305f\u3081\u3001\u9ad8\u5ea6\u306a\u5206\u6790\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3082\u69cb\u7bc9\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u52a0\u3048\u3066\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u3084\u30bb\u30ec\u30af\u30c8\u30dc\u30c3\u30af\u30b9\u3001\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306a\u3069\u3001\u591a\u6570\u306e\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u304c\u6a19\u6e96\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>Streamlit\u304c\u72ec\u81ea\u306b\u63a1\u7528\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30dc\u30bf\u30f3\u3084\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u306a\u3069\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3073\u306b\u30a2\u30d7\u30ea\u5168\u4f53\u304c\u81ea\u52d5\u7684\u306b\u518d\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u72b6\u614b\u7ba1\u7406\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u3042\u308a\u3001\u4e00\u822c\u7684\u306aGUI\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3088\u308a\u3082\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u91cf\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3055\u3089\u306b\u3001\u8fd1\u5e74\u306f\u751f\u6210AI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u6a5f\u80fd\u3082\u5145\u5b9f\u3057\u3066\u304a\u308a\u3001\u30c1\u30e3\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3084\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u8868\u793a\u306a\u3069\u3082\u5bb9\u6613\u306b\u5b9f\u88c5\u3067\u304d\u308b\u6a5f\u80fd\u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001\u30c7\u30fc\u30bf\u5206\u6790\u3060\u3051\u3067\u306a\u304fAI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u3057\u3066\u63a1\u7528\u3055\u308c\u308b\u30b1\u30fc\u30b9\u3082\u5897\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_3\" class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u5206\u6790\u3084\u6a5f\u68b0\u5b66\u7fd2\u3068\u306e\u76f8\u6027\u306e\u826f\u3055<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306f\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\u5411\u3051\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001Python\u306e\u4ee3\u8868\u7684\u306a\u5206\u6790\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u975e\u5e38\u306b\u76f8\u6027\u304c\u826f\u3044\u70b9\u3082\u7279\u5fb4\u3067\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u96c6\u8a08\u3084\u52a0\u5de5\u306a\u3069\u3092\u884c\u306a\u3063\u305f\u30c7\u30fc\u30bf\u3092\u3001Streamlit\u3092\u4f7f\u7528\u3057\u3066\u8868\u3084\u30b0\u30e9\u30d5\u306b\u5909\u63db\u3057\u305f\u308a\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u3068\u3044\u3063\u305f\u4f7f\u3044\u65b9\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pandas<\/li>\n\n\n\n<li>NumPy<\/li>\n\n\n\n<li>Scikit-learn<\/li>\n\n\n\n<li>TensorFlow<\/li>\n\n\n\n<li>PyTorch<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd1\u5e74\u306f\u751f\u6210AI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3082\u5897\u3048\u3066\u304a\u308a\u3001LLM\u3084RAG\u3092\u5229\u7528\u3057\u305f\u30c1\u30e3\u30c3\u30c8\u30a2\u30d7\u30ea\u306eUI\u3068\u3057\u3066\u63a1\u7528\u3055\u308c\u308b\u30b1\u30fc\u30b9\u3082\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_4\" class=\"wp-block-heading\">\u306a\u305c\u591a\u304f\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u9078\u3070\u308c\u3066\u3044\u308b\u306e\u304b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u304c\u4eba\u6c17\u3092\u96c6\u3081\u308b\u4e3b\u306a\u7406\u7531\u306f\u3001\u300c\u958b\u767a\u901f\u5ea6\u300d\u3068\u300c\u5b66\u7fd2\u30b3\u30b9\u30c8\u306e\u4f4e\u3055\u300d\u306e\u30d0\u30e9\u30f3\u30b9\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f93\u6765\u3067\u3042\u308c\u3070Flask\u3084Django\u3068JavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3088\u3046\u306a\u30a2\u30d7\u30ea\u3067\u3082\u3001Streamlit\u306a\u3089Python\u306e\u307f\u3067\u77ed\u671f\u9593\u306b\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u5b9f\u969b\u306b\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3082 \u300c\u6570\u5206\u3067\u30c7\u30fc\u30bf\u30a2\u30d7\u30ea\u3092\u69cb\u7bc9\u30fb\u5171\u6709\u3067\u304d\u308b\u300d \u300cPython\u3060\u3051\u3067\u5b8c\u7d50\u3059\u308b\u300d \u70b9\u304c\u58f2\u308a\u3067\u3042\u308b\u3068\u3055\u308c\u3066\u304a\u308a\u3001Fortune 50\u4f01\u696d\u306e90%\u4ee5\u4e0a\u3067\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u5b9f\u7e3e\u3082\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7528\u9014\u3067\u306f\u975e\u5e38\u306b\u9ad8\u3044\u751f\u7523\u6027\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u793e\u5185\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u5206\u6790\u30c4\u30fc\u30eb<\/li>\n\n\n\n<li>AI\u30e2\u30c7\u30eb\u306e\u30c7\u30e2<\/li>\n\n\n\n<li>PoC\uff08\u6982\u5ff5\u5b9f\u8a3c\uff09<\/li>\n\n\n\n<li>\u696d\u52d9\u6539\u5584\u30c4\u30fc\u30eb<\/li>\n\n\n\n<li>\u30ec\u30dd\u30fc\u30c8\u95b2\u89a7\u30b7\u30b9\u30c6\u30e0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3067\u3001\u5927\u898f\u6a21\u306aEC\u30b5\u30a4\u30c8\u3084SNS\u306e\u3088\u3046\u306a\u8907\u96d1\u306aWeb\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u5c02\u7528\u306eWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u65b9\u304c\u9069\u3057\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308b\u305f\u3081\u3001\u7528\u9014\u306b\u5fdc\u3058\u305f\u4f7f\u3044\u5206\u3051\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Streamlit\u3092\u63a1\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">Streamlit\u3092\u5c0e\u5165\u3059\u308b\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u3092\u63a1\u7528\u3059\u308b\u4e3b\u306a\u30e1\u30ea\u30c3\u30c8\u3068\u3057\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u70b9\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python\u3060\u3051\u3067\u958b\u767a\u3067\u304d\u308b<\/li>\n\n\n\n<li>HTML\u30fbCSS\u30fbJavaScript\u306e\u77e5\u8b58\u304c\u307b\u3068\u3093\u3069\u4e0d\u8981<\/li>\n\n\n\n<li>\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u4f4e\u3044<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u5206\u6790\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u89aa\u548c\u6027\u304c\u9ad8\u3044<\/li>\n\n\n\n<li>\u30b0\u30e9\u30d5\u8868\u793a\u304c\u5bb9\u6613<\/li>\n\n\n\n<li>UI\u90e8\u54c1\u304c\u8c4a\u5bcc<\/li>\n\n\n\n<li>\u958b\u767a\u30b5\u30a4\u30af\u30eb\u304c\u901f\u3044<\/li>\n\n\n\n<li>Community Cloud\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u7c21\u5358\u306b\u5171\u6709\u30fb\u516c\u958b\u3067\u304d\u308b<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u306bPython\u306e\u77e5\u8b58\u3084\u74b0\u5883\u3092\u6301\u3063\u3066\u3044\u308b\u4eba\u3067\u3042\u308c\u3070\u3001\u65b0\u305f\u306a\u6280\u8853\u3092\u7fd2\u5f97\u3059\u308b\u5fc5\u8981\u304c\u307b\u3068\u3093\u3069\u306a\u304f\u3001\u5373\u5ea7\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u8907\u96d1\u306a\u30b5\u30fc\u30d0\u30fc\u8a2d\u5b9a\u3082\u5fc5\u8981\u306a\u304f\u3001\u6a19\u6e96\u642d\u8f09\u306e\u95a2\u6570\u3068\u72ec\u81ea\u63a1\u7528\u306e\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u6a5f\u80fd\u306b\u3088\u3063\u3066\u3001UI\u8868\u793a\u3084\u5404\u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406\u306a\u3069\u3082\u6570\u884c\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3060\u3051\u3067\u5b9f\u88c5\u3067\u304d\u308b\u305f\u3081\u3001\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u6c17\u8efd\u306b\u59cb\u3081\u3084\u3059\u3044\u306e\u304c\u5927\u304d\u306a\u5229\u70b9\u306e\uff11\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u305d\u306e\u4ed6\u306ePython\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u9ad8\u5ea6\u306a\u5206\u6790\u3084\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c8\u306e\u4f5c\u6210\u3082\u53ef\u80fd\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br>\u30c7\u30fc\u30bf\u5206\u6790\u3060\u3051\u3067\u306a\u304f\u3001AI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u306b\u5fc5\u8981\u306aUI\u306a\u3069\u304c\u63c3\u3048\u3089\u308c\u3066\u3044\u308b\u306e\u3082\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">Streamlit\u3092\u5229\u7528\u3059\u308b\u969b\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u3068\u6ce8\u610f\u70b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3067\u3001\u4ee5\u4e0b\u306e\u6ce8\u610f\u70b9\u3082\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7d30\u304b\u306aUI\u30c7\u30b6\u30a4\u30f3\u306e\u81ea\u7531\u5ea6\u306fReact\u306a\u3069\u3088\u308a\u4f4e\u3044<\/li>\n\n\n\n<li>\u5927\u898f\u6a21Web\u30b5\u30fc\u30d3\u30b9\u5411\u3051\u3067\u306f\u306a\u3044<\/li>\n\n\n\n<li>\u30b9\u30af\u30ea\u30d7\u30c8\u5168\u4f53\u304c\u518d\u5b9f\u884c\u3055\u308c\u308b\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n\n\n\n<li>\u91cd\u3044\u51e6\u7406\u3067\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u72b6\u614b\u7ba1\u7406\uff08Session State\uff09\u306e\u8a2d\u8a08\u304c\u91cd\u8981<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u3067\u306f\u8c4a\u5bcc\u306aUI\u304c\u6a19\u6e96\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30c7\u30b6\u30a4\u30f3\u306a\u3069\u306b\u306f\u3042\u308b\u7a0b\u5ea6\u306e\u5236\u9650\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u81ea\u7531\u5ea6\u3067\u306f\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u52a3\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br>\u307e\u305f\u3001\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3001\u5165\u529b\u3059\u308b\u3001\u30da\u30fc\u30b8\u3092\u958b\u304f\u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3059\u308b\u305f\u3073\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u304c\u5148\u982d\u304b\u3089\u518d\u5b9f\u884c\u3055\u308c\u308b\u4ed5\u7d44\u307f\u306e\u305f\u3081\u3001import\u306e\u6570\u3084\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u91cf\u304c\u591a\u3044\u5834\u5408\u306b\u753b\u9762\u306e\u52d5\u4f5c\u304c\u9045\u304f\u306a\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u5834\u5408\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u3066\u4e0d\u8981\u306a\u518d\u8a08\u7b97\u3092\u907f\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">Streamlit\u306e\u5c0e\u5165\u624b\u9806<\/h2>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">Streamlit\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>pip install streamlit<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306f\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u305f\u4e0a\u3067\u884c\u3046\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u4eee\u60f3\u74b0\u5883\u306e\u69cb\u7bc9\u3068\u30a2\u30af\u30c6\u30a3\u3079\u30fc\u30c8\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Python<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u4eee\u60f3\u74b0\u5883\u306e\u69cb\u7bc9\npython -m venv &#91;\u4eee\u60f3\u74b0\u5883\u540d&#93;\n\n# \u30a2\u30af\u30c6\u30a3\u3079\u30fc\u30c8 (macOS \/ Linux)\nsource &#91;\u4eee\u60f3\u74b0\u5883\u540d&#93;\/bin\/activate\n\n# \u30a2\u30af\u30c6\u30a3\u3079\u30fc\u30c8 (Windows)\n&#91;\u4eee\u60f3\u74b0\u5883\u540d&#93;\\Scripts\\activate<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u4eee\u60f3\u74b0\u5883\u306e\u69cb\u7bc9<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">python <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #EEFFFF\">m venv <\/span><span style=\"color: #89DDFF\">&#91;<\/span><span style=\"color: #EEFFFF\">\u4eee\u60f3\u74b0\u5883\u540d<\/span><span style=\"color: #89DDFF\">&#93;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u30a2\u30af\u30c6\u30a3\u3079\u30fc\u30c8 (macOS \/ Linux)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">source <\/span><span style=\"color: #89DDFF\">&#91;<\/span><span style=\"color: #EEFFFF\">\u4eee\u60f3\u74b0\u5883\u540d<\/span><span style=\"color: #89DDFF\">&#93;\/<\/span><span style=\"color: #82AAFF\">bin<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #EEFFFF\">activate<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u30a2\u30af\u30c6\u30a3\u3079\u30fc\u30c8 (Windows)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&#91;<\/span><span style=\"color: #EEFFFF\">\u4eee\u60f3\u74b0\u5883\u540d<\/span><span style=\"color: #89DDFF\">&#93;\\<\/span><span style=\"color: #EEFFFF\">Scripts\\activate<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Python<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>streamlit hello<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">streamlit hello<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit.webp\" class=\"post-img\" alt=\"\u8d77\u52d5\u753b\u9762\" loading=\"lazy\"><\/p>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">\u57fa\u672c\u7684\u306a\u8d77\u52d5\u65b9\u6cd5\u3068\u753b\u9762\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7121\u4e8b\u306b\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>Streamlit\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>import streamlit as st<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3068\u8a18\u8ff0\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30d6\u30e9\u30a6\u30b6\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>streamlit run [\u30d5\u30a1\u30a4\u30eb\u540d]<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u81ea\u52d5\u3067\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u3057\u3066\u30a2\u30d7\u30ea\u304c\u30d6\u30e9\u30a6\u30b6\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u30b3\u30fc\u30c9\u5185\u5bb9\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001\u4fdd\u5b58\u6642\u306b\u81ea\u52d5\u3067\u5909\u66f4\u304c\u691c\u77e5\u3055\u308c\u308b\u305f\u3081\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u76f4\u3059\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305f\u3060\u3057\u3001\u521d\u671f\u8a2d\u5b9a\u6642\u3067\u306f\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u30ea\u30ed\u30fc\u30c9\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u5909\u66f4\u5185\u5bb9\u3092\u81ea\u52d5\u3067\u53cd\u6620\u3055\u305b\u308b\u5834\u5408\u306f\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u753b\u9762\u53f3\u4e0a\u306e\uff13\u70b9\u30de\u30fc\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cAuto rerun\u300d \u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u305f\u3073\u306b\u30a2\u30d7\u30ea\u304c\u81ea\u52d5\u7684\u306b\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit_setting.webp\" class=\"post-img\" alt=\"\u8a2d\u5b9a\u753b\u9762\" loading=\"lazy\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a66\u3057\u306b\u3001\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u30d6\u30e9\u30a6\u30b6\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>import streamlit as st\n\nst.title(&quot;Hello Streamlit&quot;)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u3092\u4f5c\u6210\u3057\u3066\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30bf\u30a4\u30c8\u30eb\u304c\u8a18\u8f09\u3055\u308c\u305f\u753b\u9762\u304c\u81ea\u52d5\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit_title.webp\" class=\"post-img\" alt=\"\u30bf\u30a4\u30c8\u30eb\u753b\u9762\" loading=\"lazy\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306b\u3001\u57fa\u672c\u7684\u306b\u306f \u300c\u5bfe\u8c61\u306e\u30a2\u30d7\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u300d \u2192 \u300c\u30d6\u30e9\u30a6\u30b6\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u7de8\u96c6\u300d \u3068\u3044\u3063\u305f\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">Streamlit\u3092\u4f7f\u3063\u305f\u57fa\u672c\u7684\u306a\u753b\u9762\u69cb\u7bc9\u306e\u6d41\u308c<\/h2>\n\n\n\n<h3 id=\"outline__4_1\" class=\"wp-block-heading\">\u4e3b\u8981\u306a\u30d1\u30fc\u30c4\u306e\u914d\u7f6e\u65b9\u6cd5\uff08\u30c6\u30ad\u30b9\u30c8\u30fb\u30dc\u30bf\u30f3\u30fb\u5165\u529b\u30d5\u30a9\u30fc\u30e0\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306b\u306f\u6570\u591a\u304f\u306eUI\u30d1\u30fc\u30c4\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u57fa\u672c\u7684\u306a\u30d1\u30fc\u30c4\u3092\u629c\u7c8b\u3057\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u7c21\u5358\u306a\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3068\u30dc\u30bf\u30f3\u5b9f\u88c5\u306e\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>import streamlit as st\n\n# \u30bf\u30a4\u30c8\u30eb\nst.title(&quot;Hello Streamlit!&quot;)\n\n# \u5165\u529b\u30d5\u30a9\u30fc\u30e0\nname = st.text_input(&quot;\u3042\u306a\u305f\u306e\u540d\u524d\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044&quot;)\n\n# \u30dc\u30bf\u30f3\nif st.button(&quot;Done&quot;):\n\t# \u30c6\u30ad\u30b9\u30c8\u8868\u793a\n\tst.write(name, &quot;\u3055\u3093\u3001\u3088\u3046\u3053\u305d!&quot;)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit_form.webp\" class=\"post-img\" alt=\"\u30d5\u30a9\u30fc\u30e0\u4f5c\u6210\" loading=\"lazy\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306b\u3001\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067UI\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u3084\u305d\u306e\u4ed6\u306e\u30d1\u30fc\u30c4\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/docs.streamlit.io\/develop\/api-reference\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_2\" class=\"wp-block-heading\">\u30b0\u30e9\u30d5\u3084\u30c7\u30fc\u30bf\u306e\u30d3\u30b8\u30e5\u30a2\u30eb\u5316\u3068\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4f5c\u6210<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u3067\u306f\u3001DataFrame\u3092\u305d\u306e\u307e\u307e\u8868\u5f62\u5f0f\u3067\u8868\u793a\u3067\u304d\u308b\u307b\u304b\u3001st.line_chart\u3084st.bar_chart\u306a\u3069\u306eAPI\u3092\u5229\u7528\u3057\u3066\u30b0\u30e9\u30d5\u3092\u7c21\u5358\u306b\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306f\u3001\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>import streamlit as st\nimport pandas as pd\n\ndf = pd.DataFrame({\n    &#39;\u540d\u524d&#39;: [&#39;Alice&#39;, &#39;Bob&#39;, &#39;Charlie&#39;],\n    &#39;\u70b9\u6570&#39;: [75, 90, 58]\n})\n\n# \u30c6\u30fc\u30d6\u30eb\u63cf\u753b\nst.table(df)\n\ndf.set_index(&#39;\u540d\u524d&#39;, inplace=True)\n\n# \u6298\u308c\u7dda\u30b0\u30e9\u30d5\u63cf\u753b\nst.line_chart(df)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit_graph.webp\" class=\"post-img\" alt=\"\u30b0\u30e9\u30d5\u4f5c\u6210\" loading=\"lazy\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306b\u3001\u8868\u3084\u30b0\u30e9\u30d5\u306e\u4f5c\u6210\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u5b9f\u884c\u3067\u304d\u3001\u5206\u6790\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u91cf\u3067\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Streamlit\u306f\u3001HTML\u3084JavaScript\u306e\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001\u30c7\u30fc\u30bf\u5206\u6790\u3084\u6a5f\u68b0\u5b66\u7fd2\u306e\u6210\u679c\u3092\u8ab0\u3067\u3082\u5229\u7528\u3057\u3084\u3059\u3044Web\u30a2\u30d7\u30ea\u3068\u3057\u3066\u516c\u958b\u3067\u304d\u308b\u70b9\u304c\u5927\u304d\u306a\u9b45\u529b\u3067\u3059\u3002<br>\u8c4a\u5bcc\u306aUI\u90e8\u54c1\u3084\u30b0\u30e9\u30d5\u8868\u793a\u6a5f\u80fd\u3001\u5206\u6790\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9ad8\u3044\u89aa\u548c\u6027\u306b\u3088\u308a\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3084AI\u30c7\u30e2\u3001\u793e\u5185\u30c4\u30fc\u30eb\u306a\u3069\u3092\u77ed\u671f\u9593\u3067\u958b\u767a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3067\u3001\u5927\u898f\u6a21\u306aWeb\u30b5\u30fc\u30d3\u30b9\u306b\u306f\u5411\u304b\u306a\u3044\u5834\u9762\u3082\u3042\u308b\u305f\u3081\u3001\u7528\u9014\u306b\u5fdc\u3058\u305f\u9078\u629e\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u30c7\u30fc\u30bf\u5206\u6790\u3084AI\u958b\u767a\u306e\u6210\u679c\u3092\u7d20\u65e9\u304f\u5171\u6709\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001Streamlit\u306f\u975e\u5e38\u306b\u6709\u529b\u306a\u9078\u629e\u80a2\u3068\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"Streamlit\u3068\u306f\u3001Python\u306e\u30b3\u30fc\u30c9\u3060\u3051\u3067\u7c21\u5358\u306bWeb\u30a2\u30d7\u30ea\u3092\u4f5c\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002\u7279\u5fb4\u3084\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u52a0\u3048\u3001pip\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3084\u57fa\u672c\u7684\u306a\u753b\u9762\u306e\u4f5c\u308a\u65b9\u307e\u3067\u30b3\u30de\u30f3\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002","protected":false},"author":12,"featured_media":10628,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/streamlit_thumnail.webp","fifu_image_alt":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-10625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/10625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=10625"}],"version-history":[{"count":4,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/10625\/revisions"}],"predecessor-version":[{"id":10643,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/10625\/revisions\/10643"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/10628"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=10625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=10625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=10625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}