It's the best answer for your question:
https://docs.python.org/2/library/stdtypes.html#typesmapping
It's the simplest example of mapping: {}
If you want to create a custom mapping type, you may inherit it from base dict and overwrite __getitem__ magic method(it depends on your needs)