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}