<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Flask on プログラミング演習B</title>
    <link>https://ksupbpb.github.io/2025/tags/flask/</link>
    <description>Recent content in Flask on プログラミング演習B</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja</language>
    <copyright>© 2026 </copyright>
    <atom:link href="https://ksupbpb.github.io/2025/tags/flask/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Flask</title>
      <link>https://ksupbpb.github.io/2025/supplemental/webapp/flask/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/webapp/flask/</guid>
      <description>Flask は 小規模な Web アプリケーションを作るのに適している Python で人気のある Web フレームワークです．ここでは，Flask を用いて REST API を提供する Web アプリケーションを作成します．</description>
      
    </item>
    
    <item>
      <title>Flask&#43;Docker</title>
      <link>https://ksupbpb.github.io/2025/supplemental/webapp/flask_docker/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/webapp/flask_docker/</guid>
      <description>これまでの内容をまとめて，Flask を Docker コンテナ上で動かしてみます．</description>
      
    </item>
    
    <item>
      <title>応用 郵便番号検索 REST API</title>
      <link>https://ksupbpb.github.io/2025/supplemental/webapp/zipcode_flask_rest/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/webapp/zipcode_flask_rest/</guid>
      <description>これまでの内容の応用として，郵便番号を検索するサンプル REST アプリケーションを紹介します．</description>
      
    </item>
    
    <item>
      <title>補講02講 週次課題</title>
      <link>https://ksupbpb.github.io/2025/supplemental/webapp/assignments/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/webapp/assignments/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;補講02-1 平方根 REST API 
    &lt;div id=&#34;補講02-1-平方根-rest-api&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e8%a3%9c%e8%ac%9b02-1-%e5%b9%b3%e6%96%b9%e6%a0%b9-rest-api&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;

&lt;div class=&#34;flex mt-2&#34;&gt;
  &lt;span
    class=&#34;rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal&#34;&gt;
    &lt;span class=&#34;flex flex-row items-center&#34;&gt;
      
        &lt;span class=&#34;mr-1&#34;&gt;&lt;span class=&#34;relative block icon&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 384 512&#34;&gt;&lt;path fill=&#34;currentColor&#34; d=&#34;M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z&#34;/&gt;&lt;/svg&gt;
&lt;/span&gt;&lt;/span&gt;
      
      &lt;span&gt;難易度 :star:&lt;/span&gt;
    &lt;/span&gt;
  &lt;/span&gt;
&lt;/div&gt;

&lt;p&gt;パスパラメータで数値を受け取り，その平方根を返す REST API を作成してください．
&lt;code&gt;/sqrt/&amp;lt;num&amp;gt;&lt;/code&gt; で &lt;code&gt;num&lt;/code&gt; の平方根（&lt;code&gt;math.sqrt&lt;/code&gt;で求められます）を返します．
&lt;code&gt;num&lt;/code&gt; は &lt;code&gt;float&lt;/code&gt; 型で受け取ってください．
もし，&lt;code&gt;num&lt;/code&gt;が負の数の場合は，&lt;code&gt;400&lt;/code&gt; のステータスコードを返してください．&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
