<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ShineSpark</author_name>
  <author_url>https://blog.hatena.ne.jp/ShineSpark/</author_url>
  <blog_title>人生シーケンスブレイク</blog_title>
  <blog_url>https://shinespark.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>ソースコード上に書いたままではマズい情報を退避させる手段 Pythonコード import yaml yaml_dict = yaml.load(open('secret.yaml').read()) user_name, password = yaml_dict['username'], yaml_dict['password'] yamlモジュールがなければ pip install pyyaml でインストールする。 yamlファイル username: '&lt;username&gt;' password: 'xxxxxxxx' また、他の人が利用しやすいようダミーデータを入れたsecret_or…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2015%2F10%2F02%2F021700&quot; title=&quot;Pythonでトークンやユーザー名やパスワードなどの秘匿情報をYAMLに退避させる - 人生シーケンスブレイク&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-10-02 02:17:00</published>
  <title>Pythonでトークンやユーザー名やパスワードなどの秘匿情報をYAMLに退避させる</title>
  <type>rich</type>
  <url>https://shinespark.hatenablog.com/entry/2015/10/02/021700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
