TypedInterpolation provides additional interpolations for the configparser module.
All the provided interpolations use ast.literal_eval() to convert strings to Python literal structures. Also, when setting an option, the value is automatically converted to a string.
Installing TypedInterpolation is simple with pip:
$ pip install typedinterpolation
or with easy_install:
$ easy_install requests