5

I'm looking for a pickle (standard mechanism for object serialization in Python) file viewer for Windows 7. I'm aware that it's unlikely that a general viewer exists (i.e. that could open any pickle), but I missed interested in simple pickles containing lists or dictionaries. I know I can open it using Python, but I would prefer to have some GUI like Matlab for .mat files, or Spyder for NPY files:

enter image description here

  • Ah, I shall write one right now :) – Zizouz212 Aug 27 '15 at 2:07
  • Have you considered converting pickle data to XML (ex. picklingtools.com/html/xmldoc.html ) and then using an XML viewer? This may be an easier path to achieve what you want. – MichaelA Aug 27 '15 at 2:12
  • There is a GUI software for Pickle files. It's called PickleViewer It's in Devolopment and in coming updates it will have a visualizer for the pickle file. To the GitHub repo – Matix Sep 29 '19 at 15:14
3

Why not use an iPython/Jupyter notebook, you can:

  • Load any pickle file,
  • Interactively see what the data type(s) are,
  • Display slices of any arrays, dictionaries, etc.,
  • Plot graphs of any numeric data with pyplot,
  • Manipulate the data before display,
  • Save & Export the results, etc.
| improve this answer | |
  • 1
    That's not point and click. I sympathize with the question, because I make a lot of pkl files and usually forget what's in them and I don't want to do a lot of typing to unpack them, I'd rather just have point and click, like an XML editor. – Lars Ericson May 4 '19 at 18:28
2

On Github, there is a tool called PickleViewer. With this tool you can simply

  • Edit
  • Load
  • Save

Pickle files. It's free. In the program is a text editor, with which you can easily edit the files. There is also a treeview to view the structure of the file.

To the Repo

Download version 0.7.5

To the latest release

PickleViewer 0.7.2 Screenshot

PickleViewer Logo

| improve this answer | |
2

For this exact reason I decided to build a website to view files directly in your browser without uploading any of that info online:

https://pickleviewer.com

| improve this answer | |
  • 2
    nice, thanks for sharing! – Franck Dernoncourt Apr 5 at 13:40
  • Does that website do anything except asking for a file name? Nothing happens here – Thomas Weller Apr 5 at 21:44
  • @ThomasWeller hi, Thomas, doesn't work for all .pickle files. Basically, all files produced >= python 3.4 may cause failure to open, working on those atm. You can use python 3.3 or earlier with it for now., Feel free to contribute github.com/ch-hristov/Pickle-viewer – Christo Apr 6 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.