<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nullbyte</author_name>
  <author_url>https://blog.hatena.ne.jp/nullbyte/</author_url>
  <blog_title>0x00 nullbyte blog</blog_title>
  <blog_url>https://nullbyte.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>設定ファイルのフォーマット、というのは割と悩ましい問題である。 JSONはよく使われるし好きなのだけど、変数の置換ができない。 また、割とごちゃごちゃする。 YAMLはすっきりするがPythonの標準モジュールで使えないし、変数置換ができない。 Python標準のconfigparser (iniファイル) はシンプルでわかりやすく変数置換もできるのだが、なんかWindowsっぽいので気が向かない。 変数の置換やループなどのダイナミックな処理を設定ファイルで行うことには反対意見も多そうだが、 私はホスト名とかとにかくDRYに書きたい派なので、Pure Pythonで書かれたスクリプトを設定ファ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnullbyte.hatenablog.com%2Fentry%2F2015%2F12%2F11%2F005151&quot; title=&quot;Pure Pythonを設定ファイルとして使う - 0x00 nullbyte blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-12-11 00:51:51</published>
  <title>Pure Pythonを設定ファイルとして使う</title>
  <type>rich</type>
  <url>https://nullbyte.hatenablog.com/entry/2015/12/11/005151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
