<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>Tips</anon>
    <anon>pickle</anon>
    <anon>データベース</anon>
  </categories>
  <description>データベースにpythonオブジェクトをinsertしておいて、必要になったときにselectして取り出せたら便利だよね。sqlite3のドキュメントを見ると、一応やり方自体は書いてある。12.6. sqlite3 — SQLite データベースに対する DB-API 2.0 インタフェース — Python 3.6.5 ドキュメント 要は、pythonのオブジェクトをデータベースに格納できる型に変換するために、適合関数というものを用意してくれと言っている。これを作るのはユーザー任せ。The Zen of Pythonの、たったひとつの冴えたやり方はどうした。 pythonでオブジェクトのシリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2017%2F02%2F25%2F184006&quot; title=&quot;【python】sqlite3に任意のpythonオブジェクトを突っ込む - 静かなる名辞&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>2017-02-25 18:40:06</published>
  <title>【python】sqlite3に任意のpythonオブジェクトを突っ込む</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2017/02/25/184006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
