以下の内容はhttps://tokibito.hatenablog.com/entry/20111002/1317486501より取得しました。


bpmappers0.5をリリースしました

bpmappers0.5をリリースしました。
http://pypi.python.org/pypi/bpmappers/
bpmappers ドキュメント - サイトは移転しました

主な変更点

ドット区切りの値の参照の記述に対応しました

test.py
# coding: utf-8
from bpmappers import Mapper, RawField

class HogeMapper(Mapper):
    hoge = RawField('hoge.piyo.fuga')

if __name__ == '__main__':
    print HogeMapper({'hoge': {'piyo': {'fuga': 123}}}).as_dict()
実行結果
$ python test.py
{'hoge': 123}



以上の内容はhttps://tokibito.hatenablog.com/entry/20111002/1317486501より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14