“The pickle module implements a fundamental, but powerful algorithm for serializing and de-serializing a Python object structure.” Pedit is an interactive editor for such data structures, making them handy on the command line. The code is work-in-progress but yet useful…
Here’s a sample:
# /tmp/foo.pickle - pedit
[
"foobar",
True,
1,
[
2,
3,
4,
{
"key": "value",
},
],
]
# eof.
