I am not sure what you want to do, but it seems like you want to start by seeing what it in dynamic.pickle. The following code will do that.
Create a file foo.py containing
Code:
import pickle
stuff = pickle.load(open('dynamic.pickle', 'rb'))
for k in sorted(stuff.keys()):
print '%s: %s'%(k, stuff[k])
Copy the dynamic.pickle file you want to examine to the same directory as xxx.py (or change the path in the code).
From a command line, run
Code:
calibre-debug -e foo.py
The content will be printed as key: value. Some of the values are binary, so will print strangely.
When I run it, the first few lines of the output are
Code:
BooksViewcolumn width map: {u'rating': 80, u'tags': 258, u'series': 120, u'title': 192, u'authors': 184, u'ondevice': 70, u'timestamp': 69}
BooksViewcolumn widths: (232, 195, 140, 87, 79, 237)
DeviceBooksViewcolumn width map: {}
DeviceBooksViewcolumn widths: (340, 102, 88, 69, 380)