<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ueponx</author_name>
  <author_url>https://blog.hatena.ne.jp/ueponx/</author_url>
  <blog_title>uepon日々の備忘録</blog_title>
  <blog_url>https://uepon.hatenadiary.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>開発</anon>
    <anon>コンピュータ</anon>
  </categories>
  <description>先日、柴田さん（みんなのPython著者）のnote記事でargspecというPythonのCLIライブラリを知りました。 note.com みんなのPython 第5版作者:柴田 淳SBクリエイティブAmazon argparseの「引数を1つずつadd_argument()で追加する」という冗長さに対して、「型注釈で宣言的に書けばスッキリするよ」というライブラリなんですが…個人的には… 「宣言的って結局なにが生成されるかわからなくない？」 という疑問が出てきたので、実際にインストールして動かしながら検証してみました。 テスト環境 WSL（Ubuntu24.04 LTS） Python 3.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuepon.hatenadiary.com%2Fentry%2F2026%2F02%2F20%2F124810&quot; title=&quot;【Python】argspecとは？argparseと実コードで比較したら、宣言的の良さと注意点が見えてきた？ - uepon日々の備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/51XON5CHlxL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-20 12:48:10</published>
  <title>【Python】argspecとは？argparseと実コードで比較したら、宣言的の良さと注意点が見えてきた？</title>
  <type>rich</type>
  <url>https://uepon.hatenadiary.com/entry/2026/02/20/124810</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
